|
| | BasisFunctionCache (const ASMu3D &pch, bool useBezier=true) |
| | The constructor initializes the class.
|
| |
| | BasisFunctionCache (const BasisFunctionCache &cache, int b) |
| | Constructor reusing quadrature info from another instance.
|
| |
| virtual | ~BasisFunctionCache ()=default |
| | Empty destructor.
|
| |
|
| 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.
|
| |
| const BasisFunctionVals & | getVals (size_t el, size_t gp, bool reduced=false) |
| | Obtain basis function values/derivatives in an integration point.
|
| |
| void | setIntegrand (const Integrand *itg) |
| | Defines the integrand to be used.
|
| |
| const std::array< int, Dim > & | nGauss (bool reduced=false) |
| | Returns number of integration points.
|
| |
| const std::array< const double *, Dim > & | weight (bool reduced=false) const |
| | Return integration scheme weights.
|
| |
| const std::array< const double *, Dim > & | coord (bool reduced=false) const |
| | Return integration scheme nodes.
|
| |
|
bool | hasReduced () const |
| | Returns whether or not a reduced quadrature is enabled.
|
| |
| virtual double | getParam (int dir, size_t el, size_t gp, bool reduced=false) const |
| | Obtain a single integration point parameter.
|
| |
|
void | resizeThreadBuffers () |
| | Called if application changes number of threads.
|
| |
|
| bool | internalInit () override |
| | Implementation specific initialization.
|
| |
| BasisFunctionVals | calculatePt (size_t el, size_t gp, bool reduced) const override |
| | Calculates basis function info in a single integration point.
|
| |
| BasisFunctionVals | calculatePrm (FiniteElement &fe, const std::array< double, 3 > &du, size_t el, size_t gp, bool reduced) const |
| | Calculates basis function info in a single integration point.
|
| |
| void | calculateAll () override |
| | Calculates basis function info in all integration points.
|
| |
| virtual size_t | index (size_t el, size_t gp, bool reduced) const |
| | Obtain global integration point index.
|
| |
| std::array< size_t, Dim > | gpIndex (size_t gp, bool reduced) const |
| | Obtain structured integration point indices.
|
| |
|
|
bool | bezierEnabled |
| | True to enable Bezier extraction.
|
| |
|
BezierExtract | mainB |
| | Bezier extraction for main basis.
|
| |
|
BezierExtract | reducedB |
| | Bezier extraction for reduced basis.
|
| |
|
const ASMu3D & | patch |
| | Reference to patch cache is for.
|
| |
|
std::vector< BasisFunctionVals > | values |
| | Cache for main quadrature.
|
| |
|
std::vector< BasisFunctionVals > | valuesRed |
| | Cache for reduced quadrature.
|
| |
|
const Integrand * | integrand |
| | 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.
|
| |
Implementation of basis function cache.