escript
Revision_
|
#include <NodeMapping.h>
Public Member Functions | |
NodeMapping () | |
void | clear () |
resets both map and target More... | |
void | assign (const index_t *theTarget, dim_t nNodes, index_t unused) |
dim_t | getNumTargets () const |
returns the number of target nodes (number of items in the map array) More... | |
Public Attributes | |
dim_t | numNodes |
size of target (number of FEM nodes) More... | |
index_t * | target |
target[i] defines the target of FEM node i=0,...,numNodes More... | |
dim_t | numTargets |
size of map (number of target nodes, e.g. DOF, reduced DOF, etc.) More... | |
index_t * | map |
maps the target nodes back to the FEM nodes: target[map[i]]=i More... | |
NodeMapping provides a mapping from the local nodes typically to the degrees of freedom, the reduced degrees of freedom or the reduced node set
|
inline |
|
inline |
initializes a node mapping. The target array is copied and a reverse map created. theTarget[i]=unused means that no target is defined for FEM node i.
References clear(), dudley::util::getFlaggedMinMaxInt(), map, numNodes, numTargets, and target.
Referenced by dudley::NodeFile::createDOFMappingAndCoupling(), and dudley::NodeFile::createNodeMappings().
|
inline |
resets both map and target
References map, numNodes, numTargets, and target.
Referenced by assign(), and dudley::NodeFile::freeTable().
|
inline |
returns the number of target nodes (number of items in the map array)
References numTargets.
index_t* dudley::NodeMapping::map |
maps the target nodes back to the FEM nodes: target[map[i]]=i
Referenced by assign(), clear(), and dudley::NodeFile::createNodeMappings().
dim_t dudley::NodeMapping::numNodes |
dim_t dudley::NodeMapping::numTargets |
size of map
(number of target nodes, e.g. DOF, reduced DOF, etc.)
Referenced by assign(), clear(), dudley::NodeFile::createNodeMappings(), and getNumTargets().
index_t* dudley::NodeMapping::target |
target[i] defines the target of FEM node i=0,...,numNodes
Referenced by assign(), clear(), and dudley::NodeFile::print().