#include <itkFEMElementStd.h>
Inheritance diagram for itk::fem::ElementStd:
Public Types | |
typedef ElementStd | Self |
typedef TBaseClass | Superclass |
typedef Self * | Pointer |
typedef const Self * | ConstPointer |
typedef Superclass::Float | Float |
typedef Superclass::MatrixType | MatrixType |
typedef Superclass::VectorType | VectorType |
typedef Superclass::LoadType | LoadType |
typedef Superclass::LoadPointer | LoadPointer |
typedef Superclass::NodeIDType | NodeIDType |
typedef Superclass::DegreeOfFreedomIDType | DegreeOfFreedomIDType |
typedef Superclass::Node | Node |
enum | { NumberOfNodes = VNumberOfNodes } |
enum | { NumberOfSpatialDimensions = VNumberOfSpatialDimensions } |
Public Methods | |
ElementStd () | |
virtual unsigned int | GetNumberOfNodes (void) const |
virtual NodeIDType | GetNode (unsigned int n) const |
virtual void | SetNode (unsigned int n, NodeIDType node) |
virtual const VectorType & | GetNodeCoordinates (unsigned int n) const |
virtual unsigned int | GetNumberOfSpatialDimensions () const |
virtual void | Read (std::istream &, void *info) |
virtual void | Write (std::ostream &f) const |
Public Attributes | |
enum | InvalidDegreeOfFreedomID = Superclass::InvalidDegreeOfFreedomID } |
Protected Attributes | |
NodeIDType | m_node [NumberOfNodes] |
This is a templated helper class that automatically defines some of the virtual functions in elements. It is used to avoid code duplication.
If a derived element class has DOFs associated only with points that define the geometry of the element, you can derive from this class to automatically create all the functions required for proper node management.
You must specify three or four template parameters:
VNumberOfNodes - Number of nodes that define the element (e.g. four for quadrilateral)
VNumberOfSpatialDimensions - Number of dimensions of space in which the element is defined. This is also the size of a vector returned by GetNodeCoordinates() member funtion.
TBaseClass - Class from which ElementStd is derived. TBaseClass must be derived from the Element base class. This enables you to use this class at any level of element definition. If not specified, it defaults to the Element class.
Definition at line 56 of file itkFEMElementStd.h.
|
|
Definition at line 70 of file itkFEMElementStd.h. |
|
|
Definition at line 68 of file itkFEMElementStd.h. |
|
Definition at line 67 of file itkFEMElementStd.h. |
|
|
Definition at line 71 of file itkFEMElementStd.h. |
|
Definition at line 69 of file itkFEMElementStd.h. Referenced by itk::fem::ElementStd< 4, 2 >::GetNode(), and itk::fem::ElementStd< 4, 2 >::SetNode(). |
|
|
|
|
|
Number of nodes that define the element. Definition at line 77 of file itkFEMElementStd.h. |
|
Number of dimensions of space in which element can exist. Definition at line 82 of file itkFEMElementStd.h. |
|
Default constructor just clears the ivars |
|
Definition at line 101 of file itkFEMElementStd.h. |
|
Definition at line 116 of file itkFEMElementStd.h. |
|
Definition at line 98 of file itkFEMElementStd.h. |
|
Definition at line 121 of file itkFEMElementStd.h. |
|
|
Definition at line 110 of file itkFEMElementStd.h. |
|
|
Definition at line 72 of file itkFEMElementStd.h. |
|
Array of pointers to point objects that define the element Definition at line 152 of file itkFEMElementStd.h. Referenced by itk::fem::ElementStd< 4, 2 >::GetNode(), itk::fem::ElementStd< 4, 2 >::GetNodeCoordinates(), and itk::fem::ElementStd< 4, 2 >::SetNode(). |