ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
itk::fem::Element2DC1Beam Class Reference

#include <itkFEMElement2DC1Beam.h>

+ Inheritance diagram for itk::fem::Element2DC1Beam:
+ Collaboration diagram for itk::fem::Element2DC1Beam:

Detailed Description

1D Beam (spring that also bends) finite element in 2D space.

The Displacements at each node are modelled with two translational, and one rotational, degree of freedom.

Definition at line 39 of file itkFEMElement2DC1Beam.h.

Public Types

enum  { DefaultIntegrationOrder = 1 }
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Element2DC1Beam Self
 
typedef TemplatedParentClass Superclass
 
typedef ElementStd< 2, 2 > TemplatedParentClass
 
- Public Types inherited from itk::fem::ElementStd< 2, 2 >
enum  
 
enum  
 
enum  
 
typedef SmartPointer< const SelfConstPointer
 
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 SmartPointer< SelfPointer
 
typedef ElementStd Self
 
typedef Element Superclass
 
typedef Superclass::VectorType VectorType
 
- Public Types inherited from itk::fem::Element
enum  { InvalidDegreeOfFreedomID = 0xffffffff }
 
typedef FEMPArray< ElementArrayType
 
typedef VectorContainer
< ElementIdentifier,
Element::Pointer
ArrayType1
 
typedef SmartPointer< const SelfConstPointer
 
typedef unsigned int DegreeOfFreedomIDType
 
typedef unsigned long ElementIdentifier
 
typedef double Float
 
typedef vnl_matrix< FloatMatrixType
 
typedef Node::ConstPointer NodeIDType
 
typedef SmartPointer< SelfPointer
 
typedef Element Self
 
typedef FEMLightObject Superclass
 
typedef vnl_vector< FloatVectorType
 
typedef FEMLightObject LoadType
 
typedef LoadType::Pointer LoadPointer
 
- Public Types inherited from itk::fem::FEMLightObject
typedef Self Baseclass
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef FEMLightObject Self
 
typedef itk::LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const override
 
 Element2DC1Beam ()
 
 Element2DC1Beam (Node::ConstPointer n1_, Node::ConstPointer n2_, Material::ConstPointer mat_)
 
virtual void GetIntegrationPointAndWeight (unsigned int i, VectorType &pt, Float &w, unsigned int order=0) const override
 
virtual bool GetLocalFromGlobalCoordinates (const VectorType &, VectorType &) const override
 
virtual void GetMassMatrix (MatrixType &Me) const override
 
virtual Material::ConstPointer GetMaterial (void) const override
 
virtual void GetMaterialMatrix (MatrixType &) const override
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfDegreesOfFreedomPerNode (void) const override
 
virtual unsigned int GetNumberOfIntegrationPoints (unsigned int order) const override
 
virtual void GetStiffnessMatrix (MatrixType &Ke) const override
 
virtual void GetStrainDisplacementMatrix (MatrixType &, const MatrixType &) const override
 
virtual Float JacobianDeterminant (const VectorType &pt, const MatrixType *pJ) const override
 
virtual void PopulateEdgeIds (void) override
 
virtual void SetMaterial (Material::ConstPointer mat_) override
 
virtual void ShapeFunctionDerivatives (const VectorType &pt, MatrixType &shapeD) const override
 
virtual VectorType ShapeFunctions (const VectorType &pt) const override
 
- Public Member Functions inherited from itk::fem::ElementStd< 2, 2 >
 ElementStd ()
 
virtual const VectorTypeGetNodeCoordinates (unsigned int n) const override
 
virtual unsigned int GetNumberOfNodes (void) const override
 
virtual unsigned int GetNumberOfSpatialDimensions () const override
 
virtual void SetNode (unsigned int n, NodeIDType node) override
 
virtual void SetNode (unsigned int n, typename Superclass::Node::Pointer node) override
 
virtual NodeIDType GetNode (unsigned int n) const override
 
- 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 unsigned int GetNumberOfDegreesOfFreedom (void) 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
 
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=nullptr) const
 
virtual void JacobianInverse (const VectorType &pt, MatrixType &invJ, const MatrixType *pJ=nullptr) const
 
virtual void ShapeFunctionGlobalDerivatives (const VectorType &pt, MatrixType &shapeDgl, const MatrixType *pJ=nullptr, const MatrixType *pshapeD=nullptr) 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 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 noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
- Protected Member Functions inherited from itk::fem::ElementStd< 2, 2 >
virtual void SetNodeInternal (unsigned int n, const Node *node)
 
- Protected Member Functions inherited from itk::fem::FEMLightObject
 FEMLightObject ()
 
 FEMLightObject (const FEMLightObject &o)
 
virtual ~FEMLightObject () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

const MaterialLinearElasticitym_mat
 

Additional Inherited Members

- Static Public Attributes inherited from itk::fem::Element
static const unsigned int gaussMaxOrder = 10
 
static const Float gaussPoint [gaussMaxOrder+1][gaussMaxOrder]
 
static const Float gaussWeight [gaussMaxOrder+1][gaussMaxOrder]
 
- Protected Attributes inherited from itk::fem::ElementStd< 2, 2 >
const Nodem_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
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

Definition at line 48 of file itkFEMElement2DC1Beam.h.

Definition at line 47 of file itkFEMElement2DC1Beam.h.

Standard class typedefs.

Definition at line 44 of file itkFEMElement2DC1Beam.h.

Definition at line 46 of file itkFEMElement2DC1Beam.h.

Definition at line 45 of file itkFEMElement2DC1Beam.h.

Member Enumeration Documentation

anonymous enum

Methods related to numeric integration

Enumerator
DefaultIntegrationOrder 

Definition at line 97 of file itkFEMElement2DC1Beam.h.

Constructor & Destructor Documentation

itk::fem::Element2DC1Beam::Element2DC1Beam ( )

Default constructor only clears the internal storage

itk::fem::Element2DC1Beam::Element2DC1Beam ( Node::ConstPointer  n1_,
Node::ConstPointer  n2_,
Material::ConstPointer  mat_ 
)

Construct an element by specifying two nodes and material

Member Function Documentation

virtual::itk::LightObject::Pointer itk::fem::Element2DC1Beam::CreateAnother ( void  ) const
overridevirtual

CreateAnother method will clone the existing instance of this type, including its internal member variables.

Reimplemented from itk::LightObject.

virtual void itk::fem::Element2DC1Beam::GetIntegrationPointAndWeight ( unsigned int  i,
VectorType pt,
Float w,
unsigned int  order = 0 
) const
overridevirtual

Get the Integration point and weight

Implements itk::fem::Element.

virtual bool itk::fem::Element2DC1Beam::GetLocalFromGlobalCoordinates ( const VectorType ,
VectorType  
) const
inlineoverridevirtual

Convert from global to local coordinates

Implements itk::fem::Element.

Definition at line 116 of file itkFEMElement2DC1Beam.h.

virtual void itk::fem::Element2DC1Beam::GetMassMatrix ( MatrixType Me) const
overridevirtual

Get the Mass matrix

Reimplemented from itk::fem::Element.

virtual Material::ConstPointer itk::fem::Element2DC1Beam::GetMaterial ( void  ) const
inlineoverridevirtual

Get/Set the material properties for the element

Reimplemented from itk::fem::Element.

Definition at line 133 of file itkFEMElement2DC1Beam.h.

virtual void itk::fem::Element2DC1Beam::GetMaterialMatrix ( MatrixType ) const
inlineoverridevirtual

Get the Material matrix

Implements itk::fem::Element.

Definition at line 88 of file itkFEMElement2DC1Beam.h.

virtual const char* itk::fem::Element2DC1Beam::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::fem::ElementStd< 2, 2 >.

virtual unsigned int itk::fem::Element2DC1Beam::GetNumberOfDegreesOfFreedomPerNode ( void  ) const
inlineoverridevirtual

Get the degrees of freedom for each node

Implements itk::fem::Element.

Definition at line 125 of file itkFEMElement2DC1Beam.h.

virtual unsigned int itk::fem::Element2DC1Beam::GetNumberOfIntegrationPoints ( unsigned int  order) const
overridevirtual

Returns total number of integration points, for given order of Gauss-Legendre numerical integration rule.

Note
This function must be implemented in derived element classes, and is expected to provide valid number of integration points for up to gaussMaxOrder-th order of integration.
See Also
GetIntegrationPointAndWeight()

Implements itk::fem::Element.

virtual void itk::fem::Element2DC1Beam::GetStiffnessMatrix ( MatrixType Ke) const
overridevirtual

Get the Stiffness matrix

Reimplemented from itk::fem::Element.

virtual void itk::fem::Element2DC1Beam::GetStrainDisplacementMatrix ( MatrixType ,
const MatrixType  
) const
inlineoverridevirtual

Get the Strain Displacement matrix

Implements itk::fem::Element.

Definition at line 83 of file itkFEMElement2DC1Beam.h.

virtual Float itk::fem::Element2DC1Beam::JacobianDeterminant ( const VectorType pt,
const MatrixType pJ 
) const
overridevirtual

Return the determinate of the Jacobian

Reimplemented from itk::fem::Element.

static Pointer itk::fem::Element2DC1Beam::New ( )
static

Method for creation through the object factory.

virtual void itk::fem::Element2DC1Beam::PopulateEdgeIds ( void  )
inlineoverridevirtual

No edges to populate in this class

Implements itk::fem::Element.

Definition at line 145 of file itkFEMElement2DC1Beam.h.

virtual void itk::fem::Element2DC1Beam::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

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

virtual void itk::fem::Element2DC1Beam::SetMaterial ( Material::ConstPointer  )
inlineoverridevirtual

Set the pointer to the Material object used by the element. All derived classes, which use objects of Material class should override this method to provide access to the material from the base class.

See Also
GetMaterial

Reimplemented from itk::fem::Element.

Definition at line 138 of file itkFEMElement2DC1Beam.h.

virtual void itk::fem::Element2DC1Beam::ShapeFunctionDerivatives ( const VectorType pt,
MatrixType shapeD 
) const
overridevirtual

Return the shape functions derivatives in the shapeD matrix

Implements itk::fem::Element.

virtual VectorType itk::fem::Element2DC1Beam::ShapeFunctions ( const VectorType pt) const
overridevirtual

Methods related to the geometry of an elementReturn the shape functions used to interpolate across the element

Implements itk::fem::Element.

Member Data Documentation

const MaterialLinearElasticity* itk::fem::Element2DC1Beam::m_mat
private

Pointer to material properties of the element

Definition at line 155 of file itkFEMElement2DC1Beam.h.


The documentation for this class was generated from the following file: