Example #1
0
LinOp::LinOp (const BndryData& _bgb,
              const Real*      _h)
    :
    bgb(new BndryData(_bgb))
{
    initConstruct(_h);
}
Example #2
0
LinOp::LinOp (BndryData*  _bgb,
              const Real* _h)
    :
    bgb(_bgb)
{
    initConstruct(_h);
}
Example #3
0
MCLinOp::MCLinOp (const BndryData& _bgb,
		  const Real*      _h,
		  int              _nc)
    : numcomp(_nc), bgb(_bgb)
{
    BL_ASSERT (MCLinOp::bcComponentsNeeded(numcomp) == bgb.nComp());
    initConstruct(_h);
}
Example #4
0
LinOp::LinOp (const BndryData& _bgb,
              const Real       _h)
    :
    bgb(new BndryData(_bgb))
{
    Real __h[BL_SPACEDIM];
    for (int i = 0; i < BL_SPACEDIM; i++)
    {
        __h[i] = _h;
    }
    initConstruct(__h);
}
Example #5
0
MCLinOp::MCLinOp (const BndryData& _bgb,
		  const Real       _h,
		  int              _nc)
    : numcomp(_nc), bgb(_bgb)
{
    BL_ASSERT (MCLinOp::bcComponentsNeeded(numcomp) == bgb.nComp());
    Real _hh[BL_SPACEDIM];
    for (int i = 0; i < BL_SPACEDIM; i++)
    {
        _hh[i] = _h;
    }
    initConstruct(_hh);
}