Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 NCollection_Array2< int > &Dependence, const occ::handle< NCollection_HArray2< occ::handle< NCollection_HArray1< int > > > > &Table)
 
void NullifyMatrix ()
 Nullify all Matrix's Coefficient.
 
void AddMatrix (const int Element, const int Dimension1, const int 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 int Element, const int 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 int IndexofConstraint, const int Element, const int Dimension, const math_Vector &LinearForm, const double Value)
 
bool Solve ()
 Solve the assembly system Returns false if the computation failed.
 
void Solution (math_Vector &Solution) const
 
int NbGlobVar () const
 
const occ::handle< NCollection_HArray2< occ::handle< NCollection_HArray1< int > > > > & AssemblyTable () const
 Returns the assembly table mapping element-local indices to global indices.
 
void GetAssemblyTable (occ::handle< NCollection_HArray2< occ::handle< NCollection_HArray1< int > > > > &AssTable) const
 Returns the assembly table via output parameter.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FEmTool_Assembly()

FEmTool_Assembly::FEmTool_Assembly ( const NCollection_Array2< int > & Dependence,
const occ::handle< NCollection_HArray2< occ::handle< NCollection_HArray1< int > > > > & Table )

Member Function Documentation

◆ AddConstraint()

void FEmTool_Assembly::AddConstraint ( const int IndexofConstraint,
const int Element,
const int Dimension,
const math_Vector & LinearForm,
const double Value )

◆ AddMatrix()

void FEmTool_Assembly::AddMatrix ( const int Element,
const int Dimension1,
const int 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 int Element,
const int Dimension,
const math_Vector & Vec )

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

◆ AssemblyTable()

const occ::handle< NCollection_HArray2< occ::handle< NCollection_HArray1< int > > > > & FEmTool_Assembly::AssemblyTable ( ) const
inline

Returns the assembly table mapping element-local indices to global indices.

Returns
const reference to the assembly table

◆ GetAssemblyTable()

void FEmTool_Assembly::GetAssemblyTable ( occ::handle< NCollection_HArray2< occ::handle< NCollection_HArray1< int > > > > & AssTable) const

Returns the assembly table via output parameter.

Deprecated

Use AssemblyTable() returning const reference instead.

("Use AssemblyTable() returning const reference instead")

◆ NbGlobVar()

int 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()

bool FEmTool_Assembly::Solve ( )

Solve the assembly system Returns false if the computation failed.


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