escript
Revision_
|
this struct holds the evaluation of a shape function on a quadrature scheme More...
#include <ShapeFunctions.h>
Public Member Functions | |
ShapeFunction (ShapeFunctionTypeId id, int numQuadDim, int numQuadNodes, const std::vector< double > &QuadNodes, const std::vector< double > &QuadWeights) | |
ShapeFunctionTypeId | getTypeId (const char *) |
Static Public Member Functions | |
static const ShapeFunctionInfo * | getInfo (ShapeFunctionTypeId id) |
Public Attributes | |
const ShapeFunctionInfo * | Type |
shape function information | |
int | numQuadNodes |
number of quadrature points | |
std::vector< double > | QuadNodes |
coordinates of quadrature nodes | |
std::vector< double > | QuadWeights |
weights of the quadrature scheme | |
std::vector< double > | S |
shape functions at quadrature nodes | |
std::vector< double > | dSdv |
derivative of the shape functions at quadrature nodes |
this struct holds the evaluation of a shape function on a quadrature scheme
finley::ShapeFunction::ShapeFunction | ( | ShapeFunctionTypeId | id, |
int | numQDim, | ||
int | numQNodes, | ||
const std::vector< double > & | qNodes, | ||
const std::vector< double > & | qWeights | ||
) |
Creates an evaluation of the ShapeFunction on the given quadrature scheme. If QuadNodes==Null or QuadWeights==Null the shape functions method is used to generate a quadrature scheme with numQuadNodes nodes. Otherwise it is assumed that a quadrature scheme is given on this array and a copy is created within the structure.
References dSdv, getInfo(), finley::ShapeFunctionInfo::getValues, INDEX2, finley::ShapeFunctionInfo::numDim, numQuadNodes, finley::ShapeFunctionInfo::numShapes, QuadNodes, QuadWeights, S, finley::setError(), finley::ShapeFunction_InfoList, Type, and VALUE_ERROR.
const ShapeFunctionInfo * finley::ShapeFunction::getInfo | ( | ShapeFunctionTypeId | id | ) | [static] |
References finley::NoShape, finley::setError(), finley::ShapeFunction_InfoList, and VALUE_ERROR.
Referenced by finley::ReferenceElementSet::ReferenceElementSet(), and ShapeFunction().
ShapeFunctionTypeId finley::ShapeFunction::getTypeId | ( | const char * | element_type | ) |
References finley::NoShape, finley::ShapeFunction_InfoList, and finley::ShapeFunctionInfo::TypeId.
std::vector<double> finley::ShapeFunction::dSdv |
derivative of the shape functions at quadrature nodes
Referenced by ShapeFunction().
number of quadrature points
Referenced by ShapeFunction().
std::vector<double> finley::ShapeFunction::QuadNodes |
coordinates of quadrature nodes
Referenced by ShapeFunction().
std::vector<double> finley::ShapeFunction::QuadWeights |
weights of the quadrature scheme
Referenced by ShapeFunction().
std::vector<double> finley::ShapeFunction::S |
shape functions at quadrature nodes
Referenced by ShapeFunction().
shape function information
Referenced by ShapeFunction().