Chombo + EB  3.2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BilinearIF Class Reference

#include <BilinearIF.H>

Inheritance diagram for BilinearIF:
Inheritance graph
[legend]

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. More...
 
 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 BaseIFnewImplicitFunction () const
 
virtual LevelData< NodeFArrayBox > * getEtaCorner () const
 
virtual DisjointBoxLayoutgetGrid () const
 
virtual void getPolynomial (Vector< PolyTerm > &a_polynomial, IntVect &a_index)
 
- Public Member Functions inherited from BaseIF
 BaseIF ()
 Default constructor. More...
 
virtual ~BaseIF ()
 Default destructor. More...
 
virtual IndMomSpaceDim getExactVolumeMoments (const VolIndex &a_vof, const Real &a_dx) const
 return int x^p dV for the vof More...
 
virtual IndMomSpaceDim getExactEBMoments (const VolIndex &a_vof, const Real &a_dx) const
 return int_eb x^p dA for the eb More...
 
virtual IndMomSpaceDim getExactEBNormalMoments (const VolIndex &a_vof, const Real &a_dx, const int &a_ni) const
 return int_eb x^p n_i dA for the eb More...
 
virtual IndMomSpaceDim getExactEBNormalPartialDerivs (const VolIndex &a_vof, const Real &a_dx, const int &a_ni) const
 
virtual IndMomSDMinOne getExactFaceMoments (const FaceIndex &a_face, const Real &a_dx) const
 return int x^p dA for the face More...
 
virtual Real derivative (const IntVect &a_deriv, const RealVect &a_point) const
 return the partial derivative at the point More...
 
virtual Real value (const IntVect &a_deriv, const RealVect &a_point) const
 
virtual bool fastIntersection (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
 
virtual bool fastIntersection (const RealVect &a_low, const RealVect &a_high) const
 
virtual GeometryService::InOut InsideOutside (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
 
virtual GeometryService::InOut InsideOutside (const RealVect &a_low, const RealVect &a_high) const
 
virtual Real derivative (const IndexTM< int, GLOBALDIM > &a_deriv, const IndexTM< Real, GLOBALDIM > &a_point) const
 
virtual void print (ostream &out) const
 
virtual void makeGrids (const ProblemDomain &a_domain, DisjointBoxLayout &a_grids, const int &a_maxGridSize, const int &a_maxIrregGridSize)
 
virtual void boxLayoutChanged (const DisjointBoxLayout &a_newBoxLayout, const RealVect &a_dx)
 

Private Member Functions

 BilinearIF ()
 
void operator= (const BilinearIF &a_inputIF)
 

Private Attributes

LevelData< NodeFArrayBox > * m_etaCorner
 
IndexTM< Real, GLOBALDIMm_origin3D
 
IndexTM< Real, GLOBALDIMm_dx3D
 
DisjointBoxLayoutm_grids
 

Additional Inherited Members

- Static Public Member Functions inherited from BaseIF
static void corners (const Box &a_region, const RealVect &a_origin, const Real &a_dx, RealVect &a_lo, RealVect &a_hi)
 

Detailed Description

This implicit function specifies a general bilinear function.

Constructor & Destructor Documentation

◆ BilinearIF() [1/3]

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)

◆ ~BilinearIF()

virtual BilinearIF::~BilinearIF ( )
virtual

Destructor.

◆ BilinearIF() [2/3]

BilinearIF::BilinearIF ( const BilinearIF a_inputIF)

◆ BilinearIF() [3/3]

BilinearIF::BilinearIF ( )
inlineprivate

References MayDay::Abort().

Member Function Documentation

◆ findIndex()

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

◆ value() [1/3]

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.

◆ value() [2/3]

virtual Real BilinearIF::value ( const IndexTM< Real, GLOBALDIM > &  a_point) const
virtual

Return the value of the function at a_point (of type INdexTM).

Reimplemented from BaseIF.

◆ value() [3/3]

virtual Real BilinearIF::value ( const RealVect a_point) const
virtual

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.

◆ newImplicitFunction()

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.

◆ getEtaCorner()

virtual LevelData<NodeFArrayBox>* BilinearIF::getEtaCorner ( ) const
virtual

◆ getGrid()

virtual DisjointBoxLayout* BilinearIF::getGrid ( ) const
virtual

◆ getPolynomial()

virtual void BilinearIF::getPolynomial ( Vector< PolyTerm > &  a_polynomial,
IntVect a_index 
)
virtual

◆ operator=()

void BilinearIF::operator= ( const BilinearIF a_inputIF)
inlineprivate

References MayDay::Abort().

Member Data Documentation

◆ m_etaCorner

LevelData<NodeFArrayBox>* BilinearIF::m_etaCorner
private

◆ m_origin3D

IndexTM<Real,GLOBALDIM> BilinearIF::m_origin3D
private

◆ m_dx3D

IndexTM<Real,GLOBALDIM> BilinearIF::m_dx3D
private

◆ m_grids

DisjointBoxLayout* BilinearIF::m_grids
private

The documentation for this class was generated from the following file: