35 #include "../sm/FETISolver/fetiboundarydofman.h" 42 FETIBoundaryDofManager :: FETIBoundaryDofManager() : partitions(), codeNumbers()
74 partitionToAdd.
at(1) = partitionNumber;
93 for ( i = 1; i <= size; i++ ) {
97 return equationCounter;
119 if ( ( dof_num < 1 ) || ( dof_num >
ndofs ) ) {
145 for ( i = 1; i <=
ndofs; i++ ) {
IntArray partitions
List of partitions sharing dof manager.
int giveCodeNumber(int partition_num, int dof_num)
Returns code number corresponding to partition number partition_num and to dof_num-th DOF...
int globalNumber
Associated global number of dofManager.
void addPartition(int partitionNumber)
Adds partition to list of partitions, sharing this dof manager.
int giveCompleteLocationArray(int rank, IntArray &locationArray)
Returns code numbers for all DOFs associated with shared partition.
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
int referencePartition
Reference partition is partition to which other partitions sharing the dof manager are linked using l...
void resize(int n)
Checks size of receiver towards requested bounds.
int ndofs
Number of nonprescribed dofs, i.e, those, for which equation is necessary.
Represent the abstraction for DOF manager.
IntArray codeNumbers
Contains code numbers for each linked partition for each DOF (ndofs*(numberOfPartitions-1) DOFs)...
void followedBy(const IntArray &b, int allocChunk=0)
Appends array b at the end of receiver.
int numberOfPartitions
Total number of partitions sharing receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
int setCodeNumbers(int &equationCounter)
Associates the equation numbers to particular DOFs.