4-noded finite element class in 2D space for linear elasticity problem More...
#include <itkFEMElement2DC0LinearQuadrilateralStrain.h>
Public Types | |
enum | { DefaultIntegrationOrder = 2 } |
enum | { InvalidDegreeOfFreedomID = 0xffffffff } |
enum | { gaussMaxOrder = 10 } |
enum | |
enum | |
enum | |
typedef FEMPArray< Element > | ArrayType |
typedef Self | Baseclass |
typedef const Self * | ConstPointer |
typedef Superclass::DegreeOfFreedomIDType | DegreeOfFreedomIDType |
typedef Superclass::Float | Float |
typedef Superclass::LoadPointer | LoadPointer |
typedef Superclass::LoadType | LoadType |
typedef Superclass::MatrixType | MatrixType |
typedef Superclass::Node | Node |
typedef Superclass::NodeIDType | NodeIDType |
typedef Self * | Pointer |
typedef Element2DC0LinearQuadrilateralStrain | Self |
typedef Element2DStrain < Element2DC0LinearQuadrilateral > | Superclass |
typedef Superclass::VectorType | VectorType |
Public Member Functions | |
virtual int | ClassID () const |
virtual Baseclass::Pointer | Clone () const |
Element2DC0LinearQuadrilateralStrain () | |
Element2DC0LinearQuadrilateralStrain (NodeIDType n1_, NodeIDType n2_, NodeIDType n3_, NodeIDType n4_, Material::ConstPointer p_) | |
virtual Float | GetElementDeformationEnergy (MatrixType &LocalSolution) const |
virtual VectorType | GetGlobalFromLocalCoordinates (const VectorType &pt) const |
virtual void | GetIntegrationPointAndWeight (unsigned int i, VectorType &pt, Float &w, unsigned int order) const |
virtual void | GetLandmarkContributionMatrix (float eta, MatrixType &Le) const |
virtual void | GetLoadVector (LoadPointer l, VectorType &Fe) const =0 |
virtual bool | GetLocalFromGlobalCoordinates (const VectorType &globalPt, VectorType &localPt) const |
void | GetMassMatrix (MatrixType &Me) const |
virtual void | GetMaterialMatrix (MatrixType &D) const |
virtual NodeIDType | GetNode (unsigned int n) const |
virtual const VectorType & | GetNodeCoordinates (unsigned int n) const |
virtual unsigned int | GetNumberOfDegreesOfFreedom (void) const |
virtual unsigned int | GetNumberOfDegreesOfFreedomPerNode (void) const |
virtual unsigned int | GetNumberOfIntegrationPoints (unsigned int order) const |
virtual unsigned int | GetNumberOfNodes (void) const |
virtual unsigned int | GetNumberOfSpatialDimensions () const |
virtual void | GetStiffnessMatrix (MatrixType &Ke) const |
virtual void | GetStrainDisplacementMatrix (MatrixType &B, const MatrixType &shapeDgl) const |
virtual VectorType | GetStrainsAtPoint (const VectorType &pt, const Solution &sol, unsigned int index) const |
virtual VectorType | GetStressesAtPoint (const VectorType &pt, const VectorType &e, const Solution &sol, unsigned int index) const |
HANDLE_ELEMENT_LOADS () | |
virtual VectorType | InterpolateSolution (const VectorType &pt, const Solution &sol, unsigned int solutionIndex=0) const |
virtual Float | InterpolateSolutionN (const VectorType &pt, const Solution &sol, unsigned int f, unsigned int solutionIndex=0) const |
virtual void | Jacobian (const VectorType &pt, MatrixType &J, const MatrixType *pshapeD=0) const |
virtual Float | JacobianDeterminant (const VectorType &pt, const MatrixType *pJ=0) const |
virtual void | JacobianInverse (const VectorType &pt, MatrixType &invJ, const MatrixType *pJ=0) const |
virtual void | Read (std::istream &, void *info) |
virtual void | SetNode (unsigned int n, NodeIDType node) |
virtual void | ShapeFunctionDerivatives (const VectorType &pt, MatrixType &shapeD) const |
virtual void | ShapeFunctionGlobalDerivatives (const VectorType &pt, MatrixType &shapeDgl, const MatrixType *pJ=0, const MatrixType *pshapeD=0) const |
virtual VectorType | ShapeFunctions (const VectorType &pt) const |
virtual void | Write (std::ostream &f) const |
DegreeOfFreedomIDType | GetDegreeOfFreedom (unsigned int local_dof) const |
Static Public Member Functions | |
static FEMLightObject::Pointer | CreateFromStream (std::istream &f, void *info) |
static Self::Pointer | New () |
static void | SkipWhiteSpace (std::istream &f) |
Public Attributes | |
int | GN |
Static Public Attributes | |
static const int | CLID |
static const Float | gaussPoint [gaussMaxOrder+1][gaussMaxOrder] |
static const Float | gaussWeight [gaussMaxOrder+1][gaussMaxOrder] |
static const std::string | whitespaces |
Protected Attributes | |
NodeIDType | m_node [NumberOfNodes] |
| |
virtual Material::ConstPointer | GetMaterial (void) const |
virtual void | SetMaterial (Material::ConstPointer mat_) |
MaterialLinearElasticity::ConstPointer | m_mat |
4-noded finite element class in 2D space for linear elasticity problem
Definition at line 31 of file itkFEMElement2DC0LinearQuadrilateralStrain.h.
typedef FEMPArray<Element> itk::fem::Element::ArrayType [inherited] |
Array class that holds special pointers to the Element objects
Definition at line 88 of file itkFEMElementBase.h.
typedef Self itk::fem::FEMLightObject::Baseclass [inherited] |
Store the base class typedef for easy access from derived classes. FEM_CLASS macro also expects this for the FEMOF...
Definition at line 64 of file itkFEMLightObject.h.
typedef const Self* itk::fem::Element2DC0LinearQuadrilateralStrain::ConstPointer |
Const pointer or SmartPointer to an object.
Reimplemented from itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >.
Definition at line 33 of file itkFEMElement2DC0LinearQuadrilateralStrain.h.
typedef Superclass::DegreeOfFreedomIDType itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::DegreeOfFreedomIDType [inherited] |
Reimplemented from itk::fem::Element.
Definition at line 67 of file itkFEMElementStd.h.
typedef Superclass::Float itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::Float [inherited] |
Reimplemented from itk::fem::ElementStd< 4, 2 >.
Definition at line 48 of file itkFEMElement2DStrain.h.
typedef Superclass::LoadPointer itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::LoadPointer [inherited] |
Reimplemented from itk::fem::Element.
Definition at line 65 of file itkFEMElementStd.h.
typedef Superclass::LoadType itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::LoadType [inherited] |
Reimplemented from itk::fem::Element.
Definition at line 64 of file itkFEMElementStd.h.
typedef Superclass::MatrixType itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::MatrixType [inherited] |
Reimplemented from itk::fem::ElementStd< 4, 2 >.
Definition at line 49 of file itkFEMElement2DStrain.h.
typedef Superclass::Node itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::Node [inherited] |
Definition at line 68 of file itkFEMElementStd.h.
typedef Superclass::NodeIDType itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::NodeIDType [inherited] |
Reimplemented from itk::fem::Element.
Definition at line 66 of file itkFEMElementStd.h.
Pointer or SmartPointer to an object.
Reimplemented from itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >.
Definition at line 33 of file itkFEMElement2DC0LinearQuadrilateralStrain.h.
Standard Self typedef.
Reimplemented from itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >.
Definition at line 33 of file itkFEMElement2DC0LinearQuadrilateralStrain.h.
typedef Element2DStrain<Element2DC0LinearQuadrilateral> itk::fem::Element2DC0LinearQuadrilateralStrain::Superclass |
Standard Superclass typedef.
Reimplemented from itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >.
Definition at line 33 of file itkFEMElement2DC0LinearQuadrilateralStrain.h.
typedef Superclass::VectorType itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::VectorType [inherited] |
Reimplemented from itk::fem::ElementStd< 4, 2 >.
Definition at line 50 of file itkFEMElement2DStrain.h.
anonymous enum [inherited] |
Methods related to numeric integration
Definition at line 41 of file itkFEMElement2DC0LinearQuadrilateral.h.
anonymous enum [inherited] |
Constant that represents an invalid DegreeOfFreedomID object. If a degree of freedom is assigned this value, this means that that no specific value was (yet) assigned to this DOF.
Definition at line 125 of file itkFEMElementBase.h.
anonymous enum [inherited] |
Maximum supported order of 1D Gauss-Legendre integration. Integration points are defined for orders from 1 to gaussMaxOrder. Number of integration points is equal to the order of integration rule.
Definition at line 473 of file itkFEMElementBase.h.
anonymous enum [inherited] |
Definition at line 69 of file itkFEMElementStd.h.
anonymous enum [inherited] |
Number of nodes that define the element.
Definition at line 74 of file itkFEMElementStd.h.
anonymous enum [inherited] |
Number of dimensions of space in which element can exist.
Definition at line 79 of file itkFEMElementStd.h.
itk::fem::Element2DC0LinearQuadrilateralStrain::Element2DC0LinearQuadrilateralStrain | ( | ) |
Default constructor only clears the internal storage
itk::fem::Element2DC0LinearQuadrilateralStrain::Element2DC0LinearQuadrilateralStrain | ( | NodeIDType | n1_, | |
NodeIDType | n2_, | |||
NodeIDType | n3_, | |||
NodeIDType | n4_, | |||
Material::ConstPointer | p_ | |||
) |
Construct an element by specifying pointers to 4 points and a material.
virtual int itk::fem::Element2DC0LinearQuadrilateralStrain::ClassID | ( | ) | const [inline, virtual] |
Virtual function to access the class ID
Implements itk::fem::FEMLightObject.
Definition at line 33 of file itkFEMElement2DC0LinearQuadrilateralStrain.h.
virtual Baseclass::Pointer itk::fem::Element2DC0LinearQuadrilateralStrain::Clone | ( | ) | const [virtual] |
Create a new object from the existing one
Implements itk::fem::FEMLightObject.
static FEMLightObject::Pointer itk::fem::FEMLightObject::CreateFromStream | ( | std::istream & | f, | |
void * | info | |||
) | [static, inherited] |
Read object of any derived type from stream.
This static function creates an object of a class, which is derived from FEMLightObject. The class of object is first determined from the stream, then the object of that class is constructed using the FEMObjectFactory. Finally the data for this object is read from the stream, by calling the Read() member function.
DegreeOfFreedomIDType itk::fem::Element::GetDegreeOfFreedom | ( | unsigned int | local_dof | ) | const [inline, inherited] |
Convenient way to access IDs of degrees of freedom that are stored in node objects.
local_dof | Local number of degree of freedom within an element. |
Definition at line 389 of file itkFEMElementBase.h.
References itk::fem::Element::Node::GetDegreeOfFreedom(), itk::fem::Element::GetNode(), itk::fem::Element::GetNumberOfDegreesOfFreedom(), and itk::fem::Element::GetNumberOfDegreesOfFreedomPerNode().
virtual Float itk::fem::Element::GetElementDeformationEnergy | ( | MatrixType & | LocalSolution | ) | const [virtual, inherited] |
Compute the physical energy, U, of the deformation (e.g. stress / strain ).
T U = u Ke u
The matrix LocalSolution contains the solution to use in the energy computation. Usually, this is the solution at the nodes.
virtual VectorType itk::fem::Element::GetGlobalFromLocalCoordinates | ( | const VectorType & | pt | ) | const [virtual, inherited] |
Transforms the given local element coordinates into global.
pt | Point in local element coordinates. |
virtual void itk::fem::Element2DC0LinearQuadrilateral::GetIntegrationPointAndWeight | ( | unsigned int | i, | |
VectorType & | pt, | |||
Float & | w, | |||
unsigned int | order | |||
) | const [virtual, inherited] |
Methods related to numeric integration Computes the vector representing the i-th integration point in local element coordinates for a Gauss-Legendre numerical integration over the element domain. It also computes the weight at this integration point.
Optionally you can also specify the order of integration. If order is not specified, it defaults to 0, which means that the derived element should use the optimal integration order specific for that element.
i | Integration point number 0<=i<GetNumberOfIntegrationPoints() | |
pt | Reference to object of class VectorType that will hold the integration point. | |
w | Reference to Float variable that will hold the weight. | |
order | Order of integration. |
Implements itk::fem::Element.
virtual void itk::fem::Element::GetLandmarkContributionMatrix | ( | float | eta, | |
MatrixType & | Le | |||
) | const [virtual, inherited] |
Compute and return landmark contribution to element stiffness matrix (Le) in global coordinate system.
b T int (1/eta)^2 N(x) N(x) dx a
where (eta ) is the landmark weight. Implementation is similar to GetMassMatrix.
virtual void itk::fem::Element::GetLoadVector | ( | LoadPointer | l, | |
VectorType & | Fe | |||
) | const [pure virtual, inherited] |
Compute and return the element load vector for a given external load. The class of load object determines the type of load acting on the elemnent. Basically this is the contribution of this element on the right side of the master matrix equation, due to the specified load. Returned vector includes only nodal forces that correspond to the given Load object.
Visitor design pattern is used in the loads implementation. This function only selects and calls the proper function based on the given class of load object. The code that performs the actual conversion to the corresponding nodal loads is defined elswhere.
For example on how to define specific element load, see funtion LoadImplementationPoint_Bar2D.
l | Pointer to a load object. | |
Fe | Reference to vector object that will store nodal forces. |
virtual bool itk::fem::Element2DC0LinearQuadrilateral::GetLocalFromGlobalCoordinates | ( | const VectorType & | globalPt, | |
VectorType & | localPt | |||
) | const [virtual, inherited] |
Transforms the given global element coordinates into local. Returns false if the point is outside.
globalPt | Reference to vector containing a point in global (world) coordinates. | |
localPt | Reference to the vector that will store the local coordinate. |
Implements itk::fem::Element.
void itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::GetMassMatrix | ( | MatrixType & | Me | ) | const [virtual, inherited] |
Compute the mass matrix specific for 2D strain problems.
Reimplemented from itk::fem::Element.
virtual Material::ConstPointer itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::GetMaterial | ( | void | ) | const [inline, virtual, inherited] |
Pointer to material properties of the element
Reimplemented from itk::fem::Element.
Definition at line 100 of file itkFEMElement2DStrain.h.
virtual void itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::GetMaterialMatrix | ( | MatrixType & | D | ) | const [virtual, inherited] |
Compute the D matrix.
Implements itk::fem::Element.
virtual NodeIDType itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::GetNode | ( | unsigned int | n | ) | const [inline, virtual, inherited] |
Implements itk::fem::Element.
Definition at line 93 of file itkFEMElementStd.h.
References itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, TBaseClass >::m_node, and itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, TBaseClass >::NumberOfNodes.
virtual const VectorType& itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::GetNodeCoordinates | ( | unsigned int | n | ) | const [inline, virtual, inherited] |
Implements itk::fem::Element.
Definition at line 111 of file itkFEMElementStd.h.
References itk::fem::Element::Node::GetCoordinates(), and itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, TBaseClass >::m_node.
virtual unsigned int itk::fem::Element::GetNumberOfDegreesOfFreedom | ( | void | ) | const [inline, virtual, inherited] |
Return the total number of degrees of freedom defined in a derived element class. By default this is equal to number of points in a cell multiplied by number of degrees of freedom at each point.
Definition at line 650 of file itkFEMElementBase.h.
References itk::fem::Element::GetNumberOfDegreesOfFreedomPerNode(), and itk::fem::Element::GetNumberOfNodes().
Referenced by itk::fem::Element::GetDegreeOfFreedom().
virtual unsigned int itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::GetNumberOfDegreesOfFreedomPerNode | ( | void | ) | const [inline, virtual, inherited] |
2D strain elements have 2 DOFs per node.
Implements itk::fem::Element.
Definition at line 91 of file itkFEMElement2DStrain.h.
virtual unsigned int itk::fem::Element2DC0LinearQuadrilateral::GetNumberOfIntegrationPoints | ( | unsigned int | order | ) | const [virtual, inherited] |
Returns total number of integration points, for given order of Gauss-Legendre numerical integration rule.
Implements itk::fem::Element.
virtual unsigned int itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::GetNumberOfNodes | ( | void | ) | const [inline, virtual, inherited] |
Methods that define the geometry of an element
Implements itk::fem::Element.
Definition at line 90 of file itkFEMElementStd.h.
virtual unsigned int itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::GetNumberOfSpatialDimensions | ( | ) | const [inline, virtual, inherited] |
Implements itk::fem::Element.
Definition at line 116 of file itkFEMElementStd.h.
virtual void itk::fem::Element::GetStiffnessMatrix | ( | MatrixType & | Ke | ) | const [virtual, inherited] |
Compute and return element stiffnes matrix (Ke) in global coordinate system. The base class provides a general implementation which only computes
b T int B(x) D B(x) dx a
using the Gaussian numeric integration method. The function calls GetIntegrationPointAndWeight() / GetNumberOfIntegrationPoints() to obtain the integration points. It also calls the GetStrainDisplacementMatrix() and GetMaterialMatrix() member functions.
Ke | Reference to the resulting stiffnes matrix. |
Reimplemented in itk::fem::Element2DC1Beam, and itk::fem::Element1DStress< Element2DC0LinearLine >.
virtual void itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::GetStrainDisplacementMatrix | ( | MatrixType & | B, | |
const MatrixType & | shapeDgl | |||
) | const [virtual, inherited] |
Methods related to the physics of the problem. Compute the B matrix.
Implements itk::fem::Element.
virtual VectorType itk::fem::Element::GetStrainsAtPoint | ( | const VectorType & | pt, | |
const Solution & | sol, | |||
unsigned int | index | |||
) | const [virtual, inherited] |
virtual VectorType itk::fem::Element::GetStressesAtPoint | ( | const VectorType & | pt, | |
const VectorType & | e, | |||
const Solution & | sol, | |||
unsigned int | index | |||
) | const [virtual, inherited] |
itk::fem::Element2DC0LinearQuadrilateralStrain::HANDLE_ELEMENT_LOADS | ( | ) |
virtual VectorType itk::fem::Element::InterpolateSolution | ( | const VectorType & | pt, | |
const Solution & | sol, | |||
unsigned int | solutionIndex = 0 | |||
) | const [virtual, inherited] |
Return interpolated value of all unknown functions at given local point.
pt | Point in local element coordinates. | |
sol | Reference to the master solution object. This object is created by the Solver object when the whole FEM problem is solved and contains the values of unknown functions at nodes (degrees of freedom). | |
solutionIndex | We allow more than one solution vector to be stored - this selects which to use in interpolation. |
virtual Float itk::fem::Element::InterpolateSolutionN | ( | const VectorType & | pt, | |
const Solution & | sol, | |||
unsigned int | f, | |||
unsigned int | solutionIndex = 0 | |||
) | const [virtual, inherited] |
Return interpolated value of f-th unknown function at given local point.
pt | Point in local element coordinates. | |
sol | Reference to the master solution object. This object is created by the Solver object when the whole FEM problem is solved and contains the values of unknown functions at nodes (degrees of freedom). | |
f | Number of unknown function to interpolate. Must be 0 <= f < GetNumberOfDegreesOfFreedomPerNode(). | |
solutionIndex | We allow more than one solution vector to be stored - this selects which to use in interpolation. |
virtual void itk::fem::Element::Jacobian | ( | const VectorType & | pt, | |
MatrixType & | J, | |||
const MatrixType * | pshapeD = 0 | |||
) | const [virtual, inherited] |
Compute the Jacobian matrix of the transformation from local to global coordinates at a given local point.
A column in this matrix corresponds to a global coordinate, while a row corresponds to different local coordinates. E.g. element at row 2, col 3 contains derivative of the third global coordinate with respect to local coordinate number 2.
In order to compute the Jacobian, we normally need the shape function derivatives. If they are known, you should pass a pointer to an object of MatrixType that contains the shape function derivatives. If they are not known, pass null pointer and they will be computed automatically.
pt | Point in local coordinates | |
J | referece to matrix object, which will contain the jacobian | |
pshapeD | A pointer to derivatives of shape functions at point pt. If this pointer is 0, derivatives will be computed as necessary. |
Reimplemented in itk::fem::Element2DC0LinearLine.
virtual Float itk::fem::Element::JacobianDeterminant | ( | const VectorType & | pt, | |
const MatrixType * | pJ = 0 | |||
) | const [virtual, inherited] |
Compute the determinant of the Jacobian matrix at a given point with respect to the local coordinate system.
pt | Point in local element coordinates. | |
pJ | Optional pointer to Jacobian matrix computed at point pt. If this is set to 0, the Jacobian will be computed as necessary. |
Reimplemented in itk::fem::Element2DC0LinearTriangular, itk::fem::Element2DC0QuadraticTriangular, and itk::fem::Element2DC1Beam.
virtual void itk::fem::Element::JacobianInverse | ( | const VectorType & | pt, | |
MatrixType & | invJ, | |||
const MatrixType * | pJ = 0 | |||
) | const [virtual, inherited] |
Compute the inverse of the Jacobian matrix at a given point with respect to the local coordinate system.
pt | Point in local element coordinates. | |
invJ | Reference to the object of MatrixType that will store the computed inverse if Jacobian. | |
pJ | Optional pointer to Jacobian matrix computed at point pt. If this is set to 0, the Jacobian will be computed as necessary. |
Reimplemented in itk::fem::Element2DC0LinearTriangular, and itk::fem::Element2DC0QuadraticTriangular.
static Self::Pointer itk::fem::Element2DC0LinearQuadrilateralStrain::New | ( | void | ) | [inline, static] |
Object creation in an itk compatible way
Definition at line 33 of file itkFEMElement2DC0LinearQuadrilateralStrain.h.
virtual void itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::Read | ( | std::istream & | , | |
void * | info | |||
) | [virtual, inherited] |
Read data for this class from input stream
Reimplemented from itk::fem::ElementStd< 4, 2 >.
virtual void itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::SetMaterial | ( | Material::ConstPointer | mat_ | ) | [inline, virtual, inherited] |
Pointer to material properties of the element
Reimplemented from itk::fem::Element.
Definition at line 101 of file itkFEMElement2DStrain.h.
virtual void itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::SetNode | ( | unsigned int | n, | |
NodeIDType | node | |||
) | [inline, virtual, inherited] |
Implements itk::fem::Element.
Definition at line 102 of file itkFEMElementStd.h.
References itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, TBaseClass >::m_node, and itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, TBaseClass >::NumberOfNodes.
virtual void itk::fem::Element2DC0LinearQuadrilateral::ShapeFunctionDerivatives | ( | const VectorType & | pt, | |
MatrixType & | shapeD | |||
) | const [virtual, inherited] |
Compute the matrix of values of the shape functions derivatives with respect to local coordinates of this element at a given point.
A column in this matrix corresponds to a specific shape function, while a row corresponds to different local coordinates. E.g. element at row 2, col 3 contains derivative of shape function number 3 with respect to local coordinate number 2.
pt | Point in local element coordinates. | |
shapeD | Reference to a matrix object, which will be filled with values of shape function derivatives. |
Implements itk::fem::Element.
virtual void itk::fem::Element::ShapeFunctionGlobalDerivatives | ( | const VectorType & | pt, | |
MatrixType & | shapeDgl, | |||
const MatrixType * | pJ = 0 , |
|||
const MatrixType * | pshapeD = 0 | |||
) | const [virtual, inherited] |
Compute matrix of shape function derivatives with respect to global coordinates.
A column in this matrix corresponds to a specific shape function, while a row corresponds to different global coordinates.
pt | Point in local element coordinates. | |
shapeDgl | Reference to a matrix object, which will be filled with values of shape function derivatives w.r.t. global (world) element coordinates. | |
pJ | Optional pointer to Jacobian matrix computed at point pt. If this is set to 0, the Jacobian will be computed as necessary. | |
pshapeD | A pointer to derivatives of shape functions at point pt. If this pointer is 0, derivatives will be computed as necessary. |
virtual VectorType itk::fem::Element2DC0LinearQuadrilateral::ShapeFunctions | ( | const VectorType & | pt | ) | const [virtual, inherited] |
Methods related to the geometry of an element
Implements itk::fem::Element.
static void itk::fem::FEMLightObject::SkipWhiteSpace | ( | std::istream & | f | ) | [static, inherited] |
Helper function that skips all the whitespace and comments in an input stream.
virtual void itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::Write | ( | std::ostream & | f | ) | const [virtual, inherited] |
Write this class to output stream
Reimplemented from itk::fem::ElementStd< 4, 2 >.
const int itk::fem::Element2DC0LinearQuadrilateralStrain::CLID [static] |
Class ID for FEM object factory
Definition at line 33 of file itkFEMElement2DC0LinearQuadrilateralStrain.h.
const Float itk::fem::Element::gaussPoint[gaussMaxOrder+1][gaussMaxOrder] [static, inherited] |
Points for 1D Gauss-Legendre integration from -1 to 1. First index is order of integration, second index is the number of integration point.
Example: gaussPoint[4][2] returns third point of the 4th order integration rule. Subarray gaussPoint[0][...] does not provide useful information. It is there only to keep order index correct.
Definition at line 486 of file itkFEMElementBase.h.
const Float itk::fem::Element::gaussWeight[gaussMaxOrder+1][gaussMaxOrder] [static, inherited] |
Weights for Gauss-Legendre integration.
Definition at line 493 of file itkFEMElementBase.h.
int itk::fem::FEMLightObject::GN [inherited] |
Global number of an object (ID of an object) In general the ID's are required to be unique only within a specific type of derived classes (Elements, Nodes, ...) If the GN is not required, it can be ignored. (normally you need the GN when writing or reading objects to/from stream.
Definition at line 165 of file itkFEMLightObject.h.
Referenced by itk::fem::FEMLightObject::FEMLightObject().
MaterialLinearElasticity::ConstPointer itk::fem::Element2DStrain< Element2DC0LinearQuadrilateral >::m_mat [inherited] |
Pointer to material properties of the element
Definition at line 99 of file itkFEMElement2DStrain.h.
NodeIDType itk::fem::ElementStd< VNumberOfNodes, VNumberOfSpatialDimensions, Element >::m_node[NumberOfNodes] [protected, inherited] |
Array of pointers to point objects that define the element
Definition at line 141 of file itkFEMElementStd.h.
const std::string itk::fem::FEMLightObject::whitespaces [static, inherited] |
Const string of all whitespace characters. This string is used by SkipWhiteSpace function.
Definition at line 135 of file itkFEMLightObject.h.