Geophysical Inversion and Modelling Library  v1.5.0
GIMLI::ShapeFunctionCache Class Reference
+ Inheritance diagram for GIMLI::ShapeFunctionCache:
+ Collaboration diagram for GIMLI::ShapeFunctionCache:

Public Member Functions

template<class Ent >
const std::vector< PolynomialFunction< double > > & shapeFunctions (const Ent &e) const
 
template<class Ent >
const std::vector< PolynomialFunction< double > > & deriveShapeFunctions (const Ent &e, uint dim) const
 
void clear ()
 
std::vector< RMatrix3 > & RMatrix3Cache ()
 
std::vector< RMatrix > & RMatrixCache (uint rtti)
 
RMatrix3cachedRMatrix3 (uint i)
 
RMatrixcachedRMatrix (uint rtti, uint i)
 

Protected Attributes

std::map< uint8, std::vector< PolynomialFunction< double > > > shapeFunctions_
 
std::map< uint8, std::vector< std::vector< PolynomialFunction< double > > > > dShapeFunctions_
 
std::vector< RMatrix3_rMatrix3Cache
 
std::map< uint, std::vector< RMatrix > > _rMatrixCache
 

Friends

class Singleton< ShapeFunctionCache >
 

Additional Inherited Members

- Static Public Member Functions inherited from GIMLI::Singleton< ShapeFunctionCache >
static ShapeFunctionCachepInstance ()
 
static ShapeFunctionCacheinstance ()
 
- Protected Member Functions inherited from GIMLI::Singleton< ShapeFunctionCache >
 Singleton ()
 
 Singleton (const Singleton &)
 

Member Function Documentation

◆ clear()

void GIMLI::ShapeFunctionCache::clear ( )
inline

Clear the cache.

Member Data Documentation

◆ dShapeFunctions_

std::map< uint8, std::vector< std::vector < PolynomialFunction < double > > > > GIMLI::ShapeFunctionCache::dShapeFunctions_
mutableprotected

Cache for shape functions derivatives.

◆ shapeFunctions_

std::map< uint8, std::vector < PolynomialFunction < double > > > GIMLI::ShapeFunctionCache::shapeFunctions_
mutableprotected

Cache for shape functions.