#include <BilinearIF.H>
Public Member Functions | |
BilinearIF (LevelData< NodeFArrayBox > *a_etaCorner, const IndexTM< Real, GLOBALDIM > &a_origin3D, const IndexTM< Real, GLOBALDIM > &a_dx3D, DisjointBoxLayout *a_grids) | |
virtual | ~BilinearIF () |
Destructor. | |
BilinearIF (const BilinearIF &a_inputIF) | |
virtual void | findIndex (const IndexTM< Real, GLOBALDIM > &a_point, IntVect &a_index) const |
virtual Real | value (const IndexTM< int, GLOBALDIM > &a_partialDerivative, const IndexTM< Real, GLOBALDIM > &a_point) const |
virtual Real | value (const IndexTM< Real, GLOBALDIM > &a_point) const |
virtual Real | value (const RealVect &a_point) const |
virtual BaseIF * | newImplicitFunction () const |
virtual LevelData < NodeFArrayBox > * | getEtaCorner () const |
virtual DisjointBoxLayout * | getGrid () const |
virtual void | getPolynomial (Vector< PolyTerm > &a_polynomial, IntVect &a_index) |
Private Member Functions | |
BilinearIF () | |
void | operator= (const BilinearIF &a_inputIF) |
Private Attributes | |
LevelData< NodeFArrayBox > * | m_etaCorner |
IndexTM< Real, GLOBALDIM > | m_origin3D |
IndexTM< Real, GLOBALDIM > | m_dx3D |
DisjointBoxLayout * | m_grids |
BilinearIF::BilinearIF | ( | LevelData< NodeFArrayBox > * | a_etaCorner, | |
const IndexTM< Real, GLOBALDIM > & | a_origin3D, | |||
const IndexTM< Real, GLOBALDIM > & | a_dx3D, | |||
DisjointBoxLayout * | a_grids | |||
) |
Constructor specifying the value to interpolate with a bilinear function (a_etaCorner) and the properties of the grid (a_origin and a_dx)
virtual BilinearIF::~BilinearIF | ( | ) | [virtual] |
Destructor.
BilinearIF::BilinearIF | ( | const BilinearIF & | a_inputIF | ) |
BilinearIF::BilinearIF | ( | ) | [inline, private] |
References MayDay::Abort().
virtual void BilinearIF::findIndex | ( | const IndexTM< Real, GLOBALDIM > & | a_point, | |
IntVect & | a_index | |||
) | const [virtual] |
Put the grid index of the lower left node of the box which contain a_point in a_index
virtual Real BilinearIF::value | ( | const IndexTM< int, GLOBALDIM > & | a_partialDerivative, | |
const IndexTM< Real, GLOBALDIM > & | a_point | |||
) | const [virtual] |
Return the value of the derivative at a_point.
Reimplemented from BaseIF.
Return the value of the function at a_point (of type INdexTM).
Reimplemented from BaseIF.
Return the value of the function at a_point. When delineating a domain, the level set value=0 represents the boundary and value<0 is inside the fluid.
Implements BaseIF.
virtual BaseIF* BilinearIF::newImplicitFunction | ( | ) | const [virtual] |
Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.
Implements BaseIF.
virtual LevelData<NodeFArrayBox>* BilinearIF::getEtaCorner | ( | ) | const [virtual] |
virtual DisjointBoxLayout* BilinearIF::getGrid | ( | ) | const [virtual] |
virtual void BilinearIF::getPolynomial | ( | Vector< PolyTerm > & | a_polynomial, | |
IntVect & | a_index | |||
) | [virtual] |
void BilinearIF::operator= | ( | const BilinearIF & | a_inputIF | ) | [inline, private] |
References MayDay::Abort().
LevelData<NodeFArrayBox>* BilinearIF::m_etaCorner [private] |
IndexTM<Real,GLOBALDIM> BilinearIF::m_origin3D [private] |
IndexTM<Real,GLOBALDIM> BilinearIF::m_dx3D [private] |
DisjointBoxLayout* BilinearIF::m_grids [private] |