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

itk::fem::MaterialLinearElasticity Class Reference

#include <itkFEMMaterialLinearElasticity.h>

Inheritance diagram for itk::fem::MaterialLinearElasticity:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Linear elasticity material class.

This class includes material and other kind of properties required to define material properties of finite elements applied to linear elasticity problems in FEM toolkit.

Definition at line 37 of file itkFEMMaterialLinearElasticity.h.

Public Types

typedef FEMPArray< SelfArrayType
typedef Self Baseclass
typedef const SelfConstPointer
typedef SelfPointer
typedef MaterialLinearElasticity Self
typedef Material Superclass

Public Member Functions

virtual int ClassID () const
virtual Baseclass::Pointer Clone () const
 MaterialLinearElasticity ()
virtual void Read (std::istream &f, void *info)
virtual void Write (std::ostream &f) const

Static Public Member Functions

static FEMLightObject::Pointer CreateFromStream (std::istream &f, void *info)
static Self::Pointer New ()
static void SkipWhiteSpace (std::istream &f)

Public Attributes

double A
double E
int GN
double h
double I
double nu
double RhoC

Static Public Attributes

static const int CLID
static const std::string whitespaces


Member Typedef Documentation

typedef FEMPArray<Self> itk::fem::Material::ArrayType [inherited]

Array class that holds special pointers to objects of all Material classes

Definition at line 53 of file itkFEMMaterialBase.h.

typedef Self itk::fem::FEMLightObject::Baseclass [inherited]

Store the base class typedef for easy access from derived classes. FEM_CLASS macro also expects this for the FEMOF...

Definition at line 67 of file itkFEMLightObject.h.

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

Const pointer or SmartPointer to an object.

Reimplemented from itk::fem::Material.

Definition at line 38 of file itkFEMMaterialLinearElasticity.h.

typedef Self* itk::fem::MaterialLinearElasticity::Pointer

Pointer or SmartPointer to an object.

Reimplemented from itk::fem::Material.

Definition at line 38 of file itkFEMMaterialLinearElasticity.h.

typedef MaterialLinearElasticity itk::fem::MaterialLinearElasticity::Self

Standard Self typedef.

Reimplemented from itk::fem::Material.

Definition at line 38 of file itkFEMMaterialLinearElasticity.h.

typedef Material itk::fem::MaterialLinearElasticity::Superclass

Standard Superclass typedef.

Reimplemented from itk::fem::Material.

Definition at line 38 of file itkFEMMaterialLinearElasticity.h.


Constructor & Destructor Documentation

itk::fem::MaterialLinearElasticity::MaterialLinearElasticity (  ) 

Default constructor only initializes the members.


Member Function Documentation

virtual int itk::fem::MaterialLinearElasticity::ClassID (  )  const [inline, virtual]

Virtual function to access the class ID

Implements itk::fem::FEMLightObject.

Definition at line 38 of file itkFEMMaterialLinearElasticity.h.

virtual Baseclass::Pointer itk::fem::MaterialLinearElasticity::Clone (  )  const [virtual]

Create a new object from the existing one

Implements itk::fem::FEMLightObject.

static FEMLightObject::Pointer itk::fem::FEMLightObject::CreateFromStream ( std::istream &  f,
void *  info 
) [static, inherited]

Read object of any derived type from stream.

This static function creates an object of a class, which is derived from FEMLightObject. The class of object is first determined from the stream, then the object of that class is constructed using the FEMObjectFactory. Finally the data for this object is read from the stream, by calling the Read() member function.

static Self::Pointer itk::fem::MaterialLinearElasticity::New ( void   )  [inline, static]

Object creation in an itk compatible way

Definition at line 38 of file itkFEMMaterialLinearElasticity.h.

virtual void itk::fem::MaterialLinearElasticity::Read ( std::istream &  f,
void *  info 
) [virtual]

Read an object data from input stream. Call this member to initialize the data members in the current object by reading data from provided input stream. Derived classes should first call the the parent's read function, to initialize the data from parent. Note that you must manually create the object of desired type using the FEMObjectFactory before you can call read function (this is pretty obvious). In this class only the global number is read from file. Derived classes may require some additional info in order to perform the reading. Pack this info in an object and pass a pointer to it in the info parameter. If you need runtime typechecking, use a polymorphic class and dynamic_cast operator inside the implementation of Read.

Reimplemented from itk::fem::FEMLightObject.

static void itk::fem::FEMLightObject::SkipWhiteSpace ( std::istream &  f  )  [static, inherited]

Helper function that skips all the whitespace and comments in an input stream.

virtual void itk::fem::MaterialLinearElasticity::Write ( std::ostream &  f  )  const [virtual]

Write an object to the output stream. Call this member to write the data members in the current object to the output stream. Here we also need to know which derived class we actually are, so that we can write the class name. The class name is obtained by calling the virtual ClassID() member function and passing the result to the FEMObjectFactory.

Implementations of Write member funtion in derived classes should first call the parent's implementation of Write and finaly write whatever they need.

Reimplemented from itk::fem::FEMLightObject.


Member Data Documentation

double itk::fem::MaterialLinearElasticity::A

Cross section area of a line element

Definition at line 59 of file itkFEMMaterialLinearElasticity.h.

const int itk::fem::MaterialLinearElasticity::CLID [static]

Class ID for FEM object factory

Definition at line 38 of file itkFEMMaterialLinearElasticity.h.

double itk::fem::MaterialLinearElasticity::E

Young modulus

Definition at line 54 of file itkFEMMaterialLinearElasticity.h.

int itk::fem::FEMLightObject::GN [inherited]

Global number of an object (ID of an object) In general the ID's are required to be unique only within a specific type of derived classes (Elements, Nodes, ...) If the GN is not required, it can be ignored. (normally you need the GN when writing or reading objects to/from stream.

Definition at line 168 of file itkFEMLightObject.h.

Referenced by itk::fem::FEMLightObject::FEMLightObject().

double itk::fem::MaterialLinearElasticity::h

Thickness

Definition at line 74 of file itkFEMMaterialLinearElasticity.h.

double itk::fem::MaterialLinearElasticity::I

Moment of inertia

Definition at line 64 of file itkFEMMaterialLinearElasticity.h.

double itk::fem::MaterialLinearElasticity::nu

Poisson's ratio

Definition at line 69 of file itkFEMMaterialLinearElasticity.h.

double itk::fem::MaterialLinearElasticity::RhoC

Density times Heat Capacity

Definition at line 83 of file itkFEMMaterialLinearElasticity.h.

const std::string itk::fem::FEMLightObject::whitespaces [static, inherited]

Const string of all whitespace characters. This string is used by SkipWhiteSpace function.

Definition at line 138 of file itkFEMLightObject.h.


The documentation for this class was generated from the following file:
Generated at Thu Nov 6 14:19:23 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000