# OCC.FEmTool module

class `FEmTool_Assembly`(*args)

  Bases: `object`

  Parameters: | Dependence (TColStd_Array2OfInteger &) – Table (Handle_FEmTool_HAssemblyTable &) –
  Return type: | None

  `AddConstraint`()

    Parameters: | IndexofConstraint (int) – Element (int) – Dimension (int) – LinearForm (math_Vector &) – Value (float) –
    Return type: | None

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

    Parameters: | Element (int) – Dimension1 (int) – Dimension2 (int) – Mat (math_Matrix &) –
    Return type: | None

  `AddVector`()
    - Add an elementary Vector in the assembly Vector (second member)

    Parameters: | Element (int) – Dimension (int) – Vec (math_Vector &) –
    Return type: | None

  `GetAssemblyTable`()

    Parameters: | AssTable (Handle_FEmTool_HAssemblyTable &) –
    Return type: | None

  `NbGlobVar`()

    Return type: | int

  `NullifyConstraint`()
    - Nullify all Constraints.

    Return type: | None

  `NullifyMatrix`()
    - Nullify all Matrix ‘s Coefficient

    Return type: | None

  `NullifyVector`()
    - Nullify all Coordinate of assembly Vector (second member)

    Return type: | None

  `ResetConstraint`()
    - Delete all Constraints.

    Return type: | None

  `Solution`()

    Parameters: | Solution (math_Vector &) –
    Return type: | None

  `Solve`()
    - Solve the assembly system Returns Standard_False if the computation failed.

    Return type: | bool

  `thisown`

    The membership flag

class `FEmTool_AssemblyTable`(*args)

  Bases: `object`

  Parameters: | R1 (int) – R2 (int) – C1 (int) – C2 (int) – Item (Handle_TColStd_HArray1OfInteger &) – R1 – R2 – C1 – C2 –
  Return type: | None
  Return type: | None

  `Assign`()

    Parameters: | Other (FEmTool_AssemblyTable &) –
    Return type: | FEmTool_AssemblyTable

  `ChangeValue`()

    Parameters: | Row (int) – Col (int) –
    Return type: | Handle_TColStd_HArray1OfInteger

  `ColLength`()

    Return type: | int

  `Destroy`()

    Return type: | None

  `Init`()

    Parameters: | V (Handle_TColStd_HArray1OfInteger &) –
    Return type: | None

  `LowerCol`()

    Return type: | int

  `LowerRow`()

    Return type: | int

  `RowLength`()

    Return type: | int

  `Set`()

    Parameters: | Other (FEmTool_AssemblyTable &) –
    Return type: | FEmTool_AssemblyTable

  `SetValue`()

    Parameters: | Row (int) – Col (int) – Value (Handle_TColStd_HArray1OfInteger &) –
    Return type: | None

  `UpperCol`()

    Return type: | int

  `UpperRow`()

    Return type: | int

  `Value`()

    Parameters: | Row (int) – Col (int) –
    Return type: | Handle_TColStd_HArray1OfInteger

  `thisown`

    The membership flag

class `FEmTool_Curve`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Parameters: | Dimension (int) – NbElements (int) – TheBase (Handle_PLib_Base &) – Tolerance (float) –
  Return type: | None

  `Base`()

    Return type: | Handle_PLib_Base

  `D0`()

    Parameters: | U (float) – Pnt (TColStd_Array1OfReal &) –
    Return type: | None

  `D1`()

    Parameters: | U (float) – Vec (TColStd_Array1OfReal &) –
    Return type: | None

  `D2`()

    Parameters: | U (float) – Vec (TColStd_Array1OfReal &) –
    Return type: | None

  `Degree`()

    Parameters: | IndexOfElement (int) –
    Return type: | int

  `Dimension`()

    Return type: | int

  `GetElement`()

    Parameters: | IndexOfElement (int) – Coeffs (TColStd_Array2OfReal &) –
    Return type: | None

  `GetHandle`()
  `GetPolynom`()
    - returns coefficients of all elements in canonical base.

    Parameters: | Coeffs (TColStd_Array1OfReal &) –
    Return type: | None

  `Knots`()

    Return type: | TColStd_Array1OfReal

  `Length`()

    Parameters: | FirstU (float) – LastU (float) – Length (float &) –
    Return type: | None

  `NbElements`()

    Return type: | int

  `ReduceDegree`()

    Parameters: | IndexOfElement (int) – Tol (float) – NewDegree (int &) – MaxError (float &) –
    Return type: | None

  `SetDegree`()

    Parameters: | IndexOfElement (int) – Degree (int) –
    Return type: | None

  `SetElement`()

    Parameters: | IndexOfElement (int) – Coeffs (TColStd_Array2OfReal &) –
    Return type: | None

  `thisown`

    The membership flag

class `FEmTool_ElementaryCriterion`(*args, **kwargs)

  Bases: `OCC.MMgt.MMgt_TShared`

  `DependenceTable`()
    - To know if two dimension are independent.

    Return type: | Handle_TColStd_HArray2OfInteger

  `GetHandle`()
  `Gradient`()
    - To Compute the coefficients in the dimension <dim> of the J(E)’s Gradient where E is the current Element

    Parameters: | Dim (int) – G (math_Vector &) –
    Return type: | void

  `Hessian`()
    - To Compute J(E) the coefficients of Hessian matrix of J(E) wich are crossed derivatives in dimensions <Dim1> and <Dim2>. If DependenceTable(Dimension1,Dimension2) is False

    Parameters: | Dim1 (int) – Dim2 (int) – H (math_Matrix &) –
    Return type: | void

  `Set`()
    - Set the coefficient of the Element (the Curve)

    Parameters: | Coeff (Handle_TColStd_HArray2OfReal &) –
    Return type: | None

    - Set the definition interval of the Element

    Parameters: | FirstKnot (float) – LastKnot (float) –
    Return type: | void

  `Value`()
    - To Compute J(E) where E is the current Element

    Return type: | float

  `thisown`

    The membership flag

class `FEmTool_ElementsOfRefMatrix`(*args)

  Bases: `OCC.math.math_FunctionSet`

  Parameters: | TheBase (Handle_PLib_Base &) – DerOrder (int) –
  Return type: | None

  `thisown`

    The membership flag

class `FEmTool_HAssemblyTable`(*args)

  Bases: `OCC.MMgt.MMgt_TShared`

  Parameters: | R1 (int) – R2 (int) – C1 (int) – C2 (int) – R1 – R2 – C1 – C2 – V (Handle_TColStd_HArray1OfInteger &) –
  Return type: | None
  Return type: | None

  `Array2`()

    Return type: | FEmTool_AssemblyTable

  `ChangeArray2`()

    Return type: | FEmTool_AssemblyTable

  `ChangeValue`()

    Parameters: | Row (int) – Col (int) –
    Return type: | Handle_TColStd_HArray1OfInteger

  `ColLength`()

    Return type: | int

  `GetHandle`()
  `Init`()

    Parameters: | V (Handle_TColStd_HArray1OfInteger &) –
    Return type: | None

  `LowerCol`()

    Return type: | int

  `LowerRow`()

    Return type: | int

  `RowLength`()

    Return type: | int

  `SetValue`()

    Parameters: | Row (int) – Col (int) – Value (Handle_TColStd_HArray1OfInteger &) –
    Return type: | None

  `UpperCol`()

    Return type: | int

  `UpperRow`()

    Return type: | int

  `Value`()

    Parameters: | Row (int) – Col (int) –
    Return type: | Handle_TColStd_HArray1OfInteger

  `thisown`

    The membership flag

class `FEmTool_LinearFlexion`(*args)

  Bases: `OCC.FEmTool.FEmTool_ElementaryCriterion`

  Parameters: | WorkDegree (int) – ConstraintOrder (GeomAbs_Shape) –
  Return type: | None

  `GetHandle`()
  `thisown`

    The membership flag

class `FEmTool_LinearJerk`(*args)

  Bases: `OCC.FEmTool.FEmTool_ElementaryCriterion`

  Parameters: | WorkDegree (int) – ConstraintOrder (GeomAbs_Shape) –
  Return type: | None

  `GetHandle`()
  `thisown`

    The membership flag

class `FEmTool_LinearTension`(*args)

  Bases: `OCC.FEmTool.FEmTool_ElementaryCriterion`

  Parameters: | WorkDegree (int) – ConstraintOrder (GeomAbs_Shape) –
  Return type: | None

  `GetHandle`()
  `thisown`

    The membership flag

class `FEmTool_ListIteratorOfListOfVectors`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | L (FEmTool_ListOfVectors &) –
  Return type: | None

  `Initialize`()

    Parameters: | L (FEmTool_ListOfVectors &) –
    Return type: | None

  `More`()

    Return type: | bool

  `Next`()

    Return type: | None

  `Value`()

    Return type: | Handle_TColStd_HArray1OfReal

  `thisown`

    The membership flag

class `FEmTool_ListNodeOfListOfVectors`(*args)

  Bases: `OCC.TCollection.TCollection_MapNode`

  Parameters: | I (Handle_TColStd_HArray1OfReal &) – n (TCollection_MapNodePtr &) –
  Return type: | None

  `GetHandle`()
  `Value`()

    Return type: | Handle_TColStd_HArray1OfReal

  `thisown`

    The membership flag

class `FEmTool_ListOfVectors`(*args)

  Bases: `object`

  Return type: | None
  Parameters: | Other (FEmTool_ListOfVectors &) –
  Return type: | None

  `Append`()

    Parameters: | I (Handle_TColStd_HArray1OfReal &) – I – theIt (FEmTool_ListIteratorOfListOfVectors &) – Other (FEmTool_ListOfVectors &) –
    Return type: | None
    Return type: | None
    Return type: | None

  `Assign`()

    Parameters: | Other (FEmTool_ListOfVectors &) –
    Return type: | None

  `Clear`()

    Return type: | None

  `Extent`()

    Return type: | int

  `First`()

    Return type: | Handle_TColStd_HArray1OfReal

  `InsertAfter`()

    Parameters: | I (Handle_TColStd_HArray1OfReal &) – It (FEmTool_ListIteratorOfListOfVectors &) – Other (FEmTool_ListOfVectors &) – It –
    Return type: | None
    Return type: | None

  `InsertBefore`()

    Parameters: | I (Handle_TColStd_HArray1OfReal &) – It (FEmTool_ListIteratorOfListOfVectors &) – Other (FEmTool_ListOfVectors &) – It –
    Return type: | None
    Return type: | None

  `IsEmpty`()

    Return type: | bool

  `Last`()

    Return type: | Handle_TColStd_HArray1OfReal

  `Prepend`()

    Parameters: | I (Handle_TColStd_HArray1OfReal &) – I – theIt (FEmTool_ListIteratorOfListOfVectors &) – Other (FEmTool_ListOfVectors &) –
    Return type: | None
    Return type: | None
    Return type: | None

  `Remove`()

    Parameters: | It (FEmTool_ListIteratorOfListOfVectors &) –
    Return type: | None

  `RemoveFirst`()

    Return type: | None

  `Set`()

    Parameters: | Other (FEmTool_ListOfVectors &) –
    Return type: | None

  `thisown`

    The membership flag

class `FEmTool_ProfileMatrix`(*args)

  Bases: `OCC.FEmTool.FEmTool_SparseMatrix`

  Parameters: | FirstIndexes (TColStd_Array1OfInteger &) –
  Return type: | None

  `GetHandle`()
  `IsInProfile`()

    Parameters: | i (int) – j (int) –
    Return type: | bool

  `OutM`()

    Return type: | None

  `OutS`()

    Return type: | None

  `Solve`()
    - Direct Solve of AX = B

    Parameters: | B (math_Vector &) – X (math_Vector &) –
    Return type: | None

    - Iterative solve of AX = B

    Parameters: | B (math_Vector &) – Init (math_Vector &) – X (math_Vector &) – Residual (math_Vector &) – Tolerance (float) – default value is 1.0e-8 NbIterations (int) – default value is 50
    Return type: | None

  `thisown`

    The membership flag

class `FEmTool_SeqOfLinConstr`(*args)

  Bases: `OCC.TCollection.TCollection_BaseSequence`

  Return type: | None
  Parameters: | Other (FEmTool_SeqOfLinConstr &) –
  Return type: | None

  `Append`()

    Parameters: | T (FEmTool_ListOfVectors &) – S (FEmTool_SeqOfLinConstr &) –
    Return type: | None
    Return type: | None

  `Assign`()

    Parameters: | Other (FEmTool_SeqOfLinConstr &) –
    Return type: | FEmTool_SeqOfLinConstr

  `ChangeValue`()

    Parameters: | Index (int) –
    Return type: | FEmTool_ListOfVectors

  `Clear`()

    Return type: | None

  `First`()

    Return type: | FEmTool_ListOfVectors

  `InsertAfter`()

    Parameters: | Index (int) – T (FEmTool_ListOfVectors &) – Index – S (FEmTool_SeqOfLinConstr &) –
    Return type: | None
    Return type: | None

  `InsertBefore`()

    Parameters: | Index (int) – T (FEmTool_ListOfVectors &) – Index – S (FEmTool_SeqOfLinConstr &) –
    Return type: | None
    Return type: | None

  `Last`()

    Return type: | FEmTool_ListOfVectors

  `Prepend`()

    Parameters: | T (FEmTool_ListOfVectors &) – S (FEmTool_SeqOfLinConstr &) –
    Return type: | None
    Return type: | None

  `Remove`()

    Parameters: | Index (int) – FromIndex (int) – ToIndex (int) –
    Return type: | None
    Return type: | None

  `Set`()

    Parameters: | Other (FEmTool_SeqOfLinConstr &) –
    Return type: | FEmTool_SeqOfLinConstr

  `SetValue`()

    Parameters: | Index (int) – I (FEmTool_ListOfVectors &) –
    Return type: | None

  `Split`()

    Parameters: | Index (int) – Sub (FEmTool_SeqOfLinConstr &) –
    Return type: | None

  `Value`()

    Parameters: | Index (int) –
    Return type: | FEmTool_ListOfVectors

  `thisown`

    The membership flag

class `FEmTool_SequenceNodeOfSeqOfLinConstr`(*args)

  Bases: `OCC.TCollection.TCollection_SeqNode`

  Parameters: | I (FEmTool_ListOfVectors &) – n (TCollection_SeqNodePtr &) – p (TCollection_SeqNodePtr &) –
  Return type: | None

  `GetHandle`()
  `Value`()

    Return type: | FEmTool_ListOfVectors

  `thisown`

    The membership flag

class `FEmTool_SparseMatrix`(*args, **kwargs)

  Bases: `OCC.MMgt.MMgt_TShared`

  `ChangeValue`()

    Parameters: | I (int) – J (int) –
    Return type: | float

  `ColNumber`()
    - returns the column range of the matrix.

    Return type: | int

  `Decompose`()
    - To make a Factorization of <self>

    Return type: | bool

  `GetHandle`()
  `Init`()

    Parameters: | Value (float) –
    Return type: | void

  `Multiplied`()
    - returns the product of a SparseMatrix by a vector. An exception is raised if the dimensions are different

    Parameters: | X (math_Vector &) – MX (math_Vector &) –
    Return type: | void

  `Prepare`()
    - Make Preparation to iterative solve

    Return type: | bool

  `RowNumber`()
    - returns the row range of a matrix.

    Return type: | int

  `Solve`()
    - Direct Solve of AX = B

    Parameters: | B (math_Vector &) – X (math_Vector &) –
    Return type: | void

    - Iterative solve of AX = B

    Parameters: | B (math_Vector &) – Init (math_Vector &) – X (math_Vector &) – Residual (math_Vector &) – Tolerance (float) – default value is 1.0e-8 NbIterations (int) – default value is 50
    Return type: | void

  `thisown`

    The membership flag

class `Handle_FEmTool_Curve`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_FEmTool_ElementaryCriterion`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_FEmTool_HAssemblyTable`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_FEmTool_LinearFlexion`(*args)

  Bases: `OCC.FEmTool.Handle_FEmTool_ElementaryCriterion`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_FEmTool_LinearJerk`(*args)

  Bases: `OCC.FEmTool.Handle_FEmTool_ElementaryCriterion`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_FEmTool_LinearTension`(*args)

  Bases: `OCC.FEmTool.Handle_FEmTool_ElementaryCriterion`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_FEmTool_ListNodeOfListOfVectors`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_MapNode`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_FEmTool_ProfileMatrix`(*args)

  Bases: `OCC.FEmTool.Handle_FEmTool_SparseMatrix`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_FEmTool_SequenceNodeOfSeqOfLinConstr`(*args)

  Bases: `OCC.TCollection.Handle_TCollection_SeqNode`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `Handle_FEmTool_SparseMatrix`(*args)

  Bases: `OCC.MMgt.Handle_MMgt_TShared`

  static `DownCast`()
  `GetObject`()
  `IsNull`()
  `Nullify`()
  `thisown`

    The membership flag

class `SwigPyIterator`(*args, **kwargs)

  Bases: `object`

  `advance`()
  `copy`()
  `decr`()
  `distance`()
  `equal`()
  `incr`()
  `next`()
  `previous`()
  `thisown`

    The membership flag

  `value`()

`register_handle`(handle, base_object)

  Inserts the handle into the base object to prevent memory corruption in certain cases