Open CASCADE Technology  6.9.1
Public Member Functions
FEmTool_ProfileMatrix Class Reference

Symmetric Sparse ProfileMatrix useful for 1D Finite Element methods. More...

#include <FEmTool_ProfileMatrix.hxx>

Inheritance diagram for FEmTool_ProfileMatrix:
Inheritance graph
[legend]

Public Member Functions

 FEmTool_ProfileMatrix (const TColStd_Array1OfInteger &FirstIndexes)
 
void Init (const Standard_Real Value)
 
Standard_RealChangeValue (const Standard_Integer I, const Standard_Integer J)
 
Standard_Boolean Decompose ()
 To make a Factorization of <me> More...
 
void Solve (const math_Vector &B, math_Vector &X) const
 Direct Solve of AX = B. More...
 
Standard_Boolean Prepare ()
 Make Preparation to iterative solve. More...
 
void Solve (const math_Vector &B, const math_Vector &Init, math_Vector &X, math_Vector &Residual, const Standard_Real Tolerance=1.0e-8, const Standard_Integer NbIterations=50) const
 Iterative solve of AX = B. More...
 
void Multiplied (const math_Vector &X, math_Vector &MX) const
 returns the product of a SparseMatrix by a vector. An exception is raised if the dimensions are different More...
 
Standard_Integer RowNumber () const
 returns the row range of a matrix. More...
 
Standard_Integer ColNumber () const
 returns the column range of the matrix. More...
 
Standard_Boolean IsInProfile (const Standard_Integer i, const Standard_Integer j) const
 
void OutM () const
 
void OutS () const
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const Handle_Standard_Type & DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Detailed Description

Symmetric Sparse ProfileMatrix useful for 1D Finite Element methods.

Constructor & Destructor Documentation

FEmTool_ProfileMatrix::FEmTool_ProfileMatrix ( const TColStd_Array1OfInteger FirstIndexes)

Member Function Documentation

Standard_Real& FEmTool_ProfileMatrix::ChangeValue ( const Standard_Integer  I,
const Standard_Integer  J 
)
virtual

Implements FEmTool_SparseMatrix.

Standard_Integer FEmTool_ProfileMatrix::ColNumber ( ) const
virtual

returns the column range of the matrix.

Implements FEmTool_SparseMatrix.

Standard_Boolean FEmTool_ProfileMatrix::Decompose ( )
virtual

To make a Factorization of <me>

Implements FEmTool_SparseMatrix.

void FEmTool_ProfileMatrix::Init ( const Standard_Real  Value)
virtual

Implements FEmTool_SparseMatrix.

Standard_Boolean FEmTool_ProfileMatrix::IsInProfile ( const Standard_Integer  i,
const Standard_Integer  j 
) const
void FEmTool_ProfileMatrix::Multiplied ( const math_Vector X,
math_Vector MX 
) const
virtual

returns the product of a SparseMatrix by a vector. An exception is raised if the dimensions are different

Implements FEmTool_SparseMatrix.

void FEmTool_ProfileMatrix::OutM ( ) const
void FEmTool_ProfileMatrix::OutS ( ) const
Standard_Boolean FEmTool_ProfileMatrix::Prepare ( )
virtual

Make Preparation to iterative solve.

Implements FEmTool_SparseMatrix.

Standard_Integer FEmTool_ProfileMatrix::RowNumber ( ) const
virtual

returns the row range of a matrix.

Implements FEmTool_SparseMatrix.

void FEmTool_ProfileMatrix::Solve ( const math_Vector B,
math_Vector X 
) const
virtual

Direct Solve of AX = B.

Implements FEmTool_SparseMatrix.

void FEmTool_ProfileMatrix::Solve ( const math_Vector B,
const math_Vector Init,
math_Vector X,
math_Vector Residual,
const Standard_Real  Tolerance = 1.0e-8,
const Standard_Integer  NbIterations = 50 
) const
virtual

Iterative solve of AX = B.

Implements FEmTool_SparseMatrix.


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