FemProcess
The GeMA Fem Process Plugin
Public Attributes | List of all members
GmpFemAssembler::TemplateData Struct Reference

Struct storing node metadata information. More...

Collaboration diagram for GmpFemAssembler::TemplateData:
Collaboration graph
[legend]

Public Attributes

int _dofMap [GM_MAX_DOF]
 
int _nFreeDof
 The number of "free" degrees of freedom in _dofMap (values >= 0 && < MAX_DOF)
 
QVector< int > _sv
 List of indices in _stateVars for every non -1 value in _dofMap, organized so that the _ndof "free" degrees of freedom appear at the begining of the list, in the same order that they appear in _dofMap, followed by the "fixed" dof entries. Keep in mind that this list can have repeated values when working with vector state vars.
 
QVector< int > _svOffset
 Vector with size equal to _sv, storing the offset of this degree of freedom inside the state variable given by _sv. Can be different from zero only if the state variable is a vector. For any list entry 'i'. If the stored offset is equal to -1, then the offset for this dof is 0 and all dofs for this state variable are being maped in sequential positions, so a read/write operation can load/store the values of all the state var dofs in a single operation (and skip the next 'n' vector entries, where 'n' is the state var dimension - 1). Other values mean that only that state var dimension should be load/stored. if 'i' >= _nFreeDof, the value i - _nfreeDof will be equal to the offset in the _fixedValues vector of the corresponding dof.
 

Detailed Description

Struct storing node metadata information.

Member Data Documentation

◆ _dofMap

int GmpFemAssembler::TemplateData::_dofMap[GM_MAX_DOF]

A vector that translates dof numbers into offsets (-1 for unbound dof). Values < MAX_DOF are matrix column offsets. Values >= MAX_DOF are offsets in the _fixedValues vector.


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