ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | List of all members
itk::fem::Solution Class Referenceabstract

#include <itkFEMSolution.h>

+ Inheritance diagram for itk::fem::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.

Public Types

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

Public Member Functions

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

Member Typedef Documentation

Const pointer to an object.

Definition at line 50 of file itkFEMSolution.h.

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

Floating point storage type used within a class

Definition at line 53 of file itkFEMSolution.h.

Pointer to an object.

Definition at line 47 of file itkFEMSolution.h.

Standard "Self" typedef.

Definition at line 41 of file itkFEMSolution.h.

Standard "Superclass" typedef.

Definition at line 44 of file itkFEMSolution.h.

Constructor & Destructor Documentation

virtual itk::fem::Solution::~Solution ( )
inlinevirtual

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
ielement index in solution vector
solutionIndexindex 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::LinearSystemWrapperItpack, itk::fem::LinearSystemWrapperVNL, and itk::fem::LinearSystemWrapperDenseVNL.

Referenced by itk::fem::LoadLandmark::GetSolution(), itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >::GetSolution(), and itk::fem::ImageMetricLoad< TMoving, TFixed >::GetSolution().


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