#include <itkFEMLinearSystemWrapperDenseVNL.h>
Inheritance diagram for itk::fem::LinearSystemWrapperDenseVNL:
Public Types | |
typedef LinearSystemWrapper::Float | Float |
typedef LinearSystemWrapper | SuperClass |
typedef vnl_matrix< Float > | MatrixRepresentation |
typedef std::vector< MatrixRepresentation * > | MatrixHolder |
Public Member Functions | |
LinearSystemWrapperDenseVNL () | |
virtual | ~LinearSystemWrapperDenseVNL () |
virtual void | InitializeMatrix (unsigned int matrixIndex) |
virtual bool | IsMatrixInitialized (unsigned int matrixIndex) |
virtual void | DestroyMatrix (unsigned int matrixIndex) |
virtual void | InitializeVector (unsigned int vectorIndex) |
virtual bool | IsVectorInitialized (unsigned int vectorIndex) |
virtual void | DestroyVector (unsigned int vectorIndex) |
virtual void | InitializeSolution (unsigned int solutionIndex) |
virtual bool | IsSolutionInitialized (unsigned int solutionIndex) |
virtual void | DestroySolution (unsigned int solutionIndex) |
virtual void | SetMaximumNonZeroValuesInMatrix (unsigned int, unsigned int) |
virtual Float | GetMatrixValue (unsigned int i, unsigned int j, unsigned int matrixIndex) const |
virtual void | SetMatrixValue (unsigned int i, unsigned int j, Float value, unsigned int matrixIndex) |
virtual void | AddMatrixValue (unsigned int i, unsigned int j, Float value, unsigned int matrixIndex) |
virtual Float | GetVectorValue (unsigned int i, unsigned int vectorIndex) const |
virtual void | SetVectorValue (unsigned int i, Float value, unsigned int vectorIndex) |
virtual void | AddVectorValue (unsigned int i, Float value, unsigned int vectorIndex) |
virtual Float | GetSolutionValue (unsigned int i, unsigned int solutionIndex) const |
virtual void | SetSolutionValue (unsigned int i, Float value, unsigned int solutionIndex) |
virtual void | AddSolutionValue (unsigned int i, Float value, unsigned int solutionIndex) |
virtual void | Solve (void) |
virtual void | ScaleMatrix (Float scale, unsigned int matrixIndex) |
virtual void | ScaleVector (Float scale, unsigned int vectorIndex) |
virtual void | ScaleSolution (Float scale, unsigned int solutionIndex) |
virtual void | SwapMatrices (unsigned int matrixIndex1, unsigned int matrixIndex2) |
virtual void | SwapVectors (unsigned int vectorIndex1, unsigned int vectorIndex2) |
virtual void | SwapSolutions (unsigned int solutionIndex1, unsigned int solutionIndex2) |
virtual void | CopySolution2Vector (unsigned solutionIndex, unsigned int vectorIndex) |
virtual void | CopyVector2Solution (unsigned int vectorIndex, unsigned int solutionIndex) |
virtual void | MultiplyMatrixMatrix (unsigned int resultMatrixIndex, unsigned int leftMatrixIndex, unsigned int rightMatrixIndex) |
virtual void | MultiplyMatrixVector (unsigned int resultVectorIndex, unsigned int matrixIndex, unsigned int vectorIndex) |
Definition at line 38 of file itkFEMLinearSystemWrapperDenseVNL.h.
|
Floating point storage type used within a class Reimplemented from itk::fem::Solution. Definition at line 43 of file itkFEMLinearSystemWrapperDenseVNL.h. Referenced by AddMatrixValue(), AddSolutionValue(), AddVectorValue(), GetMatrixValue(), GetVectorValue(), SetMatrixValue(), SetSolutionValue(), and SetVectorValue(). |
|
Definition at line 52 of file itkFEMLinearSystemWrapperDenseVNL.h. |
|
Definition at line 49 of file itkFEMLinearSystemWrapperDenseVNL.h. |
|
Definition at line 46 of file itkFEMLinearSystemWrapperDenseVNL.h. |
|
Definition at line 55 of file itkFEMLinearSystemWrapperDenseVNL.h. |
|
|
|
Virtual function to add a value to a specific element of the A matrix.
Implements itk::fem::LinearSystemWrapper. Definition at line 74 of file itkFEMLinearSystemWrapperDenseVNL.h. References Float. |
|
Virtual function to add a value of specific element of the solution vector.
Implements itk::fem::LinearSystemWrapper. Definition at line 80 of file itkFEMLinearSystemWrapperDenseVNL.h. References Float. |
|
Virtual function to add a value to a specific element of the B vector.
Implements itk::fem::LinearSystemWrapper. Definition at line 77 of file itkFEMLinearSystemWrapperDenseVNL.h. References Float. |
|
|
|
Copy a vector to a solution vector
Implements itk::fem::LinearSystemWrapper.
|
|
Free the memory from a matrix
Implements itk::fem::LinearSystemWrapper.
|
|
Free teh mememory from a solution vector
Implements itk::fem::LinearSystemWrapper.
|
|
Free the memory from a vector
Implements itk::fem::LinearSystemWrapper.
|
|
Virtual function to get a value of a specific element of a matrix.
Implements itk::fem::LinearSystemWrapper. Definition at line 72 of file itkFEMLinearSystemWrapperDenseVNL.h. References Float. |
|
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.
Implements itk::fem::Solution.
|
|
Virtual function to get a value of a specific element of the B vector.
Implements itk::fem::LinearSystemWrapper. Definition at line 75 of file itkFEMLinearSystemWrapperDenseVNL.h. References Float. |
|
Initialization of the A matrix. First any existing data for matrix A must be be destroyed, and then a new matrix is created in the memory. All elements in A must be set to zero.
Implements itk::fem::LinearSystemWrapper.
|
|
Initialization of a solution vector. Existing memory must be destroyed and the new solution vector is created in memory. All values should be set to zero.
Implements itk::fem::LinearSystemWrapper.
|
|
Initialization of the a vector. First any existing data for vector B must be destroyed, then new vector is created in the memory. All elements in B must be set to zero. Implements itk::fem::LinearSystemWrapper.
|
|
Check to see if matrix is initialized
Implements itk::fem::LinearSystemWrapper.
|
|
Check to see if solution vector is initialized
Implements itk::fem::LinearSystemWrapper.
|
|
Check to see if vector is initialized
Implements itk::fem::LinearSystemWrapper.
|
|
Perform a matrix*matrix operation and store the result in the linear system
Implements itk::fem::LinearSystemWrapper.
|
|
Perform a matrix*vector operation and store the result in the linear system
Reimplemented from itk::fem::LinearSystemWrapper.
|
|
Multiplies all elements of a matrix by a scalar
Reimplemented from itk::fem::LinearSystemWrapper.
|
|
Multiplies all elements of a solution by a scalar
Reimplemented from itk::fem::LinearSystemWrapper.
|
|
Multiplies all elements of a vector by a scalar
Reimplemented from itk::fem::LinearSystemWrapper.
|
|
Virtual function to set a value of a specific element of the A matrix.
Implements itk::fem::LinearSystemWrapper. Definition at line 73 of file itkFEMLinearSystemWrapperDenseVNL.h. References Float. |
|
Definition at line 68 of file itkFEMLinearSystemWrapperDenseVNL.h. |
|
Virtual function to set a value of specific element of the solution vector.
Implements itk::fem::LinearSystemWrapper. Definition at line 79 of file itkFEMLinearSystemWrapperDenseVNL.h. References Float. |
|
Virtual function to set a value of a specific element of the B vector.
Implements itk::fem::LinearSystemWrapper. Definition at line 76 of file itkFEMLinearSystemWrapperDenseVNL.h. References Float. |
|
Solves the linear system and creates the solution vector, which can later be accessed via GetSolutionValue(i,SolutionIndex) member function. Here all the major processing is done with calls to external numeric library.
Implements itk::fem::LinearSystemWrapper.
|
|
Swaps access indices of any 2 matrices in the linear system
Implements itk::fem::LinearSystemWrapper.
|
|
Swaps access indices of any 2 solution vectors in the linear system
Implements itk::fem::LinearSystemWrapper.
|
|
Swaps access indices of any 2 vectors in the linear system
Implements itk::fem::LinearSystemWrapper.
|