ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions
itk::fem::Element2DC0LinearLine Class Reference

2-noded, linear, C0 continuous line element in 2D space. takes loads only along the length of the axis More...

#include <itkFEMElement2DC0LinearLine.h>

Inheritance diagram for itk::fem::Element2DC0LinearLine:
Collaboration diagram for itk::fem::Element2DC0LinearLine:

List of all members.

Public Types

enum  { DefaultIntegrationOrder = 1 }
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef Element2DC0LinearLine Self
typedef TemplatedParentClass Superclass
typedef ElementStd< 2, 2 > TemplatedParentClass

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

Protected Member Functions

virtual void PopulateEdgeIds (void)
virtual void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

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.


Member Typedef Documentation

Standard class typedefs.

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

Reimplemented in itk::fem::Element2DC0LinearLineStress, and itk::fem::Element1DStress< Element2DC0LinearLine >.

Definition at line 39 of file itkFEMElement2DC0LinearLine.h.

Definition at line 40 of file itkFEMElement2DC0LinearLine.h.


Member Enumeration Documentation

anonymous enum

Methods related to numeric integration

Enumerator:
DefaultIntegrationOrder 

Definition at line 53 of file itkFEMElement2DC0LinearLine.h.


Member Function Documentation

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 void itk::fem::Element2DC0LinearLine::GetIntegrationPointAndWeight ( unsigned int  i,
VectorType pt,
Float w,
unsigned int  order 
) const [virtual]

Get the Integration point and weight

Implements itk::fem::Element.

virtual bool itk::fem::Element2DC0LinearLine::GetLocalFromGlobalCoordinates ( const VectorType globalPt,
VectorType localPt 
) const [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 const char* itk::fem::Element2DC0LinearLine::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

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

Reimplemented in itk::fem::Element2DC0LinearLineStress, and itk::fem::Element1DStress< Element2DC0LinearLine >.

virtual unsigned int itk::fem::Element2DC0LinearLine::GetNumberOfIntegrationPoints ( unsigned int  order) const [virtual]

Get the number of integration points

Implements itk::fem::Element.

virtual void itk::fem::Element2DC0LinearLine::Jacobian ( const VectorType pt,
MatrixType J,
const MatrixType pshapeD = 0 
) const [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.

virtual void itk::fem::Element2DC0LinearLine::PopulateEdgeIds ( void  ) [protected, virtual]

Set the edge order and the points defining each edge

Implements itk::fem::Element.

virtual void itk::fem::Element2DC0LinearLine::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

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::Element2DC0LinearLineStress, and itk::fem::Element1DStress< Element2DC0LinearLine >.

virtual void itk::fem::Element2DC0LinearLine::ShapeFunctionDerivatives ( const VectorType pt,
MatrixType shapeD 
) const [virtual]

Return the shape functions derivatives in the shapeD matrix

Implements itk::fem::Element.

virtual VectorType itk::fem::Element2DC0LinearLine::ShapeFunctions ( const VectorType pt) const [virtual]

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

Implements itk::fem::Element.


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