FemProcess
The GeMA Fem Process Plugin
Public Member Functions | List of all members
GmpFemAssemblerMatrixAdder Class Referenceabstract

Interface for an object responsible for assemblying local matrices into global matrices. Several strategies can be implemented on derived classes acording to the assembler / matrix set configurations. More...

#include <gmpFemAssemblerAdder.h>

Inheritance diagram for GmpFemAssemblerMatrixAdder:
Inheritance graph
[legend]

Public Member Functions

virtual void addData (int n, const int *indexMap, const GmDofMap *dofMap, const GmpFemAssemblerMatrixCombiner *combiner, GmpFemLocker *locker)=0
 Virtual function responsible for assembling data from an element's local matrices to the target global matrix / matrices. More...
 

Detailed Description

Interface for an object responsible for assemblying local matrices into global matrices. Several strategies can be implemented on derived classes acording to the assembler / matrix set configurations.

Member Function Documentation

◆ addData()

virtual void GmpFemAssemblerMatrixAdder::addData ( int  n,
const int *  indexMap,
const GmDofMap dofMap,
const GmpFemAssemblerMatrixCombiner combiner,
GmpFemLocker locker 
)
pure virtual

Virtual function responsible for assembling data from an element's local matrices to the target global matrix / matrices.

Local matrix data and the target global matrices should be gathered from the matrix set that should have been configured in the object during its construction.

Parameters
nThe number of columns in a local matrix
indexMapMap translating local row/column indices into global indices
dofMapA map that can be used to identify the dof number associated with a local row/column index
combinerAn optional combiner object to be used by the function
lockerThe locker object that should be used to control concurrent access, if needed. Can be NULL.

Implemented in GmpFemAssemblerDebugMatrixAdder, GmpFemAssemblerSingleMatrixAdderWithReduction, GmpFemAssemblerSingleMatrixAdderNoReduction, GmpFemAssemblerMatchingMatrixAdderWithReduction, and GmpFemAssemblerMatchingMatrixAdderNoReduction.


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