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

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

#include <gmpFemAssemblerAdder.h>

Inheritance diagram for GmpFemAssemblerVectorAdder:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ addData()

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

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

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

Parameters
nThe number of rows in a local vector
indexMapMap translating local row indices into global indices
dofMapA map that can be used to identify the dof number associated with a local row 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 GmpFemAssemblerDebugVectorAdder, GmpFemAssemblerSingleVectorAdderWithReduction, GmpFemAssemblerSingleVectorAdderNoReduction, GmpFemAssemblerMatchingVectorAdderWithReduction, and GmpFemAssemblerMatchingVectorAdderNoReduction.


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