|
OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
#include <parallelordering.h>
Inheritance diagram for oofem::ParallelOrdering:Public Member Functions | |
| ParallelOrdering () | |
| virtual | ~ParallelOrdering () |
| bool | isLocal (DofManager *dman) |
| Returns true if given DofManager is local (ie maintained by the receiver processor). More... | |
| bool | isShared (DofManager *dman) |
| Returns true if given DofManager is shared between partitions. More... | |
| virtual void | init (EngngModel *em, int di, const UnknownNumberingScheme &u)=0 |
| Initiates the receiver. More... | |
| virtual int | giveNumberOfLocalEqs () |
| Returns number of local eqs; ie. More... | |
| virtual int | giveNumberOfGlobalEqs () |
| virtual int | giveNewEq (int leq)=0 |
| Finds the global equation from a local equation. More... | |
| virtual int | giveOldEq (int eq)=0 |
| Finds the local equation number from a global equation. More... | |
| virtual void | map2New (IntArray &answer, const IntArray &src, int baseOffset=0)=0 |
| virtual void | map2Old (IntArray &answer, const IntArray &src, int baseOffset=0)=0 |
Definition at line 49 of file parallelordering.h.
|
inline |
Definition at line 52 of file parallelordering.h.
|
inlinevirtual |
Definition at line 53 of file parallelordering.h.
|
pure virtual |
Finds the global equation from a local equation.
| leq | Local equation number. |
Implemented in oofem::Natural2LocalOrdering, and oofem::Natural2GlobalOrdering.
|
inlinevirtual |
Reimplemented in oofem::Natural2GlobalOrdering.
Definition at line 77 of file parallelordering.h.
|
inlinevirtual |
Returns number of local eqs; ie.
those that belong to receiver processor; Note that some eqs may be owned by remote processors (some shared nodes,...). The sum of local eqs for all processors should give total number of eqs.
Reimplemented in oofem::Natural2GlobalOrdering.
Definition at line 73 of file parallelordering.h.
|
pure virtual |
Finds the local equation number from a global equation.
| eq | Global equation number. |
Implemented in oofem::Natural2LocalOrdering, and oofem::Natural2GlobalOrdering.
|
pure virtual |
Initiates the receiver.
| em | Engineering model to determine general information about the problem. |
| di | Domain index. |
Implemented in oofem::Natural2LocalOrdering, and oofem::Natural2GlobalOrdering.
| bool oofem::ParallelOrdering::isLocal | ( | DofManager * | dman | ) |
Returns true if given DofManager is local (ie maintained by the receiver processor).
Definition at line 44 of file parallelordering.C.
References oofem::DofManager_local, oofem::DofManager_shared, oofem::FEMComponent::giveDomain(), oofem::Domain::giveEngngModel(), oofem::DofManager::giveParallelMode(), oofem::DofManager::givePartitionList(), oofem::EngngModel::giveRank(), and oofem::IntArray::minimum().
Referenced by oofem::Natural2GlobalOrdering::init(), and oofem::Natural2LocalOrdering::init().
| bool oofem::ParallelOrdering::isShared | ( | DofManager * | dman | ) |
Returns true if given DofManager is shared between partitions.
Definition at line 61 of file parallelordering.C.
References oofem::DofManager_shared, and oofem::DofManager::giveParallelMode().
Referenced by oofem::Natural2GlobalOrdering::init().
|
pure virtual |
Implemented in oofem::Natural2LocalOrdering, and oofem::Natural2GlobalOrdering.
|
pure virtual |
Implemented in oofem::Natural2LocalOrdering, and oofem::Natural2GlobalOrdering.