Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::fem::Element2DC0LinearLine Class Reference

2-noded, linear, C0 continuous line element in 2D space. More...

#include <itkFEMElement2DC0LinearLine.h>

Inheritance diagram for itk::fem::Element2DC0LinearLine:

Inheritance graph
[legend]
Collaboration diagram for itk::fem::Element2DC0LinearLine:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Element2DC0LinearLine Self
typedef TemplatedParentClass Superclass
typedef SelfPointer
typedef const SelfConstPointer
enum  { DefaultIntegrationOrder = 1 }

Public Methods

virtual void GetIntegrationPointAndWeight (unsigned int i, VectorType &pt, Float &w, unsigned int order) const
virtual unsigned int GetNumberOfIntegrationPoints (unsigned int order) const
virtual VectorType ShapeFunctions (const VectorType &pt) const
virtual void ShapeFunctionDerivatives (const VectorType &pt, MatrixType &shapeD) const
virtual bool GetLocalFromGlobalCoordinates (const VectorType &globalPt, VectorType &localPt) const
virtual void Jacobian (const VectorType &pt, MatrixType &J, const MatrixType *pshapeD=0) const

Detailed Description

2-noded, linear, C0 continuous line element in 2D space.

Definition at line 33 of file itkFEMElement2DC0LinearLine.h.


Member Typedef Documentation

typedef const Self* itk::fem::Element2DC0LinearLine::ConstPointer
 

Const pointer or SmartPointer to an object.

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

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

Definition at line 36 of file itkFEMElement2DC0LinearLine.h.

typedef Self* itk::fem::Element2DC0LinearLine::Pointer
 

Pointer or SmartPointer to an object.

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

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

Definition at line 36 of file itkFEMElement2DC0LinearLine.h.

typedef Element2DC0LinearLine itk::fem::Element2DC0LinearLine::Self
 

Standard Self typedef.

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

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

Definition at line 36 of file itkFEMElement2DC0LinearLine.h.

typedef TemplatedParentClass itk::fem::Element2DC0LinearLine::Superclass
 

Standard Superclass typedef.

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

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

Definition at line 36 of file itkFEMElement2DC0LinearLine.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
DefaultIntegrationOrder 

Definition at line 45 of file itkFEMElement2DC0LinearLine.h.


Member Function Documentation

virtual void itk::fem::Element2DC0LinearLine::GetIntegrationPointAndWeight unsigned int    i,
VectorType   pt,
Float   w,
unsigned int    order
const [virtual]
 

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.

Note:
This function must be implemented in derived element classes, and is expected to provide valid integration points for up to gaussMaxOrder-th order of integration.
Parameters:
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.
See also:
GetNumberOfIntegrationPoints()

Implements itk::fem::Element.

virtual bool itk::fem::Element2DC0LinearLine::GetLocalFromGlobalCoordinates const VectorType   globalPt,
VectorType   localPt
const [virtual]
 

Transforms the given global element coordinates into local. Returns false if the point is outside.

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

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

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::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::ShapeFunctionDerivatives const VectorType   pt,
MatrixType   shapeD
const [virtual]
 

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.

Parameters:
pt  Point in local element coordinates.
shapeD  Reference to a matrix object, which will be filled with values of shape function derivatives.
See also:
ShapeFunctionGlobalDerivatives

Implements itk::fem::Element.

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

Returns a vector containing the values of all shape functions that define the geometry of a finite element at a given local point within an element.

Parameters:
pt  Point in local element coordinates.

Implements itk::fem::Element.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:22:05 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000