Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
FEmTool_Assembly Class Reference

Assemble and solve system from (one dimensional) Finite Elements

#include <FEmTool_Assembly.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC FEmTool_Assembly (const TColStd_Array2OfInteger &Dependence, const Handle< FEmTool_HAssemblyTable > &Table)
void NullifyMatrix ()
 Nullify all Matrix 's Coefficient

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

void NullifyVector ()
 Nullify all Coordinate of assembly Vector (second member)

void AddVector (const Standard_Integer Element, const Standard_Integer Dimension, const math_Vector &Vec)
 Add an elementary Vector in the assembly Vector (second member)

void ResetConstraint ()
 Delete all Constraints.

void NullifyConstraint ()
 Nullify all Constraints.

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.

void Solution (math_Vector &Solution) const
Standard_Integer NbGlobVar () const
void GetAssemblyTable (Handle< FEmTool_HAssemblyTable > &AssTable) const

Constructor & Destructor Documentation


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 
)

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