IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
Public Member Functions | List of all members
IBTK::LSetVariable< T > Class Template Reference

Class LSetVariable provides a SAMRAI::hier::Variable class corresponding to patch data of type LSetData. More...

#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/LSetVariable.h>

Inheritance diagram for IBTK::LSetVariable< T >:
Inheritance graph
[legend]

Public Member Functions

 LSetVariable (std::string name)
 
virtual ~LSetVariable ()=default
 
bool dataLivesOnPatchBorder () const override
 
bool fineBoundaryRepresentsVariable () const override
 
- Public Member Functions inherited from SAMRAI::hier::Variable< NDIM >
 Variable (const std::string &name, const tbox::Pointer< PatchDataFactory< NDIM > > factory)
 
int getInstanceIdentifier () const
 
const std::stringgetName () const
 
void setPatchDataFactory (tbox::Pointer< PatchDataFactory< NDIM > > factory)
 
tbox::Pointer< PatchDataFactory< NDIM > > getPatchDataFactory () const
 

Additional Inherited Members

- Static Public Member Functions inherited from SAMRAI::hier::Variable< NDIM >
static int getCurrentMaximumInstanceNumber ()
 

Detailed Description

template<class T>
class IBTK::LSetVariable< T >

Class LSetVariable provides a SAMRAI::hier::Variable class corresponding to patch data of type LSetData.

Constructor & Destructor Documentation

◆ LSetVariable()

template<class T >
IBTK::LSetVariable< T >::LSetVariable ( std::string  name)

Create an LSetVariable object with the specified name.

◆ ~LSetVariable()

template<class T >
virtual IBTK::LSetVariable< T >::~LSetVariable ( )
virtualdefault

Virtual destructor for LSetVariable objects.

Member Function Documentation

◆ dataLivesOnPatchBorder()

template<class T >
bool IBTK::LSetVariable< T >::dataLivesOnPatchBorder
overridevirtual

Return false since the LSet data index space matches the cell-centered index space for AMR patches. Thus, LSet data does not live on patch borders.

Implements SAMRAI::hier::Variable< NDIM >.

◆ fineBoundaryRepresentsVariable()

template<class T >
bool IBTK::LSetVariable< T >::fineBoundaryRepresentsVariable
overridevirtual

Return true so that the LSet data quantities will always be treated as though fine values represent them on coarse-fine interfaces. Note that this is really artificial since the LSet data index space matches the cell-centered index space for AMR patches. Thus, LSet data does not live on patch borders and so there is no ambiguity regarding coarse-fine interface values.

Implements SAMRAI::hier::Variable< NDIM >.


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