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

itk::fem::Solution Class Reference

Provides functions to access the values of the solution vector. More...

#include <itkFEMSolution.h>

Inheritance diagram for itk::fem::Solution:

Inheritance graph
[legend]
List of all members.

Public Types

typedef Solution Self
typedef Solution Superclass
typedef SelfPointer
typedef const SelfConstPointer
typedef double Float

Public Methods

virtual Float GetSolutionValue (unsigned int i, unsigned int solutionIndex=0) const=0
virtual ~Solution ()

Detailed Description

Provides functions to access the values of the solution vector.

The actual code of these functions as well as storage for the data is implemented in LinearSystemWrapper class.

See also:
LinearSystemWrapper

Definition at line 36 of file itkFEMSolution.h.


Member Typedef Documentation

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

Const pointer to an object.

Reimplemented in itk::fem::LinearSystemWrapper.

Definition at line 50 of file itkFEMSolution.h.

typedef double itk::fem::Solution::Float
 

Floating point storage type used within a class

Reimplemented in itk::fem::LinearSystemWrapperDenseVNL, and itk::fem::LinearSystemWrapperVNL.

Definition at line 53 of file itkFEMSolution.h.

typedef Self* itk::fem::Solution::Pointer
 

Pointer to an object.

Reimplemented in itk::fem::LinearSystemWrapper.

Definition at line 47 of file itkFEMSolution.h.

typedef Solution itk::fem::Solution::Self
 

Standard "Self" typedef.

Reimplemented in itk::fem::LinearSystemWrapper, and itk::fem::LinearSystemWrapperItpack.

Definition at line 41 of file itkFEMSolution.h.

typedef Solution itk::fem::Solution::Superclass
 

Standard "Superclass" typedef.

Reimplemented in itk::fem::LinearSystemWrapper, and itk::fem::LinearSystemWrapperItpack.

Definition at line 44 of file itkFEMSolution.h.


Constructor & Destructor Documentation

virtual itk::fem::Solution::~Solution   [inline, virtual]
 

Virtual destructor should properly destroy the object and clean up any memory allocated for matrix and vector storage.

Definition at line 74 of file itkFEMSolution.h.


Member Function Documentation

virtual Float itk::fem::Solution::GetSolutionValue unsigned int    i,
unsigned int    solutionIndex = 0
const [pure virtual]
 

Returns value of i-th element in a solution vector. This value is calculated generalized displacement of the i-th degree of freedom in a FEM problem. Note that in general there may be several solution vectors. You can select which one do you want by passing the second parameter.

Parameters:
i  element index in solution vector
solutionIndex  index of solution vector to get value from
Note:
If the solution vector doesn't exist (problem was not yet solved), or the index i is out of range, the function returns 0.0.

Implemented in itk::fem::LinearSystemWrapperDenseVNL, itk::fem::LinearSystemWrapperItpack, and itk::fem::LinearSystemWrapperVNL.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:51:47 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000