![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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. | |
Assemble and solve system from (one dimensional) Finite Elements.
| FEmTool_Assembly::FEmTool_Assembly | ( | const NCollection_Array2< int > & | Dependence, |
| const occ::handle< NCollection_HArray2< occ::handle< NCollection_HArray1< int > > > > & | Table ) |
| void FEmTool_Assembly::AddConstraint | ( | const int | IndexofConstraint, |
| const int | Element, | ||
| const int | Dimension, | ||
| const math_Vector & | LinearForm, | ||
| const double | Value ) |
| 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.
| void FEmTool_Assembly::AddVector | ( | const int | Element, |
| const int | Dimension, | ||
| const math_Vector & | Vec ) |
Add an elementary Vector in the assembly Vector (second member)
|
inline |
Returns the assembly table mapping element-local indices to global indices.
| void FEmTool_Assembly::GetAssemblyTable | ( | occ::handle< NCollection_HArray2< occ::handle< NCollection_HArray1< int > > > > & | AssTable | ) | const |
Returns the assembly table via output parameter.
Use AssemblyTable() returning const reference instead.
("Use AssemblyTable() returning const reference instead")
| int 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 |
| bool FEmTool_Assembly::Solve | ( | ) |
Solve the assembly system Returns false if the computation failed.