escript  Revision_
Public Member Functions | Static Public Member Functions | Public Attributes
finley::ShapeFunction Struct Reference

this struct holds the evaluation of a shape function on a quadrature scheme More...

#include <ShapeFunctions.h>

List of all members.

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 ShapeFunctionInfogetInfo (ShapeFunctionTypeId id)

Public Attributes

const ShapeFunctionInfoType
 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

Detailed Description

this struct holds the evaluation of a shape function on a quadrature scheme


Constructor & Destructor Documentation

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.


Member Function Documentation

ShapeFunctionTypeId finley::ShapeFunction::getTypeId ( const char *  element_type)

Member Data Documentation

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().

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().


The documentation for this struct was generated from the following files: