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 More... | |
int | numQuadNodes |
number of quadrature points More... | |
std::vector< double > | QuadNodes |
coordinates of quadrature nodes More... | |
std::vector< double > | QuadWeights |
weights of the quadrature scheme More... | |
std::vector< double > | S |
shape functions at quadrature nodes More... | |
std::vector< double > | dSdv |
derivative of the shape functions at quadrature nodes More... | |
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, and Type.
|
static |
References finley::NoShape.
Referenced by finley::ReferenceElement::ReferenceElement(), finley::ReferenceElementSet::ReferenceElementSet(), and ShapeFunction().
ShapeFunctionTypeId finley::ShapeFunction::getTypeId | ( | const char * | element_type | ) |
References finley::NoShape, and finley::ShapeFunctionInfo::TypeId.
std::vector<double> finley::ShapeFunction::dSdv |
derivative of the shape functions at quadrature nodes
Referenced by ShapeFunction().
int finley::ShapeFunction::numQuadNodes |
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 finley::Shape_Hex20(), finley::Shape_Hex27(), finley::Shape_Hex32(), finley::Shape_Hex8(), finley::Shape_Line2(), finley::Shape_Line3(), finley::Shape_Line4(), finley::Shape_Point1(), finley::Shape_Rec12(), finley::Shape_Rec16(), finley::Shape_Rec4(), finley::Shape_Rec8(), finley::Shape_Rec9(), finley::Shape_Tet10(), finley::Shape_Tet16(), finley::Shape_Tet4(), finley::Shape_Tri10(), finley::Shape_Tri3(), finley::Shape_Tri6(), finley::Shape_Tri9(), and ShapeFunction().
const ShapeFunctionInfo* finley::ShapeFunction::Type |
shape function information
Referenced by ShapeFunction().