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

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

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

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

Public Member Functions

 LIndexSetVariable (std::string name)
 
virtual ~LIndexSetVariable ()=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::LIndexSetVariable< T >

Class LIndexSetVariable provides a SAMRAI::hier::Variable class corresponding to patch data of type LIndexSetData.

Constructor & Destructor Documentation

◆ LIndexSetVariable()

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

Create an LIndexSetVariable object with the specified name.

◆ ~LIndexSetVariable()

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

Virtual destructor for LIndexSetVariable objects.

Member Function Documentation

◆ dataLivesOnPatchBorder()

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

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

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

◆ fineBoundaryRepresentsVariable()

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

Return true so that the LIndexSet data quantities will always be treated as though fine values represent them on coarse-fine interfaces. Note that this is really artificial since the LIndexSet data index space matches the cell-centered index space for AMR patches. Thus, LIndexSet 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: