ITK  4.13.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 38 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 52 of file itkFEMSolution.h.

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

Floating point storage type used within a class

Definition at line 55 of file itkFEMSolution.h.

Pointer to an object.

Definition at line 49 of file itkFEMSolution.h.

Standard "Self" typedef.

Definition at line 43 of file itkFEMSolution.h.

Standard "Superclass" typedef.

Definition at line 46 of file itkFEMSolution.h.

Constructor & Destructor Documentation

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

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

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::LinearSystemWrapperDenseVNL, and itk::fem::LinearSystemWrapperVNL.


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