#include <dofmanager.h>


Public Member Functions | |
| DofManager (int n, Domain *aDomain) | |
| Constructor. | |
| ~DofManager () | |
| Destructor. | |
| void | printOutputAt (FILE *, TimeStep *) |
| Prints output of receiver to stream, for given time step. | |
| void | updateYourself (TimeStep *) |
| updates receiver after equlibrium in time step has been reached. | |
| bool | isBoundary () |
| void | setBoundaryFlag (bool _b) |
| virtual int | hasAnySlaveDofs () |
| Returns true if receiver contains slave dofs. | |
| virtual bool | giveMasterDofMans (IntArray &masters) |
| Returns true if the receiver is linked (its slave DOFs depend on master values) to some other dof managers. | |
| DofManager * | ofType (char *) |
| Returns a newly allocated DofManager, with type depending on parameter. | |
| const char * | giveClassName () const |
| Returns class name of the receiver. | |
| classType | giveClassID () const |
| Returns classType id of receiver. | |
| IRResultType | initializeFrom (InputRecord *ir) |
| Initializes receiver acording to object description stored in input record. | |
| void | printYourself () |
| prints receiver state on stdout. Usefull for debuging. | |
| virtual contextIOResultType | saveContext (DataStream *stream, ContextMode mode, void *obj=NULL) |
| Stores receiver state to output stream. | |
| virtual contextIOResultType | restoreContext (DataStream *stream, ContextMode mode, void *obj=NULL) |
| Restores the receiver state previously written in stream. | |
| virtual bool | isDofTypeCompatible (dofType type) const |
| Returns true if dof of given type is allowed to be associated to receiver. | |
| virtual int | checkConsistency () |
| Checks internal data consistency in node. | |
| virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
| Local renumbering support. | |
| void | addDof (int i, Dof *dof) |
| Adds a Dof to i-th position in dofArray. | |
| bool | hasDofID (int id) |
| int | giveGlobalNumber () const |
| Returns receiver globally unique number. | |
| int | giveLabel () const |
| void | setGlobalNumber (int _number) |
| sets receiver global number | |
| dofManagerParallelMode | giveParallelMode () const |
| Return dofManagerParallelMode of receiver. | |
| void | setParallelMode (dofManagerParallelMode _mode) |
| Sets parallel mode of receiver. | |
| int | packDOFsUnknowns (CommunicationBuffer &buff, EquationID type, ValueModeType mode, TimeStep *stepN) |
| Packs specific DOF Manager's dofs unknowns into communication buffer. | |
| const IntArray * | givePartitionList () |
| Returns partition list of receiver. | |
| void | setPartitionList (const IntArray *_p) |
| Sets receiver's partition list. | |
| void | removePartitionFromList (int _part) |
| Removes given partition from receiver list. | |
| void | mergePartitionList (IntArray &_p) |
| Merges receiver partition list with given lists. | |
| const int | givePartitionsConnectivitySize () |
| Returns number of partitions sharing given receiver (=number of shared partitions + local one). | |
| bool | isLocal () |
| Returns true if receiver is locally maintained. | |
| bool | isShared () |
| Returns true if receiver is shared. | |
Dof management methods | |
| Dof * | giveDof (int i) const |
| Returns reference (pointer) to i-th dof of receiver. | |
| Dof * | giveDofWithID (int dofID) const |
| Returns DOF with given dofID; issues error if not present. | |
| int | giveNumberOfDofs () const |
| Returns total number of dofs managed by receiver. | |
| int | giveNumberOfPrimaryMasterDofs (IntArray &dofArray) const |
| Returns the number of primary dofs on which receiver dofs (given in dofArray) depend on. | |
| virtual void | giveLocationArray (const IntArray &dofIDArry, IntArray &locationArray, const UnknownNumberingScheme &s) const |
| Returns location array (array containing for each requested dof related equation number) for given numbering scheme. | |
| virtual void | giveCompleteLocationArray (IntArray &locationArray, const UnknownNumberingScheme &s) const |
| Returns full location array of receiver containing equation numbers of all dofs of receiver. | |
| void | giveDofArray (const IntArray &dofIDArry, IntArray &answer) const |
| Returns DOFs numbers of receiver with required physical meaning. | |
| int | findDofWithDofId (DofID dofID) const |
| Finds index of DOF with required physical meaning of receiver. | |
| virtual void | giveUnknownVector (FloatArray &answer, const IntArray &dofMask, EquationID type, ValueModeType mode, TimeStep *stepN) |
| Assembles the vector of unknowns in nodal c.s for given dofs of receiver. | |
| virtual void | giveUnknownVector (FloatArray &answer, const IntArray &dofMask, PrimaryField &field, ValueModeType mode, TimeStep *stepN) |
| Assembles the vector of unknowns of given filed in nodal c.s for given dofs of receiver. | |
| virtual void | givePrescribedUnknownVector (FloatArray &answer, const IntArray &dofMask, ValueModeType mode, TimeStep *stepN) |
| Assembles the vector of prescribed unknowns in nodal c.s for given dofs of receiver. | |
Transformation functions | |
The governing equations can be assembled not only in global coordinate system, but also in user-defined local coordinate system of each dof manager.
Methods in this section introduce necessary transformation methods, allowing receiver dofs to be expressed in their own local c.s. or to be dependent on other dofs on other dofManager (to implement slave or rigid arm nodes etc.). The method for computing global c.s to receiver c.s transformation matrix is provided. | |
| virtual void | computeDofTransformation (FloatMatrix &answer, const IntArray *dofIDArry, DofManTransfType mode) |
| Computes receiver transformation matrix from global cs. | |
| virtual void | computeLoadTransformation (FloatMatrix &answer, const IntArray *dofIDArry, DofManTransfType mode) |
| virtual int | requiresTransformation () |
| Indicates, whether dofManager requires the transformation from global c.s. | |
Load related functions | |
| virtual void | computeLoadVectorAt (FloatArray &answer, TimeStep *stepN, ValueModeType mode) |
| Computes the load vector of receiver in given time. | |
| IntArray * | giveLoadArray () |
| Returns the array containing applied loadings of the receiver. | |
| void | setLoadArray (IntArray &) |
| Sets the array of applied loadings of the receiver. | |
Position querry functions | |
| virtual bool | hasCoordinates () |
| virtual double | giveCoordinate (int i) |
| Returns i-th coordinate of node. | |
| virtual FloatArray * | giveCoordinates () |
| Returns pointer to node coordinate array. | |
Advanced functions | |
| void | setNumberOfDofs (int _ndofs) |
| Sets number of dofs of the receiver; Dealocates existing DOFs; Resizes the dofArray accordingly. | |
| void | setDof (int i, Dof *dof) |
| Sets i-th DOF of receiver to given DOF. | |
Protected Member Functions | |
| virtual IRResultType | resolveDofIDArray (InputRecord *ir, IntArray &dofIDArry) |
| void | computeSlaveLoadTransformation (FloatMatrix &answer, const IntArray *dofMask, DofManTransfType mode) |
| void | computeSlaveDofTransformation (FloatMatrix &answer, const IntArray *dofMask, DofManTransfType mode) |
| IntArray * | giveCompleteGlobalDofIDArray (void) const |
Protected Attributes | |
| int | numberOfDofs |
| total number of DOFs | |
| Dof ** | dofArray |
| array of DOFs | |
| IntArray | loadArray |
| list of applied loads. | |
| bool | isBoundaryFlag |
| Indicates if dofManager is boundary (true boundary or on boundary between regions) or interior. | |
| bool | hasSlaveDofs |
| flag indicating whether receiver has slave dofs | |
| int | globalNumber |
| In parallel mode, globalNumber contains globally unique DoFManager number. | |
| dofManagerParallelMode | parallel_mode |
| IntArray | partitions |
| List of partition sharing the shared dof manager or remote partion containing remote dofmanager counterpart. | |
Dof manager is an abstraction for object possessing degrees of freedom. Dof managers (respectively derived clases like nodes or sides) are usually atributes of elements and are maintained by domain. Degrees of freedom belonging to dof manager are stored in 'dofArray'. Dof manager also maintain a list of applied loads it is subjected to. Number and physical meaning of dofs can be specified by user in input file (see input file description). If it is not specified, default values are obtained from domain, based on domain type of problem.
Definition at line 103 of file dofmanager.h.
| DofManager::DofManager | ( | int | n, | |
| Domain * | aDomain | |||
| ) |
Constructor.
Creates DofManager with given number belonging to domain aDomain.
| n | DofManager's number in domain | |
| aDomain | reference to DofManager's domain |
Definition at line 80 of file dofmanager.C.
References dofArray, hasSlaveDofs, isBoundaryFlag, numberOfDofs, partitions, and IntArray::resize().
| DofManager::~DofManager | ( | ) |
| Dof * DofManager::giveDof | ( | int | i | ) | const |
Returns reference (pointer) to i-th dof of receiver.
Index of Dof with required physical meaning can be obtained by invoking method findDofWithDofId.
Definition at line 159 of file dofmanager.C.
References _error, and dofArray.
Referenced by SUPG::applyIC(), NonStationaryTransportProblem::applyIC(), CBS::applyIC(), StructuralEngngModel::buildReactionTable(), Node::checkConsistency(), checkConsistency(), StructuralElement::computeBcLoadVectorAt(), Node::computeGNDofTransformation(), RigidArmNode::computeMasterContribution(), computeSlaveDofTransformation(), CylindricalALM::convertHPCMap(), Subdivision::createMesh(), PNlDEIDynamic::estimateMaxPackSize(), NonLinearStatic::estimateMaxPackSize(), LinearStatic::estimateMaxPackSize(), VTKXMLExportModule::exportPrimVarAs(), VTKExportModule::exportPrimVarAs(), findDofWithDofId(), SUPG::forceEquationNumbering(), EngngModel::forceEquationNumbering(), RefinedElement::giveBcDofArray1D(), RefinedElement::giveBcDofArray2D(), RefinedElement::giveBcDofArray3D(), RefinedElement::giveCompatibleBcDofArray(), giveCompleteGlobalDofIDArray(), giveCompleteLocationArray(), PlaneStress2dXfem::giveLocationArray(), giveLocationArray(), giveMasterDofMans(), giveNumberOfPrimaryMasterDofs(), givePrescribedUnknownVector(), giveUnknownVector(), Node::giveUpdatedCoordinate(), hasAnySlaveDofs(), PetscNatural2LocalOrdering::init(), PetscNatural2GlobalOrdering::init(), SloanGraph::initialize(), NRSolver::initPrescribedEqs(), EIPrimaryUnknownMapper::mapAndUpdate(), packDOFsUnknowns(), StructuralEngngModel::packInternalForces(), StructuralEngngModel::packLoad(), PNlDEIDynamic::packMasses(), NonLinearStatic::packMigratingData(), StructuralEngngModel::packReactions(), printOutputAt(), restoreContext(), saveContext(), HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), HuertaErrorEstimator::solveRefinedElementProblem(), SUPG::solveYourselfAt(), PNlDEIDynamic::solveYourselfAt(), NlDEIDynamic::solveYourselfAt(), DIIDynamic::solveYourselfAt(), DEIDynamic::solveYourselfAt(), StructuralEngngModel::unpackInternalForces(), StructuralEngngModel::unpackLoad(), PNlDEIDynamic::unpackMasses(), NonLinearStatic::unpackMigratingData(), StructuralEngngModel::unpackReactions(), IncrementalLinearStatic::updateDofUnknownsDictionary(), SUPG::updateDofUnknownsDictionary_corrector(), SUPG::updateDofUnknownsDictionary_predictor(), updateLocalNumbering(), Node::updateYourself(), and updateYourself().
| Dof * DofManager::giveDofWithID | ( | int | dofID | ) | const |
Returns DOF with given dofID; issues error if not present.
Definition at line 173 of file dofmanager.C.
References _error, dofArray, and findDofWithDofId().
| int DofManager::giveNumberOfDofs | ( | ) | const |
Returns total number of dofs managed by receiver.
Definition at line 368 of file dofmanager.C.
References numberOfDofs.
Referenced by RigidArmNode::allocAuxArrays(), SUPG::applyIC(), NonStationaryTransportProblem::applyIC(), CBS::applyIC(), EngngModel::balanceLoad(), StructuralEngngModel::buildReactionTable(), RigidArmNode::checkConsistency(), Node::checkConsistency(), PlaneStress2dXfem::computeNumberOfDofs(), Subdivision::createMesh(), PNlDEIDynamic::estimateMaxPackSize(), NonLinearStatic::estimateMaxPackSize(), LinearStatic::estimateMaxPackSize(), VTKXMLExportModule::exportPrimVarAs(), VTKExportModule::exportPrimVarAs(), SUPG::forceEquationNumbering(), EngngModel::forceEquationNumbering(), RefinedElement::giveBcDofArray1D(), RefinedElement::giveBcDofArray2D(), RefinedElement::giveBcDofArray3D(), RefinedElement::giveCompatibleBcDofArray(), PlaneStress2dXfem::giveLocationArray(), hasDofID(), PetscNatural2LocalOrdering::init(), PetscNatural2GlobalOrdering::init(), SloanGraph::initialize(), RigidArmNode::initializeFrom(), initializeFrom(), StructuralEngngModel::packInternalForces(), StructuralEngngModel::packLoad(), PNlDEIDynamic::packMasses(), NonLinearStatic::packMigratingData(), StructuralEngngModel::packReactions(), setNumberOfDofs(), HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), SUPG::solveYourselfAt(), PNlDEIDynamic::solveYourselfAt(), NlDEIDynamic::solveYourselfAt(), DIIDynamic::solveYourselfAt(), DEIDynamic::solveYourselfAt(), StructuralEngngModel::unpackInternalForces(), StructuralEngngModel::unpackLoad(), PNlDEIDynamic::unpackMasses(), NonLinearStatic::unpackMigratingData(), StructuralEngngModel::unpackReactions(), IncrementalLinearStatic::updateDofUnknownsDictionary(), SUPG::updateDofUnknownsDictionary_corrector(), and SUPG::updateDofUnknownsDictionary_predictor().
| int DofManager::giveNumberOfPrimaryMasterDofs | ( | IntArray & | dofArray | ) | const |
Returns the number of primary dofs on which receiver dofs (given in dofArray) depend on.
If receiver has only prinary dofs, the answer is the size of dofArray.
Definition at line 399 of file dofmanager.C.
References IntArray::at(), giveDof(), IntArray::giveSize(), and hasSlaveDofs.
Referenced by Element::computeGlobalNumberOfDofs(), computeSlaveDofTransformation(), giveLocationArray(), givePrescribedUnknownVector(), and giveUnknownVector().
| void DofManager::giveLocationArray | ( | const IntArray & | dofIDArry, | |
| IntArray & | locationArray, | |||
| const UnknownNumberingScheme & | s | |||
| ) | const [virtual] |
Returns location array (array containing for each requested dof related equation number) for given numbering scheme.
| dofIDArry | array containing dof mask. This mask containing DofIDItem values (they describe physical meaning of dofs, see cltypes.h) is used to extract only required values. If dof with requested physical meaning dos not exist in receiver, an error is generated and execution exits. | |
| locationArray | - return parameter containing required equation numbers. | |
| s | determines the equation numbering scheme |
Definition at line 263 of file dofmanager.C.
References _error, IntArray::at(), dofArray, findDofWithDofId(), giveDof(), giveDofArray(), Dof::giveEquationNumbers(), giveNumberOfPrimaryMasterDofs(), IntArray::giveSize(), and hasSlaveDofs.
Referenced by giveCompleteLocationArray(), Element::giveLocationArray(), and EIPrimaryUnknownMapper::mapAndUpdate().
| void DofManager::giveCompleteLocationArray | ( | IntArray & | locationArray, | |
| const UnknownNumberingScheme & | s | |||
| ) | const [virtual] |
Returns full location array of receiver containing equation numbers of all dofs of receiver.
Their order is specific to every DofManager. Mainly used at EngngModel level to assemble DofManager contribution (typically load vector).
| locationArray | complete location array of receiver. | |
| s | determines the equation numbering scheme |
Definition at line 307 of file dofmanager.C.
References giveCompleteGlobalDofIDArray(), giveDof(), giveLocationArray(), hasSlaveDofs, and numberOfDofs.
Referenced by PLinearStatic::assembleVectorFromDofManagers(), EngngModel::assembleVectorFromDofManagers(), FETISolver::masterMapDirectionVector(), FETISolver::masterMapPPVector(), FETISolver::masterMapRBM(), FETISolver::masterMapResiduals(), FETISolver::masterMapSolution(), EngngModel::petsc_assemblePrescribedVectorFromDofManagers(), EngngModel::petsc_assembleVectorFromDofManagers(), FETISolver::setUpCommunicationMaps(), FETICommunicator::setUpCommunicationMaps(), and FETISolver::unpackSolution().
Returns DOFs numbers of receiver with required physical meaning.
| dofIDArry | array containing DofIDItem-type values (this is enumeration identifying physical meaning of particular DOF, see cltypes.h). | |
| answer | array with DOF numbers. They are ordered according to dofIDArry. |
Definition at line 327 of file dofmanager.C.
References _error, and findDofWithDofId().
Referenced by StructuralElement::computeBcLoadVectorAt(), Element::computeGlobalNumberOfDofs(), computeSlaveDofTransformation(), giveLocationArray(), givePrescribedUnknownVector(), and giveUnknownVector().
| int DofManager::findDofWithDofId | ( | DofID | dofID | ) | const |
Finds index of DOF with required physical meaning of receiver.
This index can be different for different DOFManagers (user can alter dof order and type in input file).
| dofID | physical meaning of DOF. |
Definition at line 350 of file dofmanager.C.
References giveDof(), and numberOfDofs.
Referenced by RigidArmNode::computeMasterContribution(), giveDofArray(), giveDofWithID(), giveLocationArray(), and SimpleSlaveDof::giveMasterDof().
| void DofManager::giveUnknownVector | ( | FloatArray & | answer, | |
| const IntArray & | dofMask, | |||
| EquationID | type, | |||
| ValueModeType | mode, | |||
| TimeStep * | stepN | |||
| ) | [virtual] |
Assembles the vector of unknowns in nodal c.s for given dofs of receiver.
This vector may have size different from number of dofs requested, because some dofs may depend on other dofs. Default implementation uses Dof::giveUnknown service.
| answer | result (in nodal cs.) | |
| dofMask | dofIDArry array containing dof mask. This mask containing DofIDItem values (they describe physical meaning of dofs, see cltypes.h) is used to extract only required values. If dof with requested physical meaning dos not exist in receiver, an error is generated and execution exits. | |
| type | physical meaning of unknown. | |
| mode | mode of unknown (e.g, total value, velocity or acceleration of unknown). time step when unknown requested. See documentation of particular EngngModel class for valid StepN values (most implementaion can return only values for current and possibly for previous time step). |
Definition at line 933 of file dofmanager.C.
References IntArray::at(), FloatArray::at(), FloatArray::copySubVector(), dofArray, giveDof(), giveDofArray(), giveNumberOfPrimaryMasterDofs(), FloatArray::giveSize(), IntArray::giveSize(), Dof::giveUnknown(), Dof::giveUnknowns(), hasSlaveDofs, and FloatArray::resize().
Referenced by PlaneStress2dXfem::computeVectorOf(), Element::computeVectorOf(), LEPlic::doLagrangianPhase(), HuertaErrorEstimator::solveRefinedElementProblem(), and LevelSetPCS::updatePosition().
| void DofManager::giveUnknownVector | ( | FloatArray & | answer, | |
| const IntArray & | dofMask, | |||
| PrimaryField & | field, | |||
| ValueModeType | mode, | |||
| TimeStep * | stepN | |||
| ) | [virtual] |
Assembles the vector of unknowns of given filed in nodal c.s for given dofs of receiver.
This vector may have size different from number of dofs requested, because some dofs may depend on other dofs. Default implementation uses Dof::giveUnknown service.
| answer | result (in nodal cs.) | |
| dofMask | dofIDArry array containing dof mask. This mask containing DofIDItem values (they describe physical meaning of dofs, see cltypes.h) is used to extract only required values. If dof with requested physical meaning dos not exist in receiver, an error is generated and execution exits. | |
| field | primary filed time step when unknown requested. See documentation of particular EngngModel class for valid StepN values (most implementaion can return only values for current and possibly for previous time step). |
Definition at line 973 of file dofmanager.C.
References IntArray::at(), FloatArray::at(), FloatArray::copySubVector(), dofArray, giveDof(), giveDofArray(), giveNumberOfPrimaryMasterDofs(), FloatArray::giveSize(), IntArray::giveSize(), Dof::giveUnknown(), Dof::giveUnknowns(), hasSlaveDofs, and FloatArray::resize().
| void DofManager::givePrescribedUnknownVector | ( | FloatArray & | answer, | |
| const IntArray & | dofMask, | |||
| ValueModeType | mode, | |||
| TimeStep * | stepN | |||
| ) | [virtual] |
Assembles the vector of prescribed unknowns in nodal c.s for given dofs of receiver.
This vector may have size different from number of dofs requested, because some dofs may depend on other dofs. Default implementation uses Dof::giveBcValue and Dof::hasBc service.
| answer | result (in nodal cs.) | |
| dofMask | dofIDArry array containing dof mask. This mask containing DofIDItem values (they describe physical meaning of dofs, see cltypes.h) is used to extract only required values. If dof with requested physical meaning dos not exist in receiver, an error is generated and execution exits. | |
| mode | mode of unknown (e.g, total value, velocity or acceleration of unknown). time step when unknown requested. See documentation of particular EngngModel class for valid StepN values (most implementaion can return only values for current and possibly for previous time step). |
Definition at line 1012 of file dofmanager.C.
References FloatArray::at(), IntArray::at(), FloatArray::copySubVector(), dofArray, Dof::giveBcValue(), Dof::giveBcValues(), giveDof(), giveDofArray(), giveNumberOfPrimaryMasterDofs(), FloatArray::giveSize(), IntArray::giveSize(), Dof::hasBc(), hasSlaveDofs, and FloatArray::resize().
Referenced by Element::computeVectorOfPrescribed().
| void DofManager::computeDofTransformation | ( | FloatMatrix & | answer, | |
| const IntArray * | dofIDArry, | |||
| DofManTransfType | mode | |||
| ) | [virtual] |
Computes receiver transformation matrix from global cs.
to dofManager specific coordinate system (in which governing equations are assembled, for example the local coordinate system in node).
| answer | computed transformation matrix. It has generally dofIDArry.size rows and if loc is obtained using giveLocationArray(dofIDArry, loc) call, loc.giveSize() columns. This is because this transformation should generally include not only transformation to dof manager local coordinate system, but receiver dofs can be expressed using dofs of another dofManager (In this case, squre answer is produced anly if all dof transformation is required). | |
| dofIDArry | array containing DofIDItem-type values (this is enumeration identifying physical meaning of particular DOF, see cltypes.h) for which transfromation mtrx is assembled. if dofIDArry is NULL, then all receiver dofs are assumed. |
Reimplemented in Node.
Definition at line 1116 of file dofmanager.C.
References FloatMatrix::beUnitMatrix(), computeSlaveDofTransformation(), IntArray::giveSize(), hasSlaveDofs, numberOfDofs, and FloatMatrix::resize().
Referenced by StructuralElement::computeGNDofRotationMatrix(), and computeLoadTransformation().
| void DofManager::computeLoadTransformation | ( | FloatMatrix & | answer, | |
| const IntArray * | dofIDArry, | |||
| DofManTransfType | mode | |||
| ) | [virtual] |
Reimplemented in Node.
Definition at line 1132 of file dofmanager.C.
References _error, _toGlobalCS, _toNodalCS, FloatMatrix::beTranspositionOf(), and computeDofTransformation().
Referenced by StructuralElement::computeGNLoadRotationMatrix(), and computeLoadVectorAt().
| virtual int DofManager::requiresTransformation | ( | ) | [inline, virtual] |
Indicates, whether dofManager requires the transformation from global c.s.
to dof manager specific coordinate system.
Reimplemented in ElementSide, and Node.
Definition at line 307 of file dofmanager.h.
Referenced by StructuralElement::computeGNDofRotationMatrix(), and StructuralElement::computeGNLoadRotationMatrix().
| void DofManager::computeLoadVectorAt | ( | FloatArray & | answer, | |
| TimeStep * | stepN, | |||
| ValueModeType | mode | |||
| ) | [virtual] |
Computes the load vector of receiver in given time.
| answer | load vector. | |
| stepN | time step when answer is computed. | |
| mode | determines response mode. |
Reimplemented in Node.
Definition at line 117 of file dofmanager.C.
References _error, _toNodalCS, FloatArray::add(), IntArray::at(), Load::computeComponentArrayAt(), computeLoadTransformation(), FEMComponent::domain, GeneralBoundaryCondition::giveBCGeoType(), Domain::giveLoad(), giveLoadArray(), IntArray::giveSize(), hasSlaveDofs, FloatArray::isNotEmpty(), loadArray, NodalLoadBGT, FloatArray::resize(), and FloatArray::rotatedWith().
Referenced by PLinearStatic::assembleVectorFromDofManagers(), EngngModel::assembleVectorFromDofManagers(), EngngModel::petsc_assemblePrescribedVectorFromDofManagers(), and EngngModel::petsc_assembleVectorFromDofManagers().
| IntArray * DofManager::giveLoadArray | ( | ) |
Returns the array containing applied loadings of the receiver.
Definition at line 248 of file dofmanager.C.
References loadArray.
Referenced by Node::computeLoadVectorAt(), computeLoadVectorAt(), Subdivision::createMesh(), HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), and HuertaErrorEstimatorInterface::setupRefinedElementProblem3D().
| void DofManager::setLoadArray | ( | IntArray & | la | ) |
Sets the array of applied loadings of the receiver.
Definition at line 257 of file dofmanager.C.
References loadArray.
Referenced by Subdivision::createMesh().
| virtual bool DofManager::hasCoordinates | ( | ) | [inline, virtual] |
| virtual double DofManager::giveCoordinate | ( | int | i | ) | [inline, virtual] |
Returns i-th coordinate of node.
Reimplemented in Node.
Definition at line 328 of file dofmanager.h.
Referenced by Line::computeIntersectionPoints().
| virtual FloatArray* DofManager::giveCoordinates | ( | ) | [inline, virtual] |
Returns pointer to node coordinate array.
Reimplemented in Node.
Definition at line 330 of file dofmanager.h.
Referenced by Circle::computeIntersectionPoints(), Line::computeIntersectionPoints(), Line::computeNumberOfIntersectionPoints(), RampFunction::evaluateDerivativeAt(), RampFunction::evaluateFunctionAt(), PlaneStress2dXfem::giveArea(), Circle::intersects(), and XfemElementInterface::XfemElementInterface_prepareNodesForDelaunay().
| void DofManager::printOutputAt | ( | FILE * | stream, | |
| TimeStep * | stepN | |||
| ) | [virtual] |
Prints output of receiver to stream, for given time step.
Reimplemented from FEMComponent.
Definition at line 694 of file dofmanager.C.
References giveClassName(), giveDof(), FEMComponent::giveDomain(), Domain::giveEngngModel(), giveLabel(), FEMComponent::giveNumber(), numberOfDofs, and EngngModel::printDofOutputAt().
Referenced by OutputManager::doDofManOutput(), LinearStability::terminate(), EigenValueDynamic::terminate(), and LinearStability::terminateLinStatic().
| void DofManager::updateYourself | ( | TimeStep * | tStep | ) |
updates receiver after equlibrium in time step has been reached.
Reimplemented in Node.
Definition at line 730 of file dofmanager.C.
References giveDof(), numberOfDofs, and Dof::updateYourself().
Referenced by LinearStability::terminate(), EigenValueDynamic::terminate(), LinearStability::terminateLinStatic(), and EngngModel::updateYourself().
| bool DofManager::isBoundary | ( | ) | [inline] |
Definition at line 342 of file dofmanager.h.
References isBoundaryFlag.
Referenced by Subdivision::createMesh(), and SPRNodalRecoveryModel::determinePatchAssemblyPoints().
| void DofManager::setBoundaryFlag | ( | bool | _b | ) | [inline] |
Definition at line 343 of file dofmanager.h.
References isBoundaryFlag.
Referenced by Subdivision::createMesh().
| int DofManager::hasAnySlaveDofs | ( | ) | [virtual] |
Returns true if receiver contains slave dofs.
Definition at line 1063 of file dofmanager.C.
References giveDof(), and numberOfDofs.
Referenced by SloanGraph::initialize(), and EIPrimaryUnknownMapper::mapAndUpdate().
Returns true if the receiver is linked (its slave DOFs depend on master values) to some other dof managers.
In this case, the masters array should contain the list of masters. In both serial and parallel modes, local numbers are be provided. If the receiver contains only primary DOFs, false is returned.
Definition at line 1077 of file dofmanager.C.
References IntArray::at(), giveDof(), Dof::giveMasterDofManArray(), IntArray::giveSize(), IntArray::insertSortedOnce(), numberOfDofs, and IntArray::resize().
| DofManager * DofManager::ofType | ( | char * | aClass | ) |
Returns a newly allocated DofManager, with type depending on parameter.
Creates new object for following classes Node, ElementSide, RigidArmNode otherwise calls global function CreateUsrDefDofManagerOfType for creating appropriate instance. This function must be implemented by user.
| aClass | string with DofManager name |
Definition at line 907 of file dofmanager.C.
References _error2, CreateUsrDefDofManagerOfType(), FEMComponent::domain, FEMComponent::number, and strncasecmp().
| const char* DofManager::giveClassName | ( | ) | const [inline, virtual] |
Returns class name of the receiver.
Implements FEMComponent.
Reimplemented in ElementSide, HangingNode, Node, and RigidArmNode.
Definition at line 364 of file dofmanager.h.
Referenced by initializeFrom(), printOutputAt(), MasterDof::printYourself(), Dof::printYourself(), and resolveDofIDArray().
| classType DofManager::giveClassID | ( | ) | const [inline, virtual] |
Returns classType id of receiver.
Reimplemented from FEMComponent.
Reimplemented in ElementSide, HangingNode, Node, and RigidArmNode.
Definition at line 368 of file dofmanager.h.
References DofManagerClass.
Referenced by OctreeSpatialLocalizer::buildOctreeDataStructure(), checkConsistency(), Subdivision::createMesh(), LEPlic::doLagrangianPhase(), Domain::giveNode(), Domain::giveSide(), LoadBalancer::packMigratingData(), Subdivision::packRemoteElements(), NonlocalMaterialWTP::packRemoteElements(), and FreemInterface::smoothNodalDensities().
| IRResultType DofManager::initializeFrom | ( | InputRecord * | ir | ) | [virtual] |
Initializes receiver acording to object description stored in input record.
Implements FEMComponent.
Reimplemented in ElementSide, HangingNode, Node, and RigidArmNode.
Definition at line 455 of file dofmanager.C.
References __dofTypeToString(), _error, _error2, IntArray::at(), dofArray, DofManager_local, DofManager_null, DofManager_remote, DofManager_shared, giveClassName(), giveNumberOfDofs(), IntArray::giveSize(), globalNumber, InputRecord::hasField(), IFT_DofManager_bc, IFT_DofManager_boundaryflag, IFT_DofManager_doftypemask, IFT_DofManager_globnum, IFT_DofManager_ic, IFT_DofManager_load, IFT_DofManager_mastermask, IFT_DofManager_nullflag, IFT_DofManager_partitions, IFT_DofManager_remoteflag, IFT_DofManager_sharedflag, IFT_Unknown, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, IR_IOERR, IRRT_OK, isBoundaryFlag, isDofTypeCompatible(), loadArray, numberOfDofs, parallel_mode, partitions, IntArray::resize(), and resolveDofIDArray().
Referenced by Node::initializeFrom(), and ElementSide::initializeFrom().
| void DofManager::printYourself | ( | ) |
prints receiver state on stdout. Usefull for debuging.
Reimplemented in ElementSide, and Node.
Definition at line 710 of file dofmanager.C.
References dofArray, loadArray, FEMComponent::number, numberOfDofs, IntArray::printYourself(), and Dof::printYourself().
| contextIOResultType DofManager::saveContext | ( | DataStream * | stream, | |
| ContextMode | mode, | |||
| void * | obj = NULL | |||
| ) | [virtual] |
Stores receiver state to output stream.
| throws | an ContextIOERR exception if error encountered |
Reimplemented from FEMComponent.
Reimplemented in Node.
Definition at line 741 of file dofmanager.C.
References CIO_IOERR, CIO_OK, CM_Definition, Dof::giveClassID(), giveDof(), globalNumber, hasSlaveDofs, isBoundaryFlag, loadArray, numberOfDofs, parallel_mode, partitions, FEMComponent::saveContext(), IntArray::storeYourself(), THROW_CIOERR, and DataStream::write().
Referenced by LoadBalancer::packMigratingData(), Subdivision::packRemoteElements(), NonlocalMaterialWTP::packRemoteElements(), Node::saveContext(), and EngngModel::saveContext().
| contextIOResultType DofManager::restoreContext | ( | DataStream * | stream, | |
| ContextMode | mode, | |||
| void * | obj = NULL | |||
| ) | [virtual] |
Restores the receiver state previously written in stream.
| throws | an ContextIOERR exception if error encountered |
Reimplemented from FEMComponent.
Reimplemented in Node.
Definition at line 808 of file dofmanager.C.
References IntArray::at(), CIO_IOERR, CIO_OK, CM_Definition, CreateUsrDefDofOfType(), dofArray, Dof::giveClassID(), giveDof(), globalNumber, hasSlaveDofs, isBoundaryFlag, loadArray, numberOfDofs, parallel_mode, partitions, DataStream::read(), FEMComponent::restoreContext(), IntArray::restoreYourself(), and THROW_CIOERR.
Referenced by Node::restoreContext(), EngngModel::restoreContext(), LoadBalancer::unpackMigratingData(), Subdivision::unpackRemoteElements(), and NonlocalMaterialWTP::unpackRemoteElements().
Returns true if dof of given type is allowed to be associated to receiver.
Reimplemented in ElementSide, HangingNode, Node, and RigidArmNode.
Definition at line 385 of file dofmanager.h.
Referenced by initializeFrom().
| int DofManager::checkConsistency | ( | ) | [virtual] |
Checks internal data consistency in node.
Current implementation checks (when receiver has slave dofs) if receiver has the same coordinate system as master dofManager of slave dof.
Reimplemented from FEMComponent.
Reimplemented in HangingNode, Node, and RigidArmNode.
Definition at line 1096 of file dofmanager.C.
References giveClassID(), giveDof(), hasSlaveDofs, numberOfDofs, and SlaveDofClass.
Referenced by Node::checkConsistency(), and Domain::checkConsistency().
| void DofManager::updateLocalNumbering | ( | EntityRenumberingFunctor & | f | ) | [virtual] |
Local renumbering support.
For some tasks (parallel load balancing, for example) it is necessary to renumber the entities. The various fem components (such as nodes or elements) typically contain links to other entities in terms of their local numbers, etc. This service allows to update these relations to reflext updated numbering. The renumbering funciton is passed, which is supposed to return an updated number of specified entyty type based on old number.
Reimplemented from FEMComponent.
Definition at line 1210 of file dofmanager.C.
References giveDof(), numberOfDofs, and Dof::updateLocalNumbering().
Referenced by Domain::instanciateYourself().
| void DofManager::setNumberOfDofs | ( | int | _ndofs | ) |
Sets number of dofs of the receiver; Dealocates existing DOFs; Resizes the dofArray accordingly.
Definition at line 374 of file dofmanager.C.
References dofArray, giveNumberOfDofs(), and numberOfDofs.
Referenced by Subdivision::createMesh().
| void DofManager::setDof | ( | int | i, | |
| Dof * | dof | |||
| ) |
Sets i-th DOF of receiver to given DOF.
Definition at line 187 of file dofmanager.C.
References _error, dofArray, and numberOfDofs.
Referenced by Subdivision::createMesh().
| void DofManager::addDof | ( | int | i, | |
| Dof * | dof | |||
| ) |
Adds a Dof to i-th position in dofArray.
Definition at line 201 of file dofmanager.C.
References _error, AList< T >::at(), dofArray, Dof::giveDofID(), Dof::giveEqn(), numberOfDofs, AList< T >::put(), Dof::setEquationNumber(), and AList< T >::unlink().
Referenced by PlaneStress2dXfem::giveLocationArray().
| bool DofManager::hasDofID | ( | int | id | ) |
Definition at line 236 of file dofmanager.C.
References dofArray, and giveNumberOfDofs().
Referenced by PlaneStress2dXfem::giveLocationArray().
| int DofManager::giveGlobalNumber | ( | ) | const [inline] |
Returns receiver globally unique number.
Definition at line 422 of file dofmanager.h.
References globalNumber.
Referenced by Subdivision::createMesh(), LoadBalancer::deleteRemoteDofManagers(), ProblemCommunicator::DofManCmp(), PNlDEIDynamicComunicator::DofManCmp(), Subdivision::exchangeRemoteElements(), Dof::giveDofManGlobalNumber(), PetscNatural2GlobalOrdering::init(), Domain::initGlobalDofManMap(), NRSolver::initPrescribedEqs(), LoadBalancer::migrateLoad(), LoadBalancer::packMigratingData(), Subdivision::packRemoteElements(), NonlocalMaterialWTP::packRemoteElements(), SimpleSlaveDof::saveContext(), Element::saveContext(), FETISolver::setUpCommunicationMaps(), FETICommunicator::setUpCommunicationMaps(), ProblemCommunicator::setUpCommunicationMapsForElementCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForElementCut(), StructuralEngngModel::unpackLoad(), and NonlocalMaterialWTP::unpackRemoteElements().
| int DofManager::giveLabel | ( | ) | const [inline] |
Definition at line 423 of file dofmanager.h.
References globalNumber.
Referenced by CylindricalALM::convertHPCMap(), and printOutputAt().
| void DofManager::setGlobalNumber | ( | int | _number | ) | [inline] |
sets receiver global number
Definition at line 425 of file dofmanager.h.
References globalNumber.
Referenced by Subdivision::createMesh(), LoadBalancer::unpackMigratingData(), and Subdivision::unpackRemoteElements().
| dofManagerParallelMode DofManager::giveParallelMode | ( | ) | const [inline] |
Return dofManagerParallelMode of receiver.
Defined for __Parallel_Mode only.
Definition at line 431 of file dofmanager.h.
References parallel_mode.
Referenced by OutputManager::_testDofManOutput(), MasterDof::askNewEquationNumber(), PLinearStatic::assembleVectorFromDofManagers(), EngngModel::assembleVectorFromDofManagers(), Subdivision::createMesh(), OutputManager::doDofManOutput(), DirectErrorIndicatorRC::exchangeDofManDensities(), DirectErrorIndicatorRC::exchangeDofManIndicatorVals(), Subdivision::exchangeRemoteElements(), MasterDof::giveUnknown(), MasterDof::hasBc(), PetscNatural2GlobalOrdering::init(), PetscOrdering_Base::isLocal(), PetscOrdering_Base::isShared(), EIPrimaryUnknownMapper::mapAndUpdate(), LoadBalancer::migrateLoad(), Subdivision::packRemoteElements(), NonlocalMaterialWTP::packRemoteElements(), EngngModel::petsc_assemblePrescribedVectorFromDofManagers(), EngngModel::petsc_assembleVectorFromDofManagers(), LoadBalancer::printStatistics(), SPRNodalRecoveryModel::recoverValues(), FETISolver::setUpCommunicationMaps(), FETICommunicator::setUpCommunicationMaps(), ProblemCommunicator::setUpCommunicationMapsForElementCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForElementCut(), ProblemCommunicator::setUpCommunicationMapsForNodeCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForNodeCut(), HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), HuertaErrorEstimator::solveRefinedPatchProblem(), PNlDEIDynamic::solveYourselfAt(), MasterDof::unpackAndUpdateUnknown(), StructuralEngngModel::unpackInternalForces(), StructuralEngngModel::unpackLoad(), PNlDEIDynamic::unpackMasses(), NonLinearStatic::unpackMigratingData(), and StructuralEngngModel::unpackReactions().
| void DofManager::setParallelMode | ( | dofManagerParallelMode | _mode | ) | [inline] |
Sets parallel mode of receiver.
Definition at line 433 of file dofmanager.h.
References parallel_mode.
Referenced by Subdivision::createMesh(), LoadBalancer::deleteRemoteDofManagers(), LoadBalancer::unpackMigratingData(), Subdivision::unpackRemoteElements(), and NonlocalMaterialWTP::unpackRemoteElements().
| int DofManager::packDOFsUnknowns | ( | CommunicationBuffer & | buff, | |
| EquationID | type, | |||
| ValueModeType | mode, | |||
| TimeStep * | stepN | |||
| ) |
Packs specific DOF Manager's dofs unknowns into communication buffer.
| buff | communication buffer to pack data. | |
| type | physical meaning of unknown. | |
| mode | mode of unknown (e.g, total value, velocity or acceleration of unknown). time step when unknown requested. See documentation of particular EngngModel class for valid StepN values (most implementaion can return only values for current and possibly for previous time step). |
Definition at line 1233 of file dofmanager.C.
References giveDof(), numberOfDofs, and Dof::packUnknowns().
| const IntArray* DofManager::givePartitionList | ( | ) | [inline] |
Returns partition list of receiver.
Definition at line 449 of file dofmanager.h.
References partitions.
Referenced by PLinearStatic::assembleVectorFromDofManagers(), Subdivision::createMesh(), LoadBalancer::deleteRemoteDofManagers(), PetscNatural2GlobalOrdering::init(), PetscOrdering_Base::isLocal(), LoadBalancer::migrateLoad(), LoadBalancer::packMigratingData(), Subdivision::packRemoteElements(), NonlocalMaterialWTP::packRemoteElements(), ProblemCommunicator::setUpCommunicationMapsForElementCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForElementCut(), ProblemCommunicator::setUpCommunicationMapsForNodeCut(), and PNlDEIDynamicComunicator::setUpCommunicationMapsForNodeCut().
| void DofManager::setPartitionList | ( | const IntArray * | _p | ) | [inline] |
Sets receiver's partition list.
Definition at line 451 of file dofmanager.h.
References partitions.
Referenced by Subdivision::createMesh(), LoadBalancer::deleteRemoteDofManagers(), and LoadBalancer::unpackMigratingData().
| void DofManager::removePartitionFromList | ( | int | _part | ) | [inline] |
Removes given partition from receiver list.
Definition at line 453 of file dofmanager.h.
References IntArray::erase(), IntArray::findFirstIndexOf(), and partitions.
| void DofManager::mergePartitionList | ( | IntArray & | _p | ) |
Merges receiver partition list with given lists.
Definition at line 1222 of file dofmanager.C.
References IntArray::at(), IntArray::giveSize(), IntArray::insertOnce(), and partitions.
| const int DofManager::givePartitionsConnectivitySize | ( | ) |
Returns number of partitions sharing given receiver (=number of shared partitions + local one).
Definition at line 1270 of file dofmanager.C.
References IntArray::findFirstIndexOf(), FEMComponent::giveDomain(), Domain::giveEngngModel(), EngngModel::giveRank(), IntArray::giveSize(), and partitions.
Referenced by EngngModel::assembleVectorFromDofManagers(), EngngModel::petsc_assemblePrescribedVectorFromDofManagers(), EngngModel::petsc_assembleVectorFromDofManagers(), and PNlDEIDynamic::solveYourselfAt().
| bool DofManager::isLocal | ( | ) |
Returns true if receiver is locally maintained.
Definition at line 1245 of file dofmanager.C.
References IntArray::at(), DofManager_local, DofManager_shared, FEMComponent::giveDomain(), Domain::giveEngngModel(), EngngModel::giveRank(), IntArray::giveSize(), min(), parallel_mode, and partitions.
| bool DofManager::isShared | ( | ) | [inline] |
Returns true if receiver is shared.
Definition at line 465 of file dofmanager.h.
References DofManager_shared, and parallel_mode.
Referenced by DirectErrorIndicatorRC::giveDofManDensity(), DirectErrorIndicatorRC::giveDofManIndicator(), and NonlocalMaterialWTP::packRemoteElements().
| IRResultType DofManager::resolveDofIDArray | ( | InputRecord * | ir, | |
| IntArray & | dofIDArry | |||
| ) | [protected, virtual] |
Definition at line 420 of file dofmanager.C.
References _error, FEMComponent::domain, giveClassName(), Domain::giveDefaultNodeDofIDArry(), InputRecord::giveField(), Domain::giveNumberOfDefaultNodeDofs(), InputRecord::giveOptionalField(), IntArray::giveSize(), IFT_DofManager_dofidmask, IFT_DofManager_ndofs, IR_IOERR, IRRT_OK, and numberOfDofs.
Referenced by initializeFrom().
| void DofManager::computeSlaveLoadTransformation | ( | FloatMatrix & | answer, | |
| const IntArray * | dofMask, | |||
| DofManTransfType | mode | |||
| ) | [protected] |
| void DofManager::computeSlaveDofTransformation | ( | FloatMatrix & | answer, | |
| const IntArray * | dofMask, | |||
| DofManTransfType | mode | |||
| ) | [protected] |
Definition at line 1159 of file dofmanager.C.
References _error, _toGlobalCS, FloatMatrix::at(), IntArray::at(), Dof::computeDofTransformation(), FloatMatrix::copySubVectorRow(), dofArray, giveDof(), giveDofArray(), giveNumberOfPrimaryMasterDofs(), FloatArray::giveSize(), IntArray::giveSize(), numberOfDofs, FloatMatrix::resize(), IntArray::resize(), and FloatMatrix::zero().
Referenced by Node::computeDofTransformation(), and computeDofTransformation().
| IntArray * DofManager::giveCompleteGlobalDofIDArray | ( | void | ) | const [protected] |
Definition at line 1198 of file dofmanager.C.
References IntArray::at(), giveDof(), Dof::giveDofID(), and numberOfDofs.
Referenced by giveCompleteLocationArray().
int DofManager::numberOfDofs [protected] |
total number of DOFs
Definition at line 128 of file dofmanager.h.
Referenced by addDof(), RigidArmNode::allocAuxArrays(), RigidArmNode::checkConsistency(), HangingNode::checkConsistency(), checkConsistency(), Node::computeDofTransformation(), computeDofTransformation(), Node::computeGNDofTransformation(), RigidArmNode::computeMasterContribution(), computeSlaveDofTransformation(), ElementSide::computeTransformation(), RigidArmNode::deallocAuxArrays(), DofManager(), findDofWithDofId(), giveCompleteGlobalDofIDArray(), giveCompleteLocationArray(), giveMasterDofMans(), giveNumberOfDofs(), Node::giveUpdatedCoordinate(), hasAnySlaveDofs(), initializeFrom(), packDOFsUnknowns(), printOutputAt(), Node::printYourself(), ElementSide::printYourself(), printYourself(), resolveDofIDArray(), restoreContext(), saveContext(), setDof(), setNumberOfDofs(), updateLocalNumbering(), Node::updateYourself(), updateYourself(), and ~DofManager().
Dof** DofManager::dofArray [protected] |
array of DOFs
Definition at line 130 of file dofmanager.h.
Referenced by addDof(), RigidArmNode::allocAuxArrays(), RigidArmNode::checkConsistency(), HangingNode::checkConsistency(), computeSlaveDofTransformation(), DofManager(), giveDof(), giveDofWithID(), giveLocationArray(), givePrescribedUnknownVector(), giveUnknownVector(), hasDofID(), initializeFrom(), Node::printYourself(), ElementSide::printYourself(), printYourself(), restoreContext(), setDof(), setNumberOfDofs(), and ~DofManager().
IntArray DofManager::loadArray [protected] |
list of applied loads.
Definition at line 132 of file dofmanager.h.
Referenced by Node::computeLoadVectorAt(), computeLoadVectorAt(), giveLoadArray(), initializeFrom(), Node::printYourself(), ElementSide::printYourself(), printYourself(), restoreContext(), saveContext(), and setLoadArray().
bool DofManager::isBoundaryFlag [protected] |
Indicates if dofManager is boundary (true boundary or on boundary between regions) or interior.
This information is required by some recovery technigues.
Definition at line 136 of file dofmanager.h.
Referenced by DofManager(), initializeFrom(), isBoundary(), restoreContext(), saveContext(), and setBoundaryFlag().
bool DofManager::hasSlaveDofs [protected] |
flag indicating whether receiver has slave dofs
Definition at line 138 of file dofmanager.h.
Referenced by checkConsistency(), Node::computeDofTransformation(), computeDofTransformation(), Node::computeLoadVectorAt(), computeLoadVectorAt(), DofManager(), giveCompleteLocationArray(), giveLocationArray(), giveNumberOfPrimaryMasterDofs(), givePrescribedUnknownVector(), giveUnknownVector(), Node::requiresTransformation(), restoreContext(), and saveContext().
int DofManager::globalNumber [protected] |
In parallel mode, globalNumber contains globally unique DoFManager number.
The component number, inherited from FEMComponent class contains local domain number.
Definition at line 145 of file dofmanager.h.
Referenced by giveGlobalNumber(), giveLabel(), initializeFrom(), restoreContext(), saveContext(), and setGlobalNumber().
dofManagerParallelMode DofManager::parallel_mode [protected] |
Definition at line 148 of file dofmanager.h.
Referenced by giveParallelMode(), initializeFrom(), isLocal(), isShared(), restoreContext(), saveContext(), and setParallelMode().
IntArray DofManager::partitions [protected] |
List of partition sharing the shared dof manager or remote partion containing remote dofmanager counterpart.
Definition at line 153 of file dofmanager.h.
Referenced by DofManager(), givePartitionList(), givePartitionsConnectivitySize(), initializeFrom(), isLocal(), mergePartitionList(), removePartitionFromList(), restoreContext(), saveContext(), and setPartitionList().
1.5.5 written by Dimitri van Heesch,
© 1997-2001