35 #ifndef parallelordering_h 36 #define parallelordering_h 47 class UnknownNumberingScheme;
84 virtual int giveNewEq(
int leq) = 0;
90 virtual int giveOldEq(
int eq) = 0;
92 virtual void map2New(
IntArray &answer,
const IntArray &src,
int baseOffset = 0) = 0;
93 virtual void map2Old(
IntArray &answer,
const IntArray &src,
int baseOffset = 0) = 0;
117 virtual int giveNewEq(
int leq);
118 virtual int giveOldEq(
int eq);
120 virtual void map2New(
IntArray &answer,
const IntArray &src,
int baseOffset = 0);
121 virtual void map2Old(
IntArray &answer,
const IntArray &src,
int baseOffset = 0);
145 virtual int giveNewEq(
int leq);
146 virtual int giveOldEq(
int eq);
148 virtual void map2New(
IntArray &answer,
const IntArray &src,
int baseOffset = 0);
149 virtual void map2Old(
IntArray &answer,
const IntArray &src,
int baseOffset = 0);
155 #endif // parallelordering_h virtual ~Natural2LocalOrdering()
int giveNumberOfLocalEqs()
Returns number of local eqs; ie.
Ordering from oofem natural ordering (includes all local and shared eqs) to local ordering...
Base class for dof managers.
Ordering from oofem natural ordering (includes all local and shared eqs) to global ordering...
Class implementing an array of integers.
IntArray n2l
Natural to local.
virtual int giveNumberOfGlobalEqs()
Abstract base class allowing to control the way, how equations are assigned to individual DOFs...
virtual ~ParallelOrdering()
int l_neqs
Number of local and global eqs.
virtual ~Natural2GlobalOrdering()
int giveNumberOfGlobalEqs()
Abstract base class representing the "problem" under consideration.
the oofem namespace is to define a context or scope in which all oofem names are defined.
std::map< int, int > globLocMap
New to old mapping.
virtual int giveNumberOfLocalEqs()
Returns number of local eqs; ie.
IntArray locGlobMap
Old to new mapping; uses 0-based global eq ordering; 1-based local ordering.