Open CASCADE Technology  7.1.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 ( const TColStd_Array2OfInteger Dependence,
const Handle< FEmTool_HAssemblyTable > &  Table 
)

Member Function Documentation

void FEmTool_Assembly::AddConstraint ( const Standard_Integer  IndexofConstraint,
const Standard_Integer  Element,
const Standard_Integer  Dimension,
const math_Vector LinearForm,
const Standard_Real  Value 
)
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.

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)

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

Nullify all Constraints.

void FEmTool_Assembly::NullifyMatrix ( )

Nullify all Matrix 's Coefficient.

void FEmTool_Assembly::NullifyVector ( )

Nullify all Coordinate of assembly Vector (second member)

void FEmTool_Assembly::ResetConstraint ( )

Delete all Constraints.

void FEmTool_Assembly::Solution ( math_Vector Solution) const
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: