ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkFEMElement2DC0LinearLine.h>
Public Types | |
enum | { DefaultIntegrationOrder = 1 } |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Element2DC0LinearLine | Self |
typedef TemplatedParentClass | Superclass |
typedef ElementStd< 2, 2 > | TemplatedParentClass |
Public Types inherited from itk::fem::ElementStd< 2, 2 > | |
enum | |
enum | |
enum | |
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 Superclass::VectorType | VectorType |
Public Types inherited from itk::fem::Element | |
enum | { InvalidDegreeOfFreedomID = 0xffffffff } |
enum | { gaussMaxOrder = 10 } |
typedef FEMPArray< Element > | ArrayType |
typedef VectorContainer < ElementIdentifier, Element::Pointer > | ArrayType1 |
typedef unsigned long | ElementIdentifier |
Public Types inherited from itk::fem::FEMLightObject | |
typedef Self | Baseclass |
Public Types inherited from itk::LightObject |
Public Member Functions | |
Float | DistanceToLine (const VectorType &x, const VectorType &p1, const VectorType &p2, Float &t, VectorType &closestPoint) const |
virtual void | GetIntegrationPointAndWeight (unsigned int i, VectorType &pt, Float &w, unsigned int order) const |
virtual bool | GetLocalFromGlobalCoordinates (const VectorType &globalPt, VectorType &localPt) const |
virtual const char * | GetNameOfClass () const |
virtual unsigned int | GetNumberOfIntegrationPoints (unsigned int order) const |
virtual void | Jacobian (const VectorType &pt, MatrixType &J, const MatrixType *pshapeD=0) const |
virtual void | ShapeFunctionDerivatives (const VectorType &pt, MatrixType &shapeD) const |
virtual VectorType | ShapeFunctions (const VectorType &pt) const |
Public Member Functions inherited from itk::fem::ElementStd< 2, 2 > | |
ElementStd () | |
virtual NodeIDType | GetNode (unsigned int n) const |
virtual const VectorType & | GetNodeCoordinates (unsigned int n) const |
virtual unsigned int | GetNumberOfNodes (void) const |
virtual unsigned int | GetNumberOfSpatialDimensions () const |
virtual void | SetNode (unsigned int n, NodeIDType node) |
virtual void | SetNode (unsigned int n, typename Superclass::Node::Pointer node) |
Public Member Functions inherited from itk::fem::Element | |
virtual std::vector < std::vector< int > > | GetEdgeIds (void) const |
virtual Float | GetElementDeformationEnergy (MatrixType &LocalSolution) const |
virtual VectorType | GetGlobalFromLocalCoordinates (const VectorType &pt) const |
virtual void | GetLandmarkContributionMatrix (float eta, MatrixType &Le) const |
virtual void | GetMassMatrix (MatrixType &Me) const |
virtual Material::ConstPointer | GetMaterial (void) const |
virtual void | GetMaterialMatrix (MatrixType &D) const =0 |
virtual unsigned int | GetNumberOfDegreesOfFreedom (void) const |
virtual unsigned int | GetNumberOfDegreesOfFreedomPerNode (void) const =0 |
virtual void | GetStiffnessMatrix (MatrixType &Ke) const |
virtual void | GetStrainDisplacementMatrix (MatrixType &B, const MatrixType &shapeDgl) const =0 |
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 |
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 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 | SetMaterial (Material::ConstPointer) |
virtual void | ShapeFunctionGlobalDerivatives (const VectorType &pt, MatrixType &shapeDgl, const MatrixType *pJ=0, const MatrixType *pshapeD=0) const |
DegreeOfFreedomIDType | GetDegreeOfFreedom (unsigned int local_dof) const |
Public Member Functions inherited from itk::fem::FEMLightObject | |
int | GetGlobalNumber () const |
void | SetGlobalNumber (int) |
Public Member Functions inherited from itk::LightObject | |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Protected Member Functions | |
virtual void | PopulateEdgeIds (void) |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Member Functions inherited from itk::fem::ElementStd< 2, 2 > | |
virtual void | SetNodeInternal (unsigned int n, const Node *node) |
Additional Inherited Members | |
Protected Attributes inherited from itk::fem::ElementStd< 2, 2 > | |
const Node * | m_node [NumberOfNodes] |
Protected Attributes inherited from itk::fem::Element | |
std::vector< std::vector< int > > | m_EdgeIds |
Protected Attributes inherited from itk::fem::FEMLightObject | |
int | m_GlobalNumber |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
2-noded, linear, C0 continuous line element in 2D space. takes loads only along the length of the axis
Definition at line 34 of file itkFEMElement2DC0LinearLine.h.
typedef SmartPointer<const Self> itk::fem::Element2DC0LinearLine::ConstPointer |
Reimplemented from itk::fem::ElementStd< 2, 2 >.
Reimplemented in itk::fem::Element1DStress< Element2DC0LinearLine >, and itk::fem::Element2DC0LinearLineStress.
Definition at line 43 of file itkFEMElement2DC0LinearLine.h.
Reimplemented from itk::fem::ElementStd< 2, 2 >.
Reimplemented in itk::fem::Element1DStress< Element2DC0LinearLine >, and itk::fem::Element2DC0LinearLineStress.
Definition at line 42 of file itkFEMElement2DC0LinearLine.h.
Standard class typedefs.
Reimplemented from itk::fem::ElementStd< 2, 2 >.
Reimplemented in itk::fem::Element1DStress< Element2DC0LinearLine >, and itk::fem::Element2DC0LinearLineStress.
Definition at line 39 of file itkFEMElement2DC0LinearLine.h.
Reimplemented from itk::fem::ElementStd< 2, 2 >.
Reimplemented in itk::fem::Element1DStress< Element2DC0LinearLine >, and itk::fem::Element2DC0LinearLineStress.
Definition at line 41 of file itkFEMElement2DC0LinearLine.h.
Definition at line 40 of file itkFEMElement2DC0LinearLine.h.
anonymous enum |
Methods related to numeric integration
Definition at line 53 of file itkFEMElement2DC0LinearLine.h.
Float itk::fem::Element2DC0LinearLine::DistanceToLine | ( | const VectorType & | x, |
const VectorType & | p1, | ||
const VectorType & | p2, | ||
Float & | t, | ||
VectorType & | closestPoint | ||
) | const |
Distance of a point to a line.(Used in GetLocalFromGlobalCoordinates ).
|
virtual |
Get the Integration point and weight
Implements itk::fem::Element.
|
virtual |
Get parametric/local coordinates given global coordinates. The function returns true if the global coordinate is within the element else returns false. For a line, line length*1e-4 is used as the tolerance
Implements itk::fem::Element.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::fem::ElementStd< 2, 2 >.
Reimplemented in itk::fem::Element1DStress< Element2DC0LinearLine >, and itk::fem::Element2DC0LinearLineStress.
|
virtual |
Get the number of integration points
Implements itk::fem::Element.
|
virtual |
We need to provide our own implementation of calculating Jacobian, because the element lives in 2D space and has only one dimension. The default implementation of Jacobian in the Element base class is not correct since it assumes that the number of element dimensions is equal to the number of spatial dimensions.
Jacobian is a scalar for this element.
Reimplemented from itk::fem::Element.
|
protectedvirtual |
Set the edge order and the points defining each edge
Implements itk::fem::Element.
|
protectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::fem::ElementStd< 2, 2 >.
Reimplemented in itk::fem::Element1DStress< Element2DC0LinearLine >, and itk::fem::Element2DC0LinearLineStress.
|
virtual |
Return the shape functions derivatives in the shapeD matrix
Implements itk::fem::Element.
|
virtual |
Methods related to the geometry of an element Return the shape functions used to interpolate across the element
Implements itk::fem::Element.