Open CASCADE Technology  7.5.0.beta
Public Member Functions
FEmTool_Assembly Class Reference

Assemble and solve system from (one dimensional) Finite Elements. More...

#include <FEmTool_Assembly.hxx>

Public Member Functions

 FEmTool_Assembly (const TColStd_Array2OfInteger &Dependence, const Handle< FEmTool_HAssemblyTable > &Table)
 
void NullifyMatrix ()
 Nullify all Matrix 's Coefficient. More...
 
void AddMatrix (const Standard_Integer Element, const Standard_Integer Dimension1, const Standard_Integer Dimension2, const math_Matrix &Mat)
 Add an elementary Matrix in the assembly Matrix if Dependence(Dimension1,Dimension2) is False. More...
 
void NullifyVector ()
 Nullify all Coordinate of assembly Vector (second member) More...
 
void AddVector (const Standard_Integer Element, const Standard_Integer Dimension, const math_Vector &Vec)
 Add an elementary Vector in the assembly Vector (second member) More...
 
void ResetConstraint ()
 Delete all Constraints. More...
 
void NullifyConstraint ()
 Nullify all Constraints. More...
 
void AddConstraint (const Standard_Integer IndexofConstraint, const Standard_Integer Element, const Standard_Integer Dimension, const math_Vector &LinearForm, const Standard_Real Value)
 
Standard_Boolean Solve ()
 Solve the assembly system Returns Standard_False if the computation failed. More...
 
void Solution (math_Vector &Solution) const
 
Standard_Integer NbGlobVar () const
 
void GetAssemblyTable (Handle< FEmTool_HAssemblyTable > &AssTable) const
 

Detailed Description

Assemble and solve system from (one dimensional) Finite Elements.

Constructor & Destructor Documentation

◆ FEmTool_Assembly()

FEmTool_Assembly::FEmTool_Assembly ( const TColStd_Array2OfInteger Dependence,
const Handle< FEmTool_HAssemblyTable > &  Table 
)

Member Function Documentation

◆ AddConstraint()

void FEmTool_Assembly::AddConstraint ( const Standard_Integer  IndexofConstraint,
const Standard_Integer  Element,
const Standard_Integer  Dimension,
const math_Vector LinearForm,
const Standard_Real  Value 
)

◆ AddMatrix()

void FEmTool_Assembly::AddMatrix ( const Standard_Integer  Element,
const Standard_Integer  Dimension1,
const Standard_Integer  Dimension2,
const math_Matrix Mat 
)

Add an elementary Matrix in the assembly Matrix if Dependence(Dimension1,Dimension2) is False.

◆ AddVector()

void FEmTool_Assembly::AddVector ( const Standard_Integer  Element,
const Standard_Integer  Dimension,
const math_Vector Vec 
)

Add an elementary Vector in the assembly Vector (second member)

◆ GetAssemblyTable()

void FEmTool_Assembly::GetAssemblyTable ( Handle< FEmTool_HAssemblyTable > &  AssTable) const

◆ NbGlobVar()

Standard_Integer FEmTool_Assembly::NbGlobVar ( ) const

◆ NullifyConstraint()

void FEmTool_Assembly::NullifyConstraint ( )

Nullify all Constraints.

◆ NullifyMatrix()

void FEmTool_Assembly::NullifyMatrix ( )

Nullify all Matrix 's Coefficient.

◆ NullifyVector()

void FEmTool_Assembly::NullifyVector ( )

Nullify all Coordinate of assembly Vector (second member)

◆ ResetConstraint()

void FEmTool_Assembly::ResetConstraint ( )

Delete all Constraints.

◆ Solution()

void FEmTool_Assembly::Solution ( math_Vector Solution) const

◆ Solve()

Standard_Boolean FEmTool_Assembly::Solve ( )

Solve the assembly system Returns Standard_False if the computation failed.


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