ConstantSparsityPatternSystem

Context: Sofa.Component.LinearSystem

Linear system taking advantage of the constant sparsity pattern of the global matrix to speed up the matrix assembly. Do not use if sparsity pattern is not constant (topological changes, …).

Data:
  • name : object name

  • printLog : if true, emits extra messages at runtime.

  • tags : list of the subsets the objet belongs to

  • bbox : this object bounding box

  • componentState : The state of the component among (Dirty, Valid, Undefined, Loading, Invalid).

  • listening : if true, handle the events, otherwise ignore the events

  • matrixSize : Size of the global matrix

  • assembleStiffness : If true, the stiffness is added to the global matrix

  • assembleMass : If true, the mass is added to the global matrix

  • assembleDamping : If true, the damping is added to the global matrix

  • assembleGeometricStiffness : If true, the geometric stiffness of mappings is added to the global matrix

  • applyProjectiveConstraints : If true, projective constraints are applied on the global matrix

  • applyMappedComponents : If true, mapped components contribute to the global matrix

  • checkIndices : If true, indices are verified before being added in to the global matrix, favoring security over speed

  • parallelAssemblyIndependentMatrices : If true, independent matrices (global matrix vs mapped matrices) are assembled in parallel

Links:
  • context : Graph Node containing this object (or BaseContext::getDefault() if no graph is used

  • slaves : Sub-objects used internally by this object

  • master : nullptr for regular objects, or master object for which this object is one sub-objects