163 std::vector< Dof* > :: const_iterator
begin()
const {
return dofArray.begin(); }
164 std::vector< Dof* > :: const_iterator
end()
const {
return dofArray.end(); }
183 Dof *giveDofWithID(
int dofID)
const;
185 int giveNumberOfDofs()
const;
188 void askNewEquationNumbers(
TimeStep *tStep);
195 int giveNumberOfPrimaryMasterDofs(
const IntArray &dofIDArray)
const;
217 void giveMasterDofIDArray(
const IntArray &dofIDArry,
IntArray &masterDofIDs)
const;
231 void giveCompleteMasterDofIDArray(
IntArray &dofIDArray)
const;
238 std :: vector< Dof* > :: const_iterator findDofWithDofId(
DofIDItem dofID)
const;
253 void giveUnknownVector(
FloatArray &answer,
const IntArray &dofMask, ValueModeType mode,
TimeStep *tStep,
bool padding =
false);
277 void giveCompleteUnknownVector(
FloatArray &answer, ValueModeType mode,
TimeStep *tStep);
307 ValueModeType mode,
TimeStep *tStep);
354 virtual bool requiresTransformation();
384 if ( i > this->coordinates.
giveSize() ) {
387 return this->coordinates.
at(i);
395 this->coordinates = coords;
430 void printOutputAt(FILE *file,
TimeStep *tStep)
override;
435 virtual void updateYourself(
TimeStep *tStep);
446 virtual bool hasAnySlaveDofs();
454 virtual bool giveMasterDofMans(
IntArray &masters);
457 void initializeFrom(
InputRecord &ir,
int priority)
override;
458 void initializeFinish()
override;
459 void postInitialize()
override;
463 void printYourself()
override;
485 void setNumberOfDofs(
int _ndofs);
494 void appendDof(
Dof *dof);
538 int _pos =
partitions.findFirstIndexOf(_part);
544 void mergePartitionList(
IntArray &_p);
548 int givePartitionsConnectivitySize();
IntArray dofidmask
List of additional dof ids to include.
static ParamKey IPK_DofManager_remoteflag
static ParamKey IPK_DofManager_dofidmask
static ParamKey IPK_DofManager_mastermask
static ParamKey IPK_DofManager_nullflag
void setPartitionList(const IntArray *_p)
void setCoordinates(const FloatArray &coords)
Set coordinates.
std ::map< int, int > * giveBcMap()
int giveGlobalNumber() const
void setBoundaryFlag(bool isBoundary)
dofManagerParallelMode parallel_mode
void removePartitionFromList(int _part)
Removes given partition from receiver list.
bool hasSlaveDofs
Flag indicating whether receiver has slave DOFs.
const char * giveInputRecordName() const override
const char * giveClassName() const override
bool isShared()
Returns true if receiver is shared.
bool isNull()
Returns true if receiver is shared.
IntArray loadArray
List of applied loads.
static ParamKey IPK_DofManager_boundaryflag
std::vector< Dof * >::const_iterator end() const
std ::map< int, int > dofICmap
Map from DofIDItem to ic (to be removed).
const IntArray * giveForcedDofIDs()
double giveCoordinate(int i) const
static ParamKey IPK_DofManager_doftypemask
std::vector< Dof * >::const_iterator begin() const
static ParamKey IPK_DofManager_globnum
std ::map< int, int > dofMastermap
Map from DofIDItem to master node.
static ParamKey IPK_DofManager_load
std ::map< int, int > * giveIcMap()
std ::map< int, int > dofTypemap
Map from DofIDItem to dofType.
static ParamKey IPK_DofManager_partitions
const FloatArray & giveCoordinates() const
virtual bool isDofTypeCompatible(dofType type) const
Returns true if dof of given type is allowed to be associated to receiver.
std::vector< Dof * > dofArray
Array of DOFs.
virtual void drawYourself(oofegGraphicContext &gc, TimeStep *tStep)
std ::map< int, int > dofBCmap
Map from DofIDItem to bc (to be removed).
std::vector< Dof * >::iterator begin()
std::vector< Dof * >::iterator end()
std ::map< int, int > * giveMasterMap()
void initializeFrom(InputRecord &ir) override
DofManager(int n, Domain *aDomain)
const IntArray * givePartitionList()
std ::map< int, int > * giveDofTypeMap()
void setGlobalNumber(int newNumber)
static ParamKey IPK_DofManager_ic
dofManagerParallelMode giveParallelMode() const
static ParamKey IPK_DofManager_bc
void setParallelMode(dofManagerParallelMode _mode)
FloatArray coordinates
Array storing nodal coordinates.
static ParamKey IPK_DofManager_sharedflag
FEMComponent(int n, Domain *d)
Index giveSize() const
Returns the size of receiver.
dofManagerParallelMode
In parallel mode, this type indicates the mode of DofManager.
dofType
Dof Type, determines the type of DOF created.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]