![]() |
FemProcess
The GeMA Fem Process Plugin
|
Basic interface for defining the rules used to combine information from multiple vectors into a single equivalent vector. More...
#include <gmpFemAssemblerCombiner.h>
Public Member Functions | |
virtual double | localVectorsToGlobalVectorContribution (const double *localVectorData, int dof) const =0 |
Virtual method to provide the equivalent contribution resulting from combining several local vector entries into the values that should be assembled in the equivalent global vector. For each element, will be called for each local vector row, receiving as parameters the local value of each configured local vector, returning the equivalent merged value that will be added to the global vector. More... | |
Basic interface for defining the rules used to combine information from multiple vectors into a single equivalent vector.
|
pure virtual |
Virtual method to provide the equivalent contribution resulting from combining several local vector entries into the values that should be assembled in the equivalent global vector. For each element, will be called for each local vector row, receiving as parameters the local value of each configured local vector, returning the equivalent merged value that will be added to the global vector.
The localVectorData vector stores the local vector values for the current vector position. It should be indexed by vector type (like localVectorData[GmpFemVector_Fe]). The dof parameter provides the dof number (from 0 to GM_MAX_DOF) of the current vector entry being assembled.
The function should return the equivalent value.
IMPORTANT: when indexing localVectorData, make sure that you are indexing it with a valid type for the registered vector set. If the type was NOT filled by the physics, its value will be equal to 0.0.