IFEM  90A354
Public Member Functions | Protected Member Functions | List of all members
ASMu2DLag::BasisFunctionCache Class Reference

Implementation of basis function cache. More...

Inheritance diagram for ASMu2DLag::BasisFunctionCache:
Inheritance graph
[legend]
Collaboration diagram for ASMu2DLag::BasisFunctionCache:
Collaboration graph
[legend]

Public Member Functions

 BasisFunctionCache (const ASMu2DLag &pch)
 The constructor forwards to the parent class constructor. More...
 
virtual ~BasisFunctionCache ()=default
 Empty destructor.
 
double getParam (int, size_t, size_t, bool) const override
 No integration point parameters for unstructured patches.
 
- Public Member Functions inherited from ASMs2DLag::BasisFunctionCache
 BasisFunctionCache (const ASMs2DLag &pch)
 The constructor initializes the class. More...
 
 BasisFunctionCache (const ASMs2D::BasisFunctionCache &cache, int b)
 Constructor reusing quadrature info from another instance. More...
 
- Public Member Functions inherited from ASMs2D::BasisFunctionCache
 BasisFunctionCache (const ASMs2D &pch)
 The constructor initializes the class. More...
 
 BasisFunctionCache (const BasisFunctionCache &cache, int b)
 Constructor reusing quadrature info from another instance. More...
 
const std::array< size_t, 2 > & noElms () const
 Returns number of elements in each direction.
 
- Public Member Functions inherited from BasisFunctionCache< 2 >
 BasisFunctionCache ()
 Default constructor.
 
 BasisFunctionCache (const BasisFunctionCache &rhs)
 Copy-constructor.
 
void clear ()
 Clears the basis function cache.
 
bool init (int nd)
 Initialize the basis function cache according to policy. More...
 
const BasisFunctionValsgetVals (size_t el, size_t gp, bool reduced=false)
 Obtain basis function values/derivatives in an integration point. More...
 
void setIntegrand (const Integrand *itg)
 Defines the integrand to be used. More...
 
const std::array< int, Dim > & nGauss (bool reduced=false)
 Returns number of integration points. More...
 
const std::array< const double *, Dim > & weight (bool reduced=false) const
 Return integration scheme weights. More...
 
const std::array< const double *, Dim > & coord (bool reduced=false) const
 Return integration scheme nodes. More...
 
bool hasReduced () const
 Returns whether or not a reduced quadrature is enabled.
 
void resizeThreadBuffers ()
 Called if application changes number of threads.
 

Protected Member Functions

void setupParameters () override
 No integration point parameters for unstructured patches.
 
- Protected Member Functions inherited from ASMs2DLag::BasisFunctionCache
bool internalInit () override
 Implementation specific initialization.
 
size_t index (size_t, size_t gp, bool) const override
 Obtain global integration point index. More...
 
BasisFunctionVals calculatePt (size_t, size_t gp, bool red) const override
 Calculates basis function info in a single integration point. More...
 
void calculateAll () override
 Calculates basis function info in all integration points.
 
- Protected Member Functions inherited from ASMs2D::BasisFunctionCache
bool setupQuadrature ()
 Configure quadratures.
 
- Protected Member Functions inherited from BasisFunctionCache< 2 >
std::array< size_t, Dim > gpIndex (size_t gp, bool reduced) const
 Obtain structured integration point indices. More...
 

Additional Inherited Members

- Public Attributes inherited from BasisFunctionCache< 2 >
int basis
 Basis to use.
 
- Protected Attributes inherited from ASMs2D::BasisFunctionCache
const ASMs2Dpatch
 Reference to patch cache is for.
 
std::array< size_t, 2 > nel {}
 Number of elements in each direction.
 
- Protected Attributes inherited from BasisFunctionCache< 2 >
std::vector< BasisFunctionValsvalues
 Cache for main quadrature.
 
std::vector< BasisFunctionValsvaluesRed
 Cache for reduced quadrature.
 
const Integrandintegrand
 Integrand to use.
 
int nderiv
 Number of derivatives.
 
std::shared_ptr< Quadrature > mainQ
 Main quadrature information.
 
std::shared_ptr< Quadrature > reducedQ
 Reduced quadrature information.
 
size_t nTotal
 Total number of main integration points.
 
size_t nTotalRed
 Total number of reduced integration points.
 

Detailed Description

Implementation of basis function cache.

Constructor & Destructor Documentation

◆ BasisFunctionCache()

ASMu2DLag::BasisFunctionCache::BasisFunctionCache ( const ASMu2DLag pch)
inline

The constructor forwards to the parent class constructor.

Parameters
pchPatch the cache is for

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