IBAMR  IBAMR version 0.19.
Classes | Public Member Functions | Protected Attributes | Friends | List of all members
IBTK::FEData Class Reference

#include <ibtk/FEDataManager.h>

Inheritance diagram for IBTK::FEData:
Inheritance graph
[legend]

Classes

class  SystemDofMapCache
 

Public Member Functions

 FEData (std::string object_name, libMesh::EquationSystems &equation_systems, const bool register_for_restart)
 
 ~FEData ()
 
virtual void getFromRestart ()
 
void putToDatabase (SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > db) override
 
void setEquationSystems (libMesh::EquationSystems *equation_systems, int level_number)
 Set the equations systems object that is associated with the FEData object. More...
 
libMesh::EquationSystems * getEquationSystems () const
 
SystemDofMapCachegetDofMapCache (const std::string &system_name)
 
SystemDofMapCachegetDofMapCache (unsigned int system_num)
 
void clearPatchHierarchyDependentData ()
 

Protected Attributes

std::string d_object_name
 
bool d_registered_for_restart
 
std::string d_coordinates_system_name = "coordinates system"
 
libMesh::EquationSystems * d_es = nullptr
 
QuadratureCache d_quadrature_cache
 
std::map< std::pair< unsigned int, libMesh::FEType >, std::unique_ptr< SystemDofMapCache > > d_system_dof_map_cache
 

Friends

class FEDataManager
 

Detailed Description

Class containing all of the finite element data structures that will be used by FEDataManager and IBFEMethod.

Constructor & Destructor Documentation

◆ FEData()

IBTK::FEData::FEData ( std::string  object_name,
libMesh::EquationSystems &  equation_systems,
const bool  register_for_restart 
)

Constructor. Registers the object with the restart database: i.e., inheriting classes should not also register themselves.

◆ ~FEData()

IBTK::FEData::~FEData ( )

Destructor.

Member Function Documentation

◆ getFromRestart()

virtual void IBTK::FEData::getFromRestart ( )
virtual

Set up the object with data stored in the restart database.

Note
this is called inside the constructor.

◆ putToDatabase()

void IBTK::FEData::putToDatabase ( SAMRAI::tbox::Pointer< SAMRAI::tbox::Database db)
overridevirtual

Write out object state to the given database.

When assertion checking is active, database pointer must be non-null.

Implements SAMRAI::tbox::Serializable.

◆ setEquationSystems()

void IBTK::FEData::setEquationSystems ( libMesh::EquationSystems *  equation_systems,
int  level_number 
)
Deprecated:
The equation systems object should be set by the constructor.

◆ getEquationSystems()

libMesh::EquationSystems* IBTK::FEData::getEquationSystems ( ) const
Returns
A pointer to the equations systems object that is associated with the FEData object.

◆ getDofMapCache() [1/2]

SystemDofMapCache* IBTK::FEData::getDofMapCache ( const std::string &  system_name)
Returns
The DofMapCache for a specified system.

◆ getDofMapCache() [2/2]

SystemDofMapCache* IBTK::FEData::getDofMapCache ( unsigned int  system_num)
Returns
The DofMapCache for a specified system.

◆ clearPatchHierarchyDependentData()

void IBTK::FEData::clearPatchHierarchyDependentData ( )

Clear all cached (i.e., computed at first request and then stored for future calls) data that depends on the Eulerian data partitioning.

Friends And Related Function Documentation

◆ FEDataManager

friend class FEDataManager
friend

Permit FEDataManager to directly examine the internals of this class.

Member Data Documentation

◆ d_object_name

std::string IBTK::FEData::d_object_name
protected

The object name is used as a handle to databases stored in restart files and for error reporting purposes. The boolean is used to control restart file writing operations.

◆ d_registered_for_restart

bool IBTK::FEData::d_registered_for_restart
protected

◆ d_coordinates_system_name

std::string IBTK::FEData::d_coordinates_system_name = "coordinates system"
protected

Name of the coordinates system.

Note
For backwards compatibility reasons this string may be reassigned to another value by assignment to FEDataManager::COORDINATES_SYSTEM_NAME.

◆ d_es

libMesh::EquationSystems* IBTK::FEData::d_es = nullptr
protected

FE equation system associated with this data manager object.

◆ d_quadrature_cache

QuadratureCache IBTK::FEData::d_quadrature_cache
protected

Cache of libMesh quadrature objects. Defaults to being an NDIM cache but is overwritten once a libMesh::EquationSystems object is attached.

◆ d_system_dof_map_cache

std::map<std::pair<unsigned int, libMesh::FEType>, std::unique_ptr<SystemDofMapCache> > IBTK::FEData::d_system_dof_map_cache
protected

Mapping between system numbers and SystemDofMapCache objects.


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