OOFEM  2.1
Public Member Functions | Private Member Functions | Private Attributes
oofem::Domain Class Reference

Class and object Domain. More...

#include <domain.h>

+ Collaboration diagram for oofem::Domain:

List of all members.

Public Member Functions

 Domain (int n, int serNum, EngngModel *e)
 Constructor.
 ~Domain ()
 Destructor.
int giveNumber ()
 Returns domain number.
void setNumber (int nn)
 Returns domain number.
int giveSerialNumber ()
 Returns domain serial (version) number.
ElementgiveElement (int n)
 Service for accessing particular domain fe element.
EngngModelgiveEngngModel ()
 Returns engineering model to which receiver is associated.
LoadgiveLoad (int n)
 Service for accessing particular domain load.
GeneralBoundaryConditiongiveBc (int n)
 Service for accessing particular domain bc.
InitialConditiongiveIc (int n)
 Service for accessing particular domain ic.
LoadTimeFunctiongiveLoadTimeFunction (int n)
 Service for accessing particular domain load time function.
MaterialgiveMaterial (int n)
 Service for accessing particular domain material model.
CrossSectiongiveCrossSection (int n)
 Service for accessing particular domain cross section model.
NonlocalBarriergiveNonlocalBarrier (int n)
 Service for accessing particular domain nonlocal barrier representation.
RandomFieldGeneratorgiveRandomFieldGenerator (int n)
 Service for accessing particular domain random field generator.
NodegiveNode (int n)
 Service for accessing particular domain node.
ElementSidegiveSide (int n)
 Service for accessing particular domain element side.
DofManagergiveDofManager (int n)
 Service for accessing particular domain dof manager.
int instanciateYourself (DataReader *dr)
 Reads receiver description from input stream and creates corresponding components accordingly.
void postInitialize ()
 Performs post-initialization for all the domain contents (which is called after initializeFrom).
int giveNumberOfDofManagers ()
 Returns number of dof managers in domain.
int giveNumberOfElements ()
 Returns number of elements in domain.
int giveNumberOfMaterialModels ()
 Returns number of material models in domain.
int giveNumberOfCrossSectionModels ()
 Returns number of cross section models in domain.
int giveNumberOfBoundaryConditions ()
 Returns number of boundary conditions in domain.
int giveNumberOfInitialConditions ()
 Returns number of initial conditions in domain.
int giveNumberOfLoadTimeFunctions ()
 Returns number of load time functions in domain.
int giveNumberOfRegions ()
 Returns number of regions. Currently regions corresponds to cross section models.
int giveNumberOfNonlocalBarriers ()
 Returns number of nonlocal integration barriers.
int giveNumberOfRandomFieldGenerators ()
 Returns number of random field generators.
int giveCorrespondingCoordinateIndex (int)
int giveNumberOfSpatialDimensions ()
 Returns number of spatial dimensions.
contextIOResultType saveContext (DataStream *stream, ContextMode mode, void *obj=NULL)
 Stores the domain state to output stream.
contextIOResultType restoreContext (DataStream *stream, ContextMode mode, void *obj=NULL)
 Restores the domain state from output stream.
const IntArraygiveDefaultNodeDofIDArry ()
 Returns default DofID array which defines physical meaning of particular DOFs.
domainType giveDomainType ()
 Returns domain type.
void setDomainType (domainType _dType)
 Sets domain type.
int checkConsistency ()
 Checks internal consistency of domain and all domain components.
double giveArea ()
 Gives the sum of the area of all elements.
double giveVolume ()
 Gives the sum of the volume of all elements.
int giveNextFreeDofID ()
 Gives the next free dof ID.
void resetFreeDofID ()
 Resets the free dof IDs.
int giveMaxDofID ()
 Gives the current maximum dof ID used.
ConnectivityTablegiveConnectivityTable ()
 Returns receiver's associated connectivity table.
SpatialLocalizergiveSpatialLocalizer ()
 Returns receiver's associated spatial localizer.
OutputManagergiveOutputManager ()
 Returns domain output manager.
ErrorEstimatorgiveErrorEstimator ()
 Returns Error Estimator associated to receiver.
NodalRecoveryModelgiveSmoother ()
 Returns the actual Smoother associated to receiver.
TopologyDescriptiongiveTopology ()
 Returns receiver's associated topology description.
void setSmoother (NodalRecoveryModel *smoother, bool destroyOld=true)
 Sets the given smoother as an actual smoother for receiver.
void drawYourself (oofegGraphicContext &context)
void drawElements (oofegGraphicContext &context)
void drawNodes (oofegGraphicContext &context)
const char * giveClassName () const
 Returns class name of the receiver.
StateCounterType giveNonlocalUpdateStateCounter ()
 Returns the value of nonlocalUpdateStateCounter.
void setNonlocalUpdateStateCounter (StateCounterType val)
 sets the value of nonlocalUpdateStateCounter
Advanced domain manipulation methods.
void resizeDofManagers (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize dofManagers.
void resizeElements (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize elements.
void resizeCrossSectionModels (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize cross section models.
void resizeMaterials (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize materials.
void resizeNonlocalBarriers (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize nonlocal barriers.
void resizeBoundaryConditions (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize boundary conditions.
void resizeInitialConditions (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize initial conditions.
void resizeLoadTimeFunctions (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize load time functions.
void resizeRandomFieldGenerators (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize random field generators.
void setDofManager (int i, DofManager *obj)
 Sets i-th component. The component will be further managed and maintained by domain object.
void setElement (int i, Element *obj)
 Sets i-th component. The component will be further managed and maintained by domain object.
void setCrossSection (int i, CrossSection *obj)
 Sets i-th component. The component will be further managed and maintained by domain object.
void setMaterial (int i, Material *obj)
 Sets i-th component. The component will be further managed and maintained by domain object.
void setNonlocalBarrier (int i, NonlocalBarrier *obj)
 Sets i-th component. The component will be further managed and maintained by domain object.
void setBoundaryCondition (int i, GeneralBoundaryCondition *obj)
 Sets i-th component. The component will be further managed and maintained by domain object.
void setInitialCondition (int i, InitialCondition *obj)
 Sets i-th component. The component will be further managed and maintained by domain object.
void setLoadTimeFunction (int i, LoadTimeFunction *obj)
 Sets i-th component. The component will be further managed and maintained by domain object.
void setRandomFieldGenerator (int i, RandomFieldGenerator *obj)
 Sets i-th component. The component will be further managed and maintained by domain object.
void setXfemManager (XfemManager *xfemManager)
 Temporary function, sets xfemManager.
void setTopology (TopologyDescription *topo, bool destroyOld=true)
 Sets receiver's associated topology description.
void clearBoundaryConditions ()
 Clear all boundary conditions.
void clear ()
 Clear receiver.
Domain transaction support methods.

The purpose of these methods is to provide a unified approach for changing domain at runtime (meaning mainly adding and deleting dofmanagers and elements).

The changes are recorded in transaction manager and until the are committed, no change is reflected in domain itself.

DomainTransactionManagergiveTransactionManager ()
 Returns domain transaction manager.
int commitTransactions (DomainTransactionManager *tm)
 Commits transactions recorded in transaction manager.
void initGlobalDofManMap (bool forceinit=false)
 Initializes global dof man map according to domain dofman list.
void initGlobalElementMap (bool forceinit=false)
void renumberDofManagers ()
 Assigns new local number (stored as dofmanager number, so it can be requested) to all dofManagers available in domanMap.
void renumberDofManData (DomainTransactionManager *tm)
void renumberElements ()
void renumberElementData (DomainTransactionManager *tm)
int LB_giveUpdatedLocalNumber (int oldnum, EntityRenumberingScheme scheme)
 Return updated local entity number after load balancing.
int LB_giveUpdatedGlobalNumber (int oldnum, EntityRenumberingScheme scheme)
 Return updated local entity number after load balancing.
Load Balancing support methods
int dofmanGlobal2Local (int _globnum)
int elementGlobal2Local (int _globnum)

Private Member Functions

void resolveDomainDofsDefaults (const char *)
void error (const char *file, int line, const char *format,...)
void warning (const char *file, int line, const char *format,...)

Private Attributes

AList< Element > * elementList
 Element list.
AList< DofManager > * dofManagerList
 Dof manager list.
AList< Material > * materialList
 Material list.
AList< CrossSection > * crossSectionList
 Cross section list.
AList< GeneralBoundaryCondition > * bcList
 Boundary condition list.
AList< InitialCondition > * icList
 Initial condition list.
AList< LoadTimeFunction > * loadTimeFunctionList
 Load time function list.
AList< NonlocalBarrier > * nonlocalBarierList
 Nonlocal barrier list.
AList< RandomFieldGenerator > * randomFieldGeneratorList
 List of Random generators.
IntArray defaultNodeDofIDArry
 Default dofs for a node (depends on the domain type).
domainType dType
 Domain type.
EngngModelengineeringModel
 Associated Engineering model.
ConnectivityTableconnectivityTable
 Domain connectivity table.
SpatialLocalizerspatialLocalizer
 Spatial Localizer.
OutputManageroutputManager
 Output manager, allowing to filter the produced output.
int number
 Domain number.
int serialNumber
 Domain serial (version) number. Used for domain version identification during Adaptive computations.
NodalRecoveryModelsmoother
 nodal recovery object associated to receiver.
StateCounterType nonlocalUpdateStateCounter
 For nonlocal models of integral type it is necessary, mainly due to resulting efficiency, to compute variable(s) which are nonlocally averaged in advance, before average process begins.
XfemManagerxfemManager
 XFEM Manager.
TopologyDescriptiontopology
 Topology description.
int freeDofID
 Keeps track of next free dof ID (for special Lagrange multipliers, XFEM and such)
DomainTransactionManagertransactionManager
 Transaction manager.
std::map< int, DofManager * > dmanMap
 Global dof manager map (index is global of man number).
bool dmanMapInitialized
 dmanMap init flag.
std::map< int, Element * > elementMap
 Global element map (index is global of man number).
bool elementMapInitialized
 dmanMap init flag.
Load Balancing data structures
std::list< Element * > recvElemList
 List of received elements.

Detailed Description

Class and object Domain.

Domain contains mesh description, or if program runs in parallel then it contains description of domain associated to particular processor or thread of execution. Generally, it contain and manages lists of Dof managers, elements, boundary conditions, cross sections and materials - these describe the geometry of problem, its constitutive properties and applied boundary conditions. Services for accessing these objects are provided. Domain is attribute of engineering model - which represent type of analysis which should be performed.

Domain also provides services for reading its description from input stream and instantiating corresponding components accordingly. The basic Domain task are following

Definition at line 95 of file domain.h.


Constructor & Destructor Documentation

oofem::Domain::Domain ( int  n,
int  serNum,
EngngModel e 
)

Constructor.

Creates empty n-th domain belonging to given engineering model.

Parameters:
nDomain number.
serNumSerial number
eEngineering model domain will belong to.
See also:
giveSerialNumber

Definition at line 77 of file domain.C.

References bcList, connectivityTable, crossSectionList, dmanMapInitialized, dofManagerList, dType, elementList, elementMapInitialized, engineeringModel, freeDofID, icList, loadTimeFunctionList, materialList, oofem::MaxDofID, nonlocalBarierList, nonlocalUpdateStateCounter, number, outputManager, randomFieldGeneratorList, serialNumber, smoother, spatialLocalizer, topology, transactionManager, and xfemManager.


Member Function Documentation

Checks internal consistency of domain and all domain components.

The checkConsistency of all domain components is invoked.

Returns:
nonzero if test is o.k.
See also:
FEMComponent::checkConsistency

Definition at line 1181 of file domain.C.

References oofem::FEMComponent::checkConsistency(), oofem::DofManager::checkConsistency(), oofem::Element::checkConsistency(), giveDofManager(), giveElement(), giveMaterial(), giveNumberOfDofManagers(), giveNumberOfElements(), and giveNumberOfMaterialModels().

Referenced by oofem::EngngModel::checkProblemConsistency().

Clear all boundary conditions.

Definition at line 421 of file domain.C.

References bcList, and oofem::AList< T >::clear().

Referenced by oofem::MacroLSpace::changeMicroBoundaryConditions().

Commits transactions recorded in transaction manager.

The purpose of transaction manager is to make the domain modification (adding and deleting components) possible and versatile.

The changes are recorded in transaction manager and until the are committed, no change is reflected in domain itself. After transactions are committed, the local numbering can change. A message to the system is sent to update the numbering.

Parameters:
tmManager to commit transactions to.

Definition at line 1494 of file domain.C.

References oofem::AList< T >::clear(), dmanMap, dofManagerList, oofem::DomainTransactionManager::dofmanTransactions, elementList, elementMap, oofem::DomainTransactionManager::elementTransactions, giveConnectivityTable(), giveSpatialLocalizer(), oofem::AList< T >::growTo(), oofem::SpatialLocalizer::init(), initGlobalDofManMap(), initGlobalElementMap(), oofem::AList< T >::put(), renumberDofManagers(), renumberDofManData(), renumberElementData(), renumberElements(), oofem::ConnectivityTable::reset(), and oofem::AList< T >::unlink().

Referenced by oofem::DomainTransactionManager::commitTransactions(), oofem::NonlocalMaterialWTP::migrate(), and oofem::LoadBalancer::migrateLoad().

int oofem::Domain::dofmanGlobal2Local ( int  _globnum)

Definition at line 974 of file domain.C.

References oofem::Element::drawYourself(), giveElement(), and giveNumberOfElements().

Referenced by drawYourself().

Definition at line 986 of file domain.C.

References oofem::DofManager::drawYourself(), giveDofManager(), and giveNumberOfDofManagers().

Referenced by drawYourself().

int oofem::Domain::elementGlobal2Local ( int  _globnum)

Definition at line 1797 of file domain.C.

References elementMap, and giveNumber().

Referenced by oofem::NonlocalMaterialWTP::fastRebuildNonlocalTables().

void oofem::Domain::error ( const char *  file,
int  line,
const char *  format,
  ... 
) [private]

Definition at line 810 of file domain.C.

References __OOFEM_ERROR3, MAX_ERROR_MSG_LENGTH, and number.

const char* oofem::Domain::giveClassName ( ) const [inline]

Returns class name of the receiver.

Definition at line 559 of file domain.h.

Referenced by instanciateYourself().

Definition at line 1059 of file domain.C.

References _error, and dType.

Referenced by oofem::Node::giveUpdatedCoordinate(), and oofem::Node::updateYourself().

Service for accessing particular domain cross section model.

Generates error if no such cross section model is defined.

Parameters:
nPointer to n-th cross section is returned.

Definition at line 347 of file domain.C.

References _error2, oofem::AList< T >::at(), crossSectionList, and oofem::AList< T >::includes().

Referenced by oofem::Subdivision::createMesh(), oofem::Element::giveCrossSection(), restoreContext(), saveContext(), and oofem::HuertaErrorEstimator::setupRefinedProblemEpilog1().

Service for accessing particular domain dof manager.

Generates error if no such dof manager is defined. Note: nodes and element sides share common numbering (they are numbered as DofManagers).

Parameters:
nPointer to n-th dof manager is returned.

Definition at line 334 of file domain.C.

References _error2, oofem::AList< T >::at(), dofManagerList, and oofem::AList< T >::includes().

Referenced by oofem::OutputManager::_testDofManOutput(), oofem::NonStationaryTransportProblem::applyIC(), oofem::CBS::applyIC(), oofem::SUPG::applyIC(), oofem::EngngModel::assembleVectorFromDofManagers(), oofem::EngngModel::balanceLoad(), oofem::DSSMatrix::buildInternalStructure(), oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::StructuralEngngModel::buildReactionTable(), oofem::MacroLSpace::changeMicroBoundaryConditions(), oofem::RigidArmNode::checkConsistency(), oofem::Node::checkConsistency(), checkConsistency(), oofem::NRSolver::checkConvergence(), oofem::CylindricalALM::checkConvergence(), oofem::MatlabExportModule::computeArea(), oofem::PlaneStress2dXfem::computeBmatrixAt(), oofem::PlaneStress2dXfem::computeNumberOfDofs(), oofem::NLTransientTransportProblem::copyUnknownsInDictionary(), oofem::NLTransientTransportProblem::createPreviousSolutionInDofUnknownsDictionary(), oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::ParmetisLoadBalancer::determineDofManState(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::OutputManager::doDofManOutput(), oofem::ProblemCommunicator::DofManCmp(), oofem::LEPlic::doLagrangianPhase(), oofem::DofManExportModule::doOutput(), oofem::MatlabExportModule::doOutputData(), oofem::MatlabExportModule::doOutputMesh(), drawNodes(), oofem::LinearStatic::estimateMaxPackSize(), oofem::FETISolver::estimateMaxPackSize(), oofem::NonLinearStatic::estimateMaxPackSize(), oofem::NonLinearDynamic::estimateMaxPackSize(), oofem::NlDEIDynamic::estimateMaxPackSize(), oofem::DirectErrorIndicatorRC::exchangeDofManDensities(), oofem::DirectErrorIndicatorRC::exchangeDofManIndicatorVals(), oofem::Subdivision::exchangeRemoteElements(), oofem::DarcyFlow::forceEquationNumbering(), oofem::SUPG::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::DummySpatialLocalizer::giveAllNodesWithinBox(), oofem::StokesFlowVelocityHomogenization::giveAreaOfRVE(), oofem::DirectErrorIndicatorRC::giveDofManDensity(), oofem::DirectErrorIndicatorRC::giveDofManIndicator(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::PlaneStress2dXfem::giveLocationArray(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::SimpleSlaveDof::giveMasterDof(), oofem::SlaveDof::giveMasterDof(), oofem::ParmetisLoadBalancer::handleMasterSlaveDofManLinks(), oofem::PetscNatural2GlobalOrdering::init(), oofem::PetscNatural2LocalOrdering::init(), initGlobalDofManMap(), oofem::DofDistributedPrimaryField::initialize(), oofem::SloanGraph::initialize(), oofem::OctreeSpatialLocalizer::insertNodeIntoOctree(), instanciateYourself(), oofem::ParmetisLoadBalancer::labelDofManagers(), LB_giveUpdatedLocalNumber(), oofem::FETISolver::masterMapDirectionVector(), oofem::FETISolver::masterMapPPVector(), oofem::FETISolver::masterMapRBM(), oofem::FETISolver::masterMapResiduals(), oofem::FETISolver::masterMapSolution(), oofem::LoadBalancer::migrateLoad(), oofem::EngngModel::packDofManagers(), oofem::NonLinearStatic::packMigratingData(), oofem::NonLinearDynamic::packMigratingData(), oofem::LoadBalancer::packMigratingData(), oofem::FETISolver::packPPVector(), oofem::FETISolver::packRBM(), oofem::NonlocalMaterialWTP::packRemoteElements(), oofem::Subdivision::packRemoteElements(), oofem::FETISolver::packResiduals(), oofem::ParmetisLoadBalancer::packSharedDmanPartitions(), oofem::StructuralEngngModel::printReactionForces(), oofem::LoadBalancer::printStatistics(), oofem::NonLinearDynamic::proceedStep(), oofem::SPRNodalRecoveryModel::recoverValues(), restoreContext(), oofem::SimpleSlaveDof::saveContext(), oofem::SlaveDof::saveContext(), saveContext(), oofem::MicroMaterial::setMacroProperties(), oofem::FETICommunicator::setUpCommunicationMaps(), oofem::FETISolver::setUpCommunicationMaps(), oofem::ProblemCommunicator::setUpCommunicationMapsForElementCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForNodeCut(), oofem::FreemInterface::smoothNodalDensities(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::EigenValueDynamic::terminate(), oofem::LinearStability::terminate(), oofem::LinearStability::terminateLinStatic(), oofem::FETISolver::unpackDirectionVector(), oofem::EngngModel::unpackDofManagers(), oofem::NonLinearStatic::unpackMigratingData(), oofem::NonLinearDynamic::unpackMigratingData(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalDensities(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalIndicatorVals(), oofem::FETISolver::unpackSolution(), oofem::DofDistributedPrimaryField::update(), oofem::SUPG::updateDofUnknownsDictionary_corrector(), oofem::SUPG::updateDofUnknownsDictionary_predictor(), oofem::NLTransientTransportProblem::updateInternalState(), oofem::StructuralEngngModel::updateInternalState(), oofem::CBS::updateInternalState(), oofem::SUPG::updateInternalState(), oofem::LevelSetPCS::updatePosition(), oofem::WeakPeriodicbc::updateSminmax(), oofem::SUPG::updateSolutionVectors(), oofem::SUPG::updateSolutionVectors_predictor(), and oofem::EngngModel::updateYourself().

Service for accessing particular domain fe element.

Generates error if no such element is defined.

Parameters:
nPointer to n-th element is returned.

Definition at line 194 of file domain.C.

References _error2, oofem::AList< T >::at(), elementList, and oofem::AList< T >::includes().

Referenced by oofem::MMALeastSquareProjection::__init(), oofem::OutputManager::_testElementOutput(), oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::NLTransientTransportProblem::applyIC(), oofem::NonStationaryTransportProblem::applyIC(), oofem::CBS::applyIC(), oofem::SUPG::applyIC(), oofem::SurfaceTensionBoundaryCondition::assemble(), oofem::WeakPeriodicbc::assemble(), oofem::MixedGradientPressureNeumann::assemble(), oofem::NonLinearStatic::assemble(), oofem::NonLinearDynamic::assemble(), oofem::EngngModel::assemble(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::NonStationaryTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::StationaryTransportProblem::assembleDirichletBcRhsVector(), oofem::NonStationaryTransportProblem::assembleDirichletBcRhsVector(), oofem::EngngModel::assembleExtrapolatedForces(), oofem::SurfaceTensionBoundaryCondition::assembleVector(), oofem::WeakPeriodicbc::assembleVector(), oofem::MixedGradientPressureNeumann::assembleVector(), oofem::EngngModel::assembleVectorFromElements(), oofem::Subdivision::assignGlobalNumbersToElements(), oofem::Subdivision::RS_Triangle::bisect(), oofem::Subdivision::RS_Tetra::bisect(), oofem::SkylineUnsym::buildInternalStructure(), oofem::DynCompRow::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::DynCompCol::buildInternalStructure(), oofem::Skyline::buildInternalStructure(), oofem::DSSMatrix::buildInternalStructure(), oofem::SymCompCol::buildInternalStructure(), oofem::CompCol::buildInternalStructure(), oofem::NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), oofem::ParmetisLoadBalancer::calculateLoadTransfer(), oofem::StationaryTransportProblem::checkConsistency(), oofem::LinearStatic::checkConsistency(), oofem::NonStationaryTransportProblem::checkConsistency(), oofem::DIIDynamic::checkConsistency(), oofem::StokesFlow::checkConsistency(), oofem::CBS::checkConsistency(), oofem::SUPG::checkConsistency(), oofem::NonLinearDynamic::checkConsistency(), checkConsistency(), oofem::NRSolver::checkConvergence(), oofem::CylindricalALM::checkConvergence(), oofem::MatlabExportModule::computeArea(), oofem::LEPlic::computeCriticalTimeStep(), oofem::MixedGradientPressureNeumann::computeFields(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::XfemManager::computeNodeEnrichmentType(), oofem::SPRNodalRecoveryModel::computePatch(), oofem::FE2FluidMaterialStatus::computeSize(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::Targe2Interface::createInput(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::LoadBalancer::deleteRemoteElements(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::LEPlic::doCellDLS(), oofem::OutputManager::doElementOutput(), oofem::GPInitModule::doInit(), oofem::LEPlic::doInterfaceReconstruction(), oofem::LEPlic::doInterfaceRemapping(), oofem::MixedGradientPressureBC::domainSize(), oofem::PrescribedGradient::domainSize(), oofem::GPExportModule::doOutput(), oofem::HOMExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::VTKXMLExportModule::doOutput(), oofem::MatlabExportModule::doOutputMesh(), oofem::MatlabExportModule::doOutputSpecials(), drawElements(), oofem::ProblemCommunicator::ElemCmp(), oofem::ZZErrorEstimator::estimateError(), oofem::HuertaErrorEstimator::estimateError(), oofem::LinearStatic::estimateMaxPackSize(), oofem::NonLinearStatic::estimateMaxPackSize(), oofem::NonLinearDynamic::estimateMaxPackSize(), oofem::NlDEIDynamic::estimateMaxPackSize(), oofem::ZZRemeshingCriteria::estimateMeshDensities(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::LevelSetPCS::evalElemFContribution(), oofem::LevelSetPCS::evalElemfContribution(), oofem::SUPG::evaluateElementStabilizationCoeffs(), oofem::Subdivision::exchangeRemoteElements(), oofem::VTKXMLExportModule::exportCellVarAs(), oofem::VTKExportModule::exportCellVars(), oofem::NonlocalMaterialWTP::fastRebuildNonlocalTables(), oofem::LEPlic::findCellLineConstant(), oofem::LevelSetPCS::FMMReinitialization(), oofem::SUPG::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::DummySpatialLocalizer::giveAllElementsWithIpWithinBox(), giveArea(), oofem::DummySpatialLocalizer::giveClosestIP(), oofem::OctreeSpatialLocalizer::giveClosestIP(), oofem::OctreeSpatialLocalizer::giveClosestIPWithinOctant(), oofem::CombinedZZSIRemeshingCriteria::giveDofManDensity(), oofem::ZZRemeshingCriteria::giveDofManDensity(), oofem::HuertaRemeshingCriteria::giveDofManDensity(), oofem::WeakPeriodicbc::giveEdgeNormal(), oofem::DIIDynamic::giveElementCharacteristicMatrix(), oofem::NonStationaryTransportProblem::giveElementCharacteristicMatrix(), oofem::NonLinearDynamic::giveElementCharacteristicMatrix(), oofem::EngngModel::giveElementCharacteristicMatrix(), oofem::SUPG::giveElementCharacteristicVector(), oofem::EngngModel::giveElementCharacteristicVector(), oofem::DummySpatialLocalizer::giveElementClosestToPoint(), oofem::OctreeSpatialLocalizer::giveElementClosestToPointWithinOctant(), oofem::DummySpatialLocalizer::giveElementCloseToPoint(), oofem::OctreeSpatialLocalizer::giveElementCloseToPoint(), oofem::OctreeSpatialLocalizer::giveElementCloseToPointWithinOctant(), oofem::DummySpatialLocalizer::giveElementContainingPoint(), oofem::OctreeSpatialLocalizer::giveElementContainingPoint(), oofem::LevelSetPCS::giveElementMaterialMixture(), oofem::LEPlic::giveElementMaterialMixture(), oofem::ConnectivityTable::giveElementNeighbourList(), oofem::NonlocalMaterialWTP::giveElementNonlocalDepArry(), oofem::OctreeSpatialLocalizer::giveElementsWithIPWithinBox(), oofem::NodalRecoveryModel::giveElementVirtualRegionNumber(), oofem::DirectErrorIndicatorRC::giveLocalDofManDensity(), oofem::DirectErrorIndicatorRC::giveLocalDofManIndicator(), oofem::SurfaceTensionBoundaryCondition::giveLocationArrays(), oofem::MixedGradientPressureNeumann::giveLocationArrays(), oofem::CBS::giveNextStep(), oofem::SUPG::giveNextStep(), oofem::LEPlic::giveNodalScalarRepresentation(), oofem::NodalRecoveryModel::giveRegionRecordMap(), oofem::NodalRecoveryModel::giveRegionRecordSize(), oofem::VTKExportModule::giveTotalRBRNumberOfNodes(), oofem::MeshQualityErrorEstimator::giveValue(), giveVolume(), oofem::StokesFlowVelocityHomogenization::handlePrescribedValues(), oofem::DummySpatialLocalizer::init(), oofem::NonlocalMaterialWTP::init(), oofem::OctreeSpatialLocalizer::initElementDataStructure(), oofem::OctreeSpatialLocalizer::initElementIPDataStructure(), initGlobalElementMap(), oofem::ParmetisLoadBalancer::initGlobalParmetisElementNumbering(), oofem::FastMarchingMethod::initialize(), oofem::SloanGraph::initialize(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::SPRNodalRecoveryModel::initPatch(), oofem::NodalAveragingRecoveryModel::initRegionMap(), oofem::ZZNodalRecoveryModel::initRegionMap(), oofem::SPRNodalRecoveryModel::initRegionMap(), oofem::VTKExportModule::initRegionNodeNumbering(), oofem::NodalRecoveryModel::initRegionNodeNumbering(), oofem::VTKXMLExportModule::initRegionNodeNumbering(), oofem::EngngModel::initStepIncrements(), oofem::ConnectivityTable::instanciateConnectivityTable(), instanciateYourself(), oofem::LEPlicElementInterface::isBoundary(), oofem::EnrichmentItem::isDofManEnriched(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::LoadBalancer::packMigratingData(), oofem::NonlocalMaterialWTP::packMigratingElementDependencies(), oofem::EngngModel::packRemoteElementData(), oofem::NonlocalMaterialWTP::packRemoteElements(), oofem::Subdivision::packRemoteElements(), oofem::LevelSetPCS::pcs_stage1(), oofem::LoadBalancer::printStatistics(), oofem::NonlocalMaterialExtensionInterface::rebuildNonlocalPointTable(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::LevelSetPCS::redistance(), oofem::RefinedElement::RefinedElement(), oofem::RefinedMesh::refineMeshGlobally(), restoreContext(), saveContext(), oofem::ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), oofem::StructuralEngngModel::showSparseMtrxStructure(), oofem::NonLinearStatic::showSparseMtrxStructure(), oofem::NonLinearDynamic::showSparseMtrxStructure(), oofem::Subdivision::smoothMesh(), oofem::FreemInterface::smoothNodalDensities(), oofem::FastMarchingMethod::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::DEIDynamic::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::LinearStability::terminateLinStatic(), oofem::DIIDynamic::timesMtrx(), oofem::NonLinearDynamic::timesMtrx(), oofem::EngngModel::unpackRemoteElementData(), oofem::Subdivision::unpackSharedIrregulars(), oofem::StokesFlow::updateComponent(), oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage(), oofem::SUPG::updateElementsForNewInterfacePosition(), oofem::XfemManager::updateIntegrationRule(), oofem::NLTransientTransportProblem::updateInternalState(), oofem::StructuralEngngModel::updateInternalState(), oofem::StationaryTransportProblem::updateInternalState(), oofem::StokesFlow::updateInternalState(), oofem::CBS::updateInternalState(), oofem::NonStationaryTransportProblem::updateInternalState(), oofem::SUPG::updateInternalState(), oofem::LevelSetPCS::updatePosition(), oofem::SUPG::updateSolutionVectors(), oofem::SUPG::updateSolutionVectors_predictor(), oofem::FastMarchingMethod::updateTrialValue(), oofem::NonStationaryTransportProblem::updateYourself(), and oofem::EngngModel::updateYourself().

Returns engineering model to which receiver is associated.

Definition at line 388 of file domain.C.

References _error, and engineeringModel.

Referenced by oofem::ActiveDof::askNewEquationNumber(), oofem::MasterDof::askNewEquationNumber(), oofem::NonLinearStatic::assembleIncrementalReferenceLoadVectors(), oofem::NonLinearDynamic::assembleIncrementalReferenceLoadVectors(), oofem::Subdivision::assignGlobalNumbersToSharedIrregulars(), oofem::ParmetisLoadBalancer::calculateLoadTransfer(), oofem::NewtonianFluidMaterial::checkConsistency(), oofem::NonlinearFluidMaterial::checkConsistency(), oofem::BinghamFluidMaterial2::checkConsistency(), oofem::PlaneStress2dXfem::computeBmatrixAt(), oofem::LIBeam3d2::computeBmatrixAt(), oofem::PlaneStress2dXfem::computeConstitutiveMatrixAt(), oofem::TR1_2D_SUPG::computeCriticalLEPlicTimeStep(), oofem::Tet1_3D_SUPG::computeCriticalTimeStep(), oofem::TR1_2D_CBS::computeCriticalTimeStep(), oofem::TR1_2D_CBS::computeDensityRhsPressureTerms(), oofem::TR1_2D_CBS::computeDensityRhsVelocityTerms(), oofem::TR1_2D_SUPG_AXI::computeDiffusionDerivativeTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeDiffusionDerivativeTerm_MB(), oofem::SUPGElement2::computeDiffusionDerivativeTerm_MB(), oofem::TR1_2D_SUPG::computeDiffusionDerivativeTerm_MB(), oofem::TR1_2D_SUPG2::computeDiffusionDerivativeTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeDiffusionDerivativeTerm_MC(), oofem::TR1_2D_SUPG2_AXI::computeDiffusionDerivativeTerm_MC(), oofem::TR1_2D_SUPG_AXI::computeDiffusionTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeDiffusionTerm_MB(), oofem::SUPGElement2::computeDiffusionTerm_MB(), oofem::TR1_2D_SUPG::computeDiffusionTerm_MB(), oofem::TR1_2D_SUPG2::computeDiffusionTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeDiffusionTerm_MC(), oofem::TR1_2D_SUPG2_AXI::computeDiffusionTerm_MC(), oofem::TR1_2D_CBS::computeDiffusionTermsI(), oofem::XfemManager::computeFictPosition(), oofem::PrescribedGradient::computeField(), oofem::MixedGradientPressureDirichlet::computeFields(), oofem::LIBeam3d2::computeGtoLRotationMatrix(), oofem::Beam3d::computeKappaCoeffs(), oofem::TR1_2D_CBS::computePrescribedTractionPressure(), oofem::B3Material::computeShrinkageStrainVector(), oofem::B3SolidMaterial::computeShrinkageStrainVector(), oofem::MacroLSpace::computeStiffnessMatrix(), oofem::Q4Axisymm::computeStrainVector(), oofem::L4Axisymm::computeStrainVector(), oofem::Axisymm3d::computeStrainVector(), oofem::NLStructuralElement::computeStrainVector(), oofem::StructuralMaterial::computeStressIndependentStrainVector(), oofem::PlaneStress2dXfem::computeStressVector(), oofem::PrescribedGradient::computeTangent(), oofem::MixedGradientPressureDirichlet::computeTangents(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::FE2FluidMaterialStatus::createRVE(), oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::LoadBalancer::deleteRemoteElements(), oofem::LEPlic::doLagrangianPhase(), oofem::InterfaceElem2dQuad::drawDeformedGeometry(), oofem::InterfaceElem1d::drawDeformedGeometry(), oofem::QTrPlaneStrain::drawDeformedGeometry(), oofem::QTrPlaneStress2d::drawDeformedGeometry(), oofem::LumpedMassElement::drawDeformedGeometry(), oofem::LIBeam2dNL::drawDeformedGeometry(), oofem::CohesiveSurface3d::drawDeformedGeometry(), oofem::Axisymm3d::drawDeformedGeometry(), oofem::QPlaneStrain::drawDeformedGeometry(), oofem::Truss2d::drawDeformedGeometry(), oofem::Q4Axisymm::drawDeformedGeometry(), oofem::LIBeam3d::drawDeformedGeometry(), oofem::QPlaneStress2d::drawDeformedGeometry(), oofem::LIBeam3dNL2::drawDeformedGeometry(), oofem::TrPlaneStress2d::drawDeformedGeometry(), oofem::LIBeam3dNL::drawDeformedGeometry(), oofem::Truss1d::drawDeformedGeometry(), oofem::TR_SHELL01::drawDeformedGeometry(), oofem::Beam2d::drawDeformedGeometry(), oofem::L4Axisymm::drawDeformedGeometry(), oofem::Lattice2d::drawDeformedGeometry(), oofem::LTRSpace::drawDeformedGeometry(), oofem::Truss3d::drawDeformedGeometry(), oofem::Beam3d::drawDeformedGeometry(), oofem::LIBeam3d2::drawDeformedGeometry(), oofem::PlaneStress2d::drawDeformedGeometry(), oofem::Quad1PlaneStrain::drawDeformedGeometry(), oofem::LSpace::drawDeformedGeometry(), oofem::TrPlaneStrain::drawDeformedGeometry(), oofem::CCTPlate::drawDeformedGeometry(), oofem::drawIGAPatchDeformedGeometry(), oofem::PlaneStress2dXfem::drawRawGeometry(), oofem::TR_SHELL01::drawRawGeometry(), oofem::CCTPlate::drawRawGeometry(), oofem::InterfaceElem2dQuad::drawScalar(), oofem::PlaneStress2dXfem::drawScalar(), oofem::InterfaceElem1d::drawScalar(), oofem::Quad1_ht::drawScalar(), oofem::QTrPlaneStrain::drawScalar(), oofem::QTrPlaneStress2d::drawScalar(), oofem::BsplinePlaneStressElement::drawScalar(), oofem::CohesiveSurface3d::drawScalar(), oofem::Axisymm3d::drawScalar(), oofem::QPlaneStrain::drawScalar(), oofem::Tetrah1_ht::drawScalar(), oofem::QPlaneStress2d::drawScalar(), oofem::TrPlaneStress2d::drawScalar(), oofem::Truss1d::drawScalar(), oofem::Brick1_ht::drawScalar(), oofem::TR_SHELL01::drawScalar(), oofem::L4Axisymm::drawScalar(), oofem::LTRSpace::drawScalar(), oofem::TR1_2D_SUPG2_AXI::drawScalar(), oofem::LIBeam3d2::drawScalar(), oofem::PlaneStress2d::drawScalar(), oofem::Quad1PlaneStrain::drawScalar(), oofem::NURBSPlaneStressElement::drawScalar(), oofem::TR21_2D_SUPG::drawScalar(), oofem::Quad10_2D_SUPG::drawScalar(), oofem::LSpace::drawScalar(), oofem::TR1_2D_CBS::drawScalar(), oofem::TrPlaneStrain::drawScalar(), oofem::CCTPlate::drawScalar(), oofem::TSplinePlaneStressElement::drawScalar(), oofem::TR1_2D_SUPG2::drawScalar(), oofem::TR1_2D_SUPG::drawScalar(), oofem::NURBSSpace3dElement::drawScalar(), oofem::TrPlaneStress2d::drawSpecial(), oofem::Lattice2d::drawSpecial(), oofem::LTRSpace::drawSpecial(), oofem::PlaneStress2d::drawSpecial(), oofem::Quad1PlaneStrain::drawSpecial(), oofem::LSpace::drawSpecial(), oofem::Node::drawYourself(), oofem::HuertaErrorEstimator::estimateError(), oofem::FETISolver::estimateMaxPackSize(), oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::DirectErrorIndicatorRC::exchangeDofManDensities(), oofem::DirectErrorIndicatorRC::exchangeDofManIndicatorVals(), oofem::NodalAveragingRecoveryModel::exchangeDofManValues(), oofem::ZZNodalRecoveryModel::exchangeDofManValues(), oofem::SPRNodalRecoveryModel::exchangeDofManValues(), oofem::Subdivision::exchangeRemoteElements(), oofem::Subdivision::exchangeSharedEdges(), oofem::Subdivision::exchangeSharedIrregulars(), oofem::RVEStokesFlowMaterialStatus::exportFilter(), oofem::RVEStokesFlow::exportFilter(), oofem::TractionPressureBC::give(), oofem::PlaneStress2dXfem::giveDofManDofIDMask(), oofem::RheoChainMaterial::giveEndOfTimeOfInterest(), oofem::B3SolidMaterial::giveHumidity(), oofem::MPSMaterial::giveHumidity(), oofem::B3SolidMaterial::giveHumidityIncrement(), oofem::RerShell::giveIPValue(), oofem::Quad10_2D_SUPG::giveIPValue(), oofem::TR1_2D_SUPG::giveIPValue(), oofem::StructuralMaterial::giveIPValue(), oofem::Beam2d::giveKappaCoeff(), oofem::PlaneStress2dXfem::giveLocationArray(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::Subdivision::giveNumberOfProcesses(), oofem::DofManager::givePartitionsConnectivitySize(), oofem::Subdivision::giveRank(), oofem::MPSMaterial::giveTemperature(), oofem::TwoFluidMaterial::giveTempVOF(), oofem::MasterDof::giveUnknown(), oofem::MasterDof::giveUnknownsDictionaryValue(), oofem::NonlocalMaterialWTP::init(), oofem::HellmichMaterial::initAuxStatus(), oofem::NodalAveragingRecoveryModel::initCommMaps(), oofem::ZZNodalRecoveryModel::initCommMaps(), oofem::SPRNodalRecoveryModel::initCommMaps(), oofem::ParmetisLoadBalancer::initGlobalParmetisElementNumbering(), oofem::HellmichMaterial::initGpForNewStep(), oofem::DirectErrorIndicatorRC::initializeFrom(), oofem::Node::initializeFrom(), oofem::NodalAveragingRecoveryModel::initRegionMap(), oofem::ZZNodalRecoveryModel::initRegionMap(), oofem::SPRNodalRecoveryModel::initRegionMap(), oofem::VTKXMLExportModule::initRegionNodeNumbering(), instanciateYourself(), oofem::PetscOrdering_Base::isLocal(), oofem::DofManager::isLocal(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::LoadBalancer::packMigratingData(), oofem::NonlocalMaterialWTP::packMigratingElementDependencies(), oofem::NonlocalMaterialWTP::packRemoteElements(), oofem::Subdivision::packRemoteElements(), oofem::ParmetisLoadBalancer::packSharedDmanPartitions(), oofem::RerShell::printOutputAt(), oofem::DofManager::printOutputAt(), oofem::LoadBalancer::printStatistics(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::SPRNodalRecoveryModel::recoverValues(), oofem::MasterDof::restoreContext(), oofem::HellmichMaterial::restoreIPContext(), oofem::HuertaErrorEstimator::saveContext(), oofem::MasterDof::saveContext(), oofem::HellmichMaterial::saveIPContext(), oofem::MicroMaterial::setMacroProperties(), oofem::FETISolver::setUpCommunicationMaps(), oofem::HuertaErrorEstimator::setupRefinedProblemEpilog2(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::SLEPcSolver::solve(), oofem::SubspaceIteration::solve(), oofem::FETISolver::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::OutputManager::testTimeStepOutput(), oofem::Tr21Stokes::Tr21Stokes(), oofem::LoadBalancer::unpackMigratingData(), oofem::NonlocalMaterialWTP::unpackMigratingElementDependencies(), oofem::NonlocalMaterialWTP::unpackRemoteElements(), oofem::Subdivision::unpackRemoteElements(), oofem::ParmetisLoadBalancer::unpackSharedDmanPartitions(), oofem::PrescribedGradient::updateCoefficientMatrix(), oofem::Tet1_3D_SUPG::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG_AXI::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG2_AXI::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG2::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG::updateStabilizationCoeffs(), oofem::Concrete2::updateStirrups(), oofem::MasterDof::updateUnknownsDictionary(), oofem::Node::updateYourself(), oofem::XfemElementInterface::XfemElementInterface_prepareNodesForDelaunay(), and oofem::XfemElementInterface::XfemElementInterface_updateIntegrationRule().

Service for accessing particular domain ic.

Generates error if no such ic is defined.

Parameters:
nPointer to n-th ic is returned.

Definition at line 241 of file domain.C.

References _error2, oofem::AList< T >::at(), icList, and oofem::AList< T >::includes().

Referenced by oofem::CBS::checkConsistency(), oofem::SUPG::checkConsistency(), oofem::Subdivision::createMesh(), oofem::MasterDof::giveIc(), restoreContext(), and saveContext().

Service for accessing particular domain load.

Generates error if no such load is defined.

Parameters:
nPointer to n-th load is returned.

Definition at line 207 of file domain.C.

References _error2, oofem::AList< T >::at(), bcList, and oofem::AList< T >::includes().

Referenced by oofem::TR1_2D_SUPG_AXI::computeBCLhsPressureTerm_MB(), oofem::SUPGElement::computeBCLhsPressureTerm_MB(), oofem::SUPGElement::computeBCLhsPressureTerm_MC(), oofem::TR1_2D_SUPG_AXI::computeBCLhsTerm_MB(), oofem::SUPGElement::computeBCLhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MB(), oofem::SUPGElement2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MC(), oofem::SUPGElement2::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MC(), oofem::TransportElement::computeBCSubMtrxAt(), oofem::TransportElement::computeBCSubVectorAt(), oofem::TR1_2D_CBS::computeConvectionTermsI(), oofem::TR1_2D_CBS::computeDiffusionTermsI(), oofem::HTSelement::computeForceLoadVector(), oofem::TransportElement::computeInternalSourceRhsSubVectorAt(), oofem::Tr1Darcy::computeLoadVector(), oofem::Tr1BubbleStokes::computeLoadVector(), oofem::Tr21Stokes::computeLoadVector(), oofem::Tet1BubbleStokes::computeLoadVector(), oofem::Tet21Stokes::computeLoadVector(), oofem::Node::computeLoadVectorAt(), oofem::DofManager::computeLoadVectorAt(), oofem::StructuralElement::computeLocalForceLoadVector(), oofem::TR1_2D_CBS::computePrescribedTractionPressure(), oofem::StructuralElement::computeResultingIPEigenstrainAt(), oofem::StructuralElement::computeResultingIPTemperatureAt(), oofem::Shell7Base::computeStiffnessMatrix(), oofem::StokesFlowVelocityHomogenization::rveGiveCharacteristicData(), and oofem::HuertaErrorEstimator::setupRefinedProblemEpilog1().

Service for accessing particular domain material model.

Generates error if no such material model is defined.

Parameters:
nPointer to n-th material model is returned.

Definition at line 270 of file domain.C.

References _error2, oofem::AList< T >::at(), oofem::AList< T >::includes(), and materialList.

Referenced by oofem::TR1_2D_SUPG2_AXI::_giveMaterial(), oofem::TR1_2D_SUPG2::_giveMaterial(), oofem::NonStationaryTransportProblem::applyIC(), checkConsistency(), oofem::Shell7Base::computeBulkTangentMatrix(), oofem::PlaneStress2dXfem::computeConstitutiveMatrixAt(), oofem::Shell7Base::computeMassMatrix(), oofem::Shell7Base::computeMassMatrixNum(), oofem::Shell7Base::computeSectionalForces(), oofem::PlaneStress2dXfem::computeStressVector(), oofem::Subdivision::createMesh(), oofem::LsMasterMatGrad::give3dGprime(), oofem::LsMasterMatGrad::give3dKappaMatrix(), oofem::LsMasterMatGrad::give3dMaterialStiffnessMatrix(), oofem::LsMasterMat::give3dMaterialStiffnessMatrix(), oofem::FiberedCrossSection::giveFiberMaterialStiffnessMatrix(), oofem::FiberedCrossSection::GiveIntegrated3dBeamStress(), oofem::LayeredCrossSection::giveIntegrated3dShellStress(), oofem::LsMasterMatGrad::giveInternalLength(), oofem::LsMasterMat::giveIntVarCompFullIndx(), oofem::LsMasterMat::giveIPValue(), oofem::LsMasterMat::giveIPValueSize(), oofem::LsMasterMat::giveIPValueType(), oofem::LayeredCrossSection::giveLayerMaterialStiffnessMatrix(), oofem::TwoFluidMaterial::giveMaterial(), oofem::Element::giveMaterial(), oofem::LayeredCrossSection::giveRealStresses(), oofem::FiberedCrossSection::giveRealStresses(), oofem::LsMasterMatGrad::giveRealStressVector(), oofem::LsMasterMat::giveRealStressVector(), oofem::Inclusion::initializeFrom(), oofem::LsMasterMatStatus::initTempStatus(), oofem::CrossSection::isCharacteristicMtrxSymmetric(), oofem::LsMasterMatStatus::printOutputAt(), restoreContext(), oofem::FiberedCrossSection::restoreIPContext(), oofem::LayeredCrossSection::restoreIPContext(), oofem::LsMasterMatStatus::saveContext(), saveContext(), oofem::FiberedCrossSection::saveIPContext(), oofem::LayeredCrossSection::saveIPContext(), oofem::HuertaErrorEstimator::setupRefinedProblemEpilog1(), oofem::NonStationaryTransportProblem::updateYourself(), and oofem::LsMasterMatStatus::updateYourself().

int oofem::Domain::giveMaxDofID ( ) [inline]

Gives the current maximum dof ID used.

Definition at line 468 of file domain.h.

References freeDofID.

Referenced by oofem::EngngModel::assembleVector(), and oofem::NRSolver::checkConvergence().

Gives the next free dof ID.

Useful for XFEM and other boundary conditions that introduce other unique Lagrange multipliers.

Returns:
The next free dof ID.

Definition at line 1232 of file domain.C.

References engineeringModel, freeDofID, oofem::EngngModel::isParallel(), and OOFEM_ERROR.

Referenced by oofem::WeakPeriodicbc::initializeFrom(), oofem::MixedGradientPressureDirichlet::MixedGradientPressureDirichlet(), and oofem::MixedGradientPressureNeumann::MixedGradientPressureNeumann().

Service for accessing particular domain node.

Generates error if no such node is defined. Note: nodes and element sides share common numbering (they are numbered as DofManagers).

Parameters:
nPointer to n-th node is returned.

Definition at line 285 of file domain.C.

References _error2, oofem::AList< T >::at(), dofManagerList, and oofem::AList< T >::includes().

Referenced by oofem::PolylineNonlocalBarrier::calculateMinimumDistanceFromBoundary(), oofem::L4Axisymm::computeLoadLEToLRotationMatrix(), oofem::PlaneStress2d::computeLoadLEToLRotationMatrix(), oofem::QSpace::computeLoadLSToLRotationMatrix(), oofem::LSpace::computeLoadLSToLRotationMatrix(), oofem::InterfaceElem1d::computeLocalSlipDir(), oofem::CylindricalALM::convertHPCMap(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::SPRNodalRecoveryModel::determineValuesFromPatch(), oofem::VTKExportModule::doOutput(), oofem::VTKXMLExportModule::doOutput(), oofem::LSpace::drawTriad(), oofem::VTKExportModule::exportIntVarAs(), oofem::VTKXMLExportModule::exportIntVarAs(), oofem::VTKExportModule::exportPrimVarAs(), oofem::VTKXMLExportModule::exportPrimVarAs(), oofem::Beam3d::giveLocalCoordinateSystem(), oofem::LIBeam3d::giveLocalCoordinateSystem(), oofem::LIBeam3d2::giveLocalCoordinateSystem(), oofem::LIBeam3dNL::giveLocalCoordinateSystem(), oofem::LIBeam3dNL2::giveLocalCoordinateSystem(), oofem::OctreeSpatialLocalizer::giveNodesWithinBox(), oofem::LevelSetPCS::initialize(), oofem::NRSolver::initPrescribedEqs(), oofem::PolylineNonlocalBarrier::isActivated(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::MicroMaterial::setMacroProperties(), oofem::PrescribedGradient::updateCoefficientMatrix(), and oofem::FastMarchingMethod::updateTrialValue().

Service for accessing particular domain nonlocal barrier representation.

Generates error if no such barrier model is defined.

Parameters:
nPointer to n-th barrier is returned.

Definition at line 361 of file domain.C.

References _error2, oofem::AList< T >::at(), oofem::AList< T >::includes(), and nonlocalBarierList.

Referenced by oofem::NonlocalMaterialExtensionInterface::applyBarrierConstraints(), oofem::Subdivision::createMesh(), oofem::NonlocalMaterialExtensionInterface::giveDistanceBasedInteractionRadius(), restoreContext(), and saveContext().

Returns the value of nonlocalUpdateStateCounter.

Definition at line 562 of file domain.h.

References nonlocalUpdateStateCounter.

Referenced by oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage().

int oofem::Domain::giveNumber ( ) [inline]

Returns number of dof managers in domain.

Definition at line 316 of file domain.h.

References dofManagerList, and oofem::AList< T >::giveSize().

Referenced by oofem::NonStationaryTransportProblem::applyIC(), oofem::CBS::applyIC(), oofem::SUPG::applyIC(), oofem::EngngModel::assembleVectorFromDofManagers(), oofem::SloanGraph::assignNewNumbers(), oofem::SloanGraph::assignOldNumbers(), oofem::EngngModel::balanceLoad(), oofem::DSSMatrix::buildInternalStructure(), oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::StructuralEngngModel::buildReactionTable(), oofem::MacroLSpace::changeMicroBoundaryConditions(), checkConsistency(), oofem::NRSolver::checkConvergence(), oofem::CylindricalALM::checkConvergence(), oofem::MatlabExportModule::computeArea(), oofem::XfemManager::computeFictPosition(), oofem::SloanGraph::computeProfileSize(), oofem::CylindricalALM::convertHPCMap(), oofem::NLTransientTransportProblem::copyUnknownsInDictionary(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::NLTransientTransportProblem::createPreviousSolutionInDofUnknownsDictionary(), oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::OutputManager::doDofManOutput(), oofem::DofManValueField::DofManValueField(), oofem::LEPlic::doLagrangianPhase(), oofem::DofManExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::MatlabExportModule::doOutputData(), oofem::MatlabExportModule::doOutputMesh(), drawNodes(), oofem::HuertaErrorEstimator::estimateError(), oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::ZZRemeshingCriteria::estimateMeshDensities(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::DirectErrorIndicatorRC::exchangeDofManDensities(), oofem::DirectErrorIndicatorRC::exchangeDofManIndicatorVals(), oofem::Subdivision::exchangeRemoteElements(), oofem::VTKExportModule::exportIntVarAs(), oofem::POIExportModule::exportPrimaryVars(), oofem::VTKExportModule::exportPrimVarAs(), oofem::SloanGraph::findBestRoot(), oofem::SloanGraph::findPeripheralNodes(), oofem::SloanGraph::findTopPriorityInQueue(), oofem::LevelSetPCS::FMMReinitialization(), oofem::DarcyFlow::forceEquationNumbering(), oofem::SUPG::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::DummySpatialLocalizer::giveAllNodesWithinBox(), oofem::StokesFlowVelocityHomogenization::giveAreaOfRVE(), oofem::SloanGraph::giveFullProfileSize(), oofem::SloanGraph::giveNodeWithMinDegree(), oofem::SloanGraph::giveOptimalProfileDensity(), oofem::VTKExportModule::giveTotalRBRNumberOfNodes(), oofem::ParmetisLoadBalancer::handleMasterSlaveDofManLinks(), oofem::PetscNatural2GlobalOrdering::init(), oofem::PetscNatural2LocalOrdering::init(), oofem::NodalRecoveryModel::init(), initGlobalDofManMap(), oofem::DofDistributedPrimaryField::initialize(), oofem::FastMarchingMethod::initialize(), oofem::SloanGraph::initialize(), oofem::LevelSetPCS::initialize(), oofem::SPRNodalRecoveryModel::initPatch(), oofem::NRSolver::initPrescribedEqs(), oofem::VTKExportModule::initRegionNodeNumbering(), oofem::NodalRecoveryModel::initRegionNodeNumbering(), oofem::VTKXMLExportModule::initRegionNodeNumbering(), oofem::SloanGraph::initStatusAndPriority(), oofem::ConnectivityTable::instanciateConnectivityTable(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::LoadBalancer::migrateLoad(), oofem::SloanGraph::numberIsolatedNodes(), oofem::NonLinearStatic::packMigratingData(), oofem::NonLinearDynamic::packMigratingData(), oofem::LoadBalancer::packMigratingData(), oofem::ParmetisLoadBalancer::packSharedDmanPartitions(), oofem::LevelSetPCS::pcs_stage1(), oofem::LoadBalancer::printStatistics(), oofem::NonLinearDynamic::proceedStep(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::SPRNodalRecoveryModel::recoverValues(), oofem::LevelSetPCS::redistance(), oofem::RefinedMesh::refineMeshGlobally(), restoreContext(), saveContext(), oofem::MicroMaterial::setMacroProperties(), oofem::FETICommunicator::setUpCommunicationMaps(), oofem::FETISolver::setUpCommunicationMaps(), oofem::ProblemCommunicator::setUpCommunicationMapsForElementCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForNodeCut(), oofem::FreemInterface::smoothNodalDensities(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::EigenValueDynamic::terminate(), oofem::LinearStability::terminate(), oofem::LinearStability::terminateLinStatic(), oofem::SloanGraph::tryParameters(), oofem::NonLinearStatic::unpackMigratingData(), oofem::NonLinearDynamic::unpackMigratingData(), oofem::DofDistributedPrimaryField::update(), oofem::PrescribedGradient::updateCoefficientMatrix(), oofem::SUPG::updateDofUnknownsDictionary_corrector(), oofem::SUPG::updateDofUnknownsDictionary_predictor(), oofem::NLTransientTransportProblem::updateInternalState(), oofem::StructuralEngngModel::updateInternalState(), oofem::CBS::updateInternalState(), oofem::SUPG::updateInternalState(), oofem::LevelSetPCS::updatePosition(), oofem::NodalRecoveryModel::updateRegionRecoveredValues(), oofem::WeakPeriodicbc::updateSminmax(), oofem::SUPG::updateSolutionVectors(), oofem::SUPG::updateSolutionVectors_predictor(), oofem::EngngModel::updateYourself(), oofem::SloanGraph::writeOptimalRenumberingTable(), and oofem::SloanGraph::writeRenumberingTable().

Returns number of elements in domain.

Definition at line 318 of file domain.h.

References elementList, and oofem::AList< T >::giveSize().

Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::NLTransientTransportProblem::applyIC(), oofem::NonStationaryTransportProblem::applyIC(), oofem::CBS::applyIC(), oofem::SUPG::applyIC(), oofem::NonLinearStatic::assemble(), oofem::NonLinearDynamic::assemble(), oofem::EngngModel::assemble(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::NonStationaryTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::StationaryTransportProblem::assembleDirichletBcRhsVector(), oofem::NonStationaryTransportProblem::assembleDirichletBcRhsVector(), oofem::EngngModel::assembleExtrapolatedForces(), oofem::EngngModel::assembleVectorFromElements(), oofem::Subdivision::assignGlobalNumbersToElements(), oofem::SkylineUnsym::buildInternalStructure(), oofem::DynCompRow::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::DynCompCol::buildInternalStructure(), oofem::DSSMatrix::buildInternalStructure(), oofem::Skyline::buildInternalStructure(), oofem::SymCompCol::buildInternalStructure(), oofem::CompCol::buildInternalStructure(), oofem::HuertaErrorEstimator::buildRefinedMesh(), oofem::ParmetisLoadBalancer::calculateLoadTransfer(), oofem::StationaryTransportProblem::checkConsistency(), oofem::LinearStatic::checkConsistency(), oofem::NonStationaryTransportProblem::checkConsistency(), oofem::DIIDynamic::checkConsistency(), oofem::StokesFlow::checkConsistency(), oofem::CBS::checkConsistency(), oofem::SUPG::checkConsistency(), oofem::NonLinearDynamic::checkConsistency(), checkConsistency(), oofem::NRSolver::checkConvergence(), oofem::CylindricalALM::checkConvergence(), oofem::MatlabExportModule::computeArea(), oofem::LEPlic::computeCriticalTimeStep(), oofem::GradDpElement::computeDistanceToBoundary(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::FE2FluidMaterialStatus::computeSize(), oofem::StokesFlowVelocityHomogenization::computeTangent(), oofem::Targe2Interface::createInput(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::LoadBalancer::deleteRemoteElements(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::OutputManager::doElementOutput(), oofem::GPInitModule::doInit(), oofem::LEPlic::doInterfaceReconstruction(), oofem::LEPlic::doInterfaceRemapping(), oofem::MixedGradientPressureBC::domainSize(), oofem::PrescribedGradient::domainSize(), oofem::GPExportModule::doOutput(), oofem::HOMExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::VTKXMLExportModule::doOutput(), oofem::MatlabExportModule::doOutputMesh(), oofem::MatlabExportModule::doOutputSpecials(), drawElements(), oofem::ZZErrorEstimator::estimateError(), oofem::HuertaErrorEstimator::estimateError(), oofem::ZZRemeshingCriteria::estimateMeshDensities(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::SUPG::evaluateElementStabilizationCoeffs(), oofem::Subdivision::exchangeRemoteElements(), oofem::VTKXMLExportModule::exportCellVarAs(), oofem::VTKExportModule::exportCellVars(), oofem::NonlocalMaterialWTP::fastRebuildNonlocalTables(), oofem::LevelSetPCS::FMMReinitialization(), oofem::DarcyFlow::forceEquationNumbering(), oofem::SUPG::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::StokesFlowVelocityHomogenization::getMeans(), oofem::DummySpatialLocalizer::giveAllElementsWithIpWithinBox(), giveArea(), oofem::DummySpatialLocalizer::giveClosestIP(), oofem::DummySpatialLocalizer::giveElementClosestToPoint(), oofem::DummySpatialLocalizer::giveElementCloseToPoint(), oofem::DummySpatialLocalizer::giveElementContainingPoint(), oofem::LevelSetPCS::giveElementMaterialMixture(), oofem::CBS::giveNextStep(), oofem::SUPG::giveNextStep(), oofem::NodalRecoveryModel::giveRegionRecordMap(), oofem::NodalRecoveryModel::giveRegionRecordSize(), oofem::VTKExportModule::giveTotalRBRNumberOfNodes(), oofem::MeshQualityErrorEstimator::giveValue(), giveVolume(), oofem::StokesFlowVelocityHomogenization::handlePrescribedValues(), oofem::DummySpatialLocalizer::init(), oofem::NonlocalMaterialWTP::init(), oofem::OctreeSpatialLocalizer::initElementDataStructure(), oofem::OctreeSpatialLocalizer::initElementIPDataStructure(), initGlobalElementMap(), oofem::ParmetisLoadBalancer::initGlobalParmetisElementNumbering(), oofem::SloanGraph::initialize(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::NodalAveragingRecoveryModel::initRegionMap(), oofem::ZZNodalRecoveryModel::initRegionMap(), oofem::SPRNodalRecoveryModel::initRegionMap(), oofem::VTKExportModule::initRegionNodeNumbering(), oofem::NodalRecoveryModel::initRegionNodeNumbering(), oofem::VTKXMLExportModule::initRegionNodeNumbering(), oofem::EngngModel::initStepIncrements(), oofem::ConnectivityTable::instanciateConnectivityTable(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::LoadBalancer::packMigratingData(), oofem::NonlocalMaterialWTP::packMigratingElementDependencies(), oofem::Subdivision::packRemoteElements(), oofem::LevelSetPCS::pcs_stage1(), oofem::LoadBalancer::printStatistics(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::LevelSetPCS::redistance(), oofem::RefinedMesh::refineMeshGlobally(), restoreContext(), oofem::StokesFlowVelocityHomogenization::rveGiveCharacteristicData(), saveContext(), oofem::ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), oofem::StructuralEngngModel::showSparseMtrxStructure(), oofem::NonLinearStatic::showSparseMtrxStructure(), oofem::NonLinearDynamic::showSparseMtrxStructure(), oofem::DEIDynamic::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::LinearStability::terminateLinStatic(), oofem::DIIDynamic::timesMtrx(), oofem::NonLinearDynamic::timesMtrx(), oofem::StokesFlow::updateComponent(), oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage(), oofem::SUPG::updateElementsForNewInterfacePosition(), oofem::XfemManager::updateIntegrationRule(), oofem::NLTransientTransportProblem::updateInternalState(), oofem::StructuralEngngModel::updateInternalState(), oofem::StationaryTransportProblem::updateInternalState(), oofem::StokesFlow::updateInternalState(), oofem::CBS::updateInternalState(), oofem::NonStationaryTransportProblem::updateInternalState(), oofem::SUPG::updateInternalState(), oofem::SUPG::updateSolutionVectors(), oofem::SUPG::updateSolutionVectors_predictor(), oofem::NonStationaryTransportProblem::updateYourself(), and oofem::EngngModel::updateYourself().

Returns number of initial conditions in domain.

Definition at line 326 of file domain.h.

References oofem::AList< T >::giveSize(), and icList.

Referenced by oofem::CBS::checkConsistency(), oofem::SUPG::checkConsistency(), oofem::Subdivision::createMesh(), restoreContext(), and saveContext().

Returns number of random field generators.

Definition at line 334 of file domain.h.

References oofem::AList< T >::giveSize(), and randomFieldGeneratorList.

Referenced by restoreContext(), and saveContext().

Service for accessing particular domain random field generator.

Generates error if no such generator is defined.

Parameters:
nPointer to n-th object is returned.

Definition at line 374 of file domain.C.

References _error2, oofem::AList< T >::at(), oofem::AList< T >::includes(), and randomFieldGeneratorList.

Referenced by restoreContext(), and saveContext().

Returns domain serial (version) number.

Definition at line 211 of file domain.h.

References serialNumber.

Referenced by oofem::Subdivision::createMesh(), oofem::AdaptiveNonLinearStatic::initializeAdaptive(), restoreContext(), and saveContext().

Service for accessing particular domain element side.

Generates error if no such element side is defined. Note: nodes and element sides share common numbering (they are numbered as DofManagers).

Parameters:
nPointer to n-th element side is returned.

Definition at line 310 of file domain.C.

References _error2, oofem::AList< T >::at(), dofManagerList, and oofem::AList< T >::includes().

Returns the actual Smoother associated to receiver.

Creates the default, if no one associated.

Definition at line 1001 of file domain.C.

References smoother.

Referenced by oofem::ZZErrorEstimator::estimateError(), oofem::Element::giveInternalStateAtNode(), and oofem::ZZErrorEstimatorInterface::ZZErrorEstimatorI_computeElementContributions().

Returns receiver's associated topology description.

Definition at line 495 of file domain.h.

References topology.

Referenced by oofem::StokesFlow::doStepOutput(), oofem::StokesFlow::solveYourselfAt(), and oofem::StokesFlow::updateInternalState().

Gives the sum of the volume of all elements.

Returns:
Total volume.

Definition at line 1221 of file domain.C.

References oofem::Element::computeVolume(), giveElement(), and giveNumberOfElements().

void oofem::Domain::initGlobalDofManMap ( bool  forceinit = false)
void oofem::Domain::initGlobalElementMap ( bool  forceinit = false)

Reads receiver description from input stream and creates corresponding components accordingly.

It scans input file, each line is assumed to be single record describing type and parameters for specific entity in domain. The record line is converted to lower case letters. Corresponding component is created using CreateUsrDef* function of corresponding base class, sending component name (extracted from corresponding record) as parameter. After new object is created, its initializeFrom member function is called with its record as parameter.

Parameters:
drInput stream with domain description.
Returns:
Nonzero if o.k.
See also:
FemComponent::initializeFrom

Definition at line 424 of file domain.C.

References _error2, bcList, oofem::CreateUsrDefBoundaryConditionOfType(), oofem::CreateUsrDefCrossSectionOfType(), oofem::CreateUsrDefDofManagerOfType(), oofem::CreateUsrDefElementOfType(), oofem::CreateUsrDefLoadTimeFunctionOfType(), oofem::CreateUsrDefMaterialOfType(), oofem::CreateUsrDefNonlocalBarrierOfType(), oofem::CreateUsrDefRandomFieldGenerator(), oofem::CreateUsrDefTopologyOfType(), crossSectionList, dofManagerList, elementList, oofem::InputRecord::finish(), giveClassName(), giveDefaultNodeDofIDArry(), giveDofManager(), giveElement(), giveEngngModel(), oofem::InputRecord::giveField(), oofem::DataReader::giveInputRecord(), oofem::EngngModel::giveOutputStream(), oofem::IntArray::giveSize(), oofem::AList< T >::growTo(), icList, oofem::IFT_Domain_nbarrier, oofem::IFT_Domain_nbc, oofem::IFT_Domain_ncrosssect, oofem::IFT_Domain_ndofman, oofem::IFT_Domain_nelem, oofem::IFT_Domain_nic, oofem::IFT_Domain_nloadtimefunct, oofem::IFT_Domain_nmat, oofem::IFT_Domain_nrfg, oofem::IFT_Domain_topology, oofem::IFT_Domain_type, oofem::AList< T >::includes(), oofem::RandomFieldGenerator::initializeFrom(), oofem::OutputManager::initializeFrom(), oofem::LoadTimeFunction::initializeFrom(), oofem::InitialCondition::initializeFrom(), oofem::FEMComponent::initializeFrom(), oofem::GeneralBoundaryCondition::initializeFrom(), oofem::CrossSection::initializeFrom(), oofem::Material::initializeFrom(), oofem::DofManager::initializeFrom(), oofem::Element::initializeFrom(), oofem::TopologyDescription::instanciateYourself(), oofem::DataReader::IR_bcRec, oofem::DataReader::IR_crosssectRec, oofem::DataReader::IR_dofmanRec, oofem::DataReader::IR_domainCompRec, oofem::DataReader::IR_domainRec, oofem::DataReader::IR_elemRec, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, IR_GIVE_RECORD_KEYWORD_FIELD, oofem::DataReader::IR_icRec, IR_IOERR, oofem::DataReader::IR_ltfRec, oofem::DataReader::IR_matRec, oofem::DataReader::IR_nlocBarRec, oofem::DataReader::IR_nRandomFieldGenRec, oofem::DataReader::IR_outManRec, oofem::IRRT_OK, loadTimeFunctionList, materialList, nonlocalBarierList, number, OOFEM_ERROR2, outputManager, oofem::AList< T >::put(), randomFieldGeneratorList, resolveDomainDofsDefaults(), oofem::DofManager::setGlobalNumber(), oofem::Element::setGlobalNumber(), topology, oofem::DofManager::updateLocalNumbering(), oofem::Element::updateLocalNumbering(), and VERBOSE_PRINT0.

Referenced by oofem::AdaptiveNonLinearStatic::initializeAdaptive(), oofem::EngngModel::instanciateDomains(), and restoreContext().

Return updated local entity number after load balancing.

Definition at line 1766 of file domain.C.

References _error, _error2, dmanMap, oofem::ERS_DofManager, and oofem::FEMComponent::giveNumber().

Referenced by renumberDofManData(), and renumberElementData().

Return updated local entity number after load balancing.

Definition at line 1748 of file domain.C.

References _error, _error2, oofem::ERS_DofManager, giveDofManager(), and oofem::FEMComponent::giveNumber().

Referenced by renumberDofManData(), and renumberElementData().

Performs post-initialization for all the domain contents (which is called after initializeFrom).

Currently, it only calls Element::postInitialize.

Definition at line 800 of file domain.C.

References oofem::AList< T >::at(), elementList, oofem::AList< T >::giveSize(), and oofem::Element::postInitialize().

Referenced by oofem::EngngModel::instanciateDomains().

Assigns new local number (stored as dofmanager number, so it can be requested) to all dofManagers available in domanMap.

Definition at line 1724 of file domain.C.

References dmanMap.

Referenced by commitTransactions().

Definition at line 1736 of file domain.C.

References elementMap.

Referenced by commitTransactions().

Resets the free dof IDs.

Definition at line 1243 of file domain.C.

References freeDofID, and oofem::MaxDofID.

Resizes the internal data structure to accommodate space for _newSize boundary conditions.

Definition at line 406 of file domain.C.

References bcList, and oofem::AList< T >::growTo().

Referenced by oofem::MacroLSpace::changeMicroBoundaryConditions(), and restoreContext().

Resizes the internal data structure to accommodate space for _newSize cross section models.

Definition at line 403 of file domain.C.

References crossSectionList, and oofem::AList< T >::growTo().

Referenced by restoreContext().

void oofem::Domain::resizeDofManagers ( int  _newSize)

Resizes the internal data structure to accommodate space for _newSize dofManagers.

Definition at line 401 of file domain.C.

References dofManagerList, and oofem::AList< T >::growTo().

Referenced by restoreContext().

void oofem::Domain::resizeElements ( int  _newSize)

Resizes the internal data structure to accommodate space for _newSize elements.

Definition at line 402 of file domain.C.

References elementList, and oofem::AList< T >::growTo().

Referenced by restoreContext().

Resizes the internal data structure to accommodate space for _newSize initial conditions.

Definition at line 407 of file domain.C.

References oofem::AList< T >::growTo(), and icList.

Referenced by restoreContext().

Resizes the internal data structure to accommodate space for _newSize load time functions.

Definition at line 408 of file domain.C.

References oofem::AList< T >::growTo(), and loadTimeFunctionList.

Referenced by oofem::MacroLSpace::changeMicroBoundaryConditions(), and restoreContext().

void oofem::Domain::resizeMaterials ( int  _newSize)

Resizes the internal data structure to accommodate space for _newSize materials.

Definition at line 404 of file domain.C.

References oofem::AList< T >::growTo(), and materialList.

Referenced by restoreContext().

void oofem::Domain::resizeNonlocalBarriers ( int  _newSize)

Resizes the internal data structure to accommodate space for _newSize nonlocal barriers.

Definition at line 405 of file domain.C.

References oofem::AList< T >::growTo(), and nonlocalBarierList.

Referenced by restoreContext().

Resizes the internal data structure to accommodate space for _newSize random field generators.

Definition at line 409 of file domain.C.

References oofem::AList< T >::growTo(), and randomFieldGeneratorList.

Referenced by restoreContext().

void oofem::Domain::resolveDomainDofsDefaults ( const char *  typeName) [private]

Definition at line 908 of file domain.C.

References _error2, dType, and strncasecmp().

Referenced by instanciateYourself().

contextIOResultType oofem::Domain::restoreContext ( DataStream stream,
ContextMode  mode,
void *  obj = NULL 
)

Restores the domain state from output stream.

Restores recursively the state of all managed objects, like DofManagers and Elements. Each context is associated with unique time step. Only one context per time step is allowed. Restore context function will restore such context, which is related (through its step number) to time step number and version given in obj parameter. Restoring context will change current time step in order to correspond to newly restored context.

Parameters:
streamContext file.
modeDetermines amount of info in stream.
objVoid pointer to an int array containing two values:time step number and version of a context file to be restored.
Returns:
contextIOResultType.
Exceptions:
ContextIOERRexception if error encountered.

Definition at line 1367 of file domain.C.

References _error, bcList, oofem::CIO_IOERR, oofem::CIO_OK, oofem::AList< T >::clear(), clear(), CM_Definition, oofem::contextMode_read, oofem::CreateUsrDefBoundaryConditionOfType(), oofem::CreateUsrDefCrossSectionOfType(), oofem::CreateUsrDefDofManagerOfType(), oofem::CreateUsrDefElementOfType(), oofem::CreateUsrDefInitialConditionOfType(), oofem::CreateUsrDefLoadTimeFunctionOfType(), oofem::CreateUsrDefMaterialOfType(), oofem::CreateUsrDefNonlocalBarrierOfType(), oofem::CreateUsrDefRandomFieldGenerator(), dofManagerList, DOMAIN_NCOMP, elementList, engineeringModel, giveBc(), giveCrossSection(), giveDofManager(), oofem::EngngModel::GiveDomainDataReader(), giveElement(), giveErrorEstimator(), giveIc(), giveLoadTimeFunction(), giveMaterial(), giveNonlocalBarrier(), giveNumberOfBoundaryConditions(), giveNumberOfCrossSectionModels(), giveNumberOfDofManagers(), giveNumberOfElements(), giveNumberOfInitialConditions(), giveNumberOfLoadTimeFunctions(), giveNumberOfMaterialModels(), giveNumberOfNonlocalBarriers(), giveNumberOfRandomFieldGenerators(), giveRandomFieldGenerator(), giveSerialNumber(), icList, oofem::NodalRecoveryModel::init(), instanciateYourself(), loadTimeFunctionList, materialList, nonlocalBarierList, number, oofem::OOFEM_LOG_INFO(), randomFieldGeneratorList, oofem::DataStream::read(), resizeBoundaryConditions(), resizeCrossSectionModels(), resizeDofManagers(), resizeElements(), resizeInitialConditions(), resizeLoadTimeFunctions(), resizeMaterials(), resizeNonlocalBarriers(), resizeRandomFieldGenerators(), RESTORE_COMPONENTS, oofem::FEMComponent::restoreContext(), setBoundaryCondition(), setCrossSection(), setDofManager(), oofem::ErrorEstimator::setDomain(), setElement(), setInitialCondition(), setLoadTimeFunction(), setMaterial(), setNonlocalBarrier(), setRandomFieldGenerator(), smoother, and THROW_CIOERR.

Referenced by oofem::EngngModel::restoreContext().

contextIOResultType oofem::Domain::saveContext ( DataStream stream,
ContextMode  mode,
void *  obj = NULL 
)

Stores the domain state to output stream.

Stores recursively the state of all managed objects, like DofManagers and Elements. Stored context is associated with current time step. One time step can have only one associated context. Multiple call to saveContext within same time step override previously saved context for this step. By default the stream parameter is used to store data and is not closed. If stream is NULL, new file descriptor is created and this must be also closed at the end.

Parameters:
streamContext stream. If NULL then new file descriptor will be opened and closed at the end else the stream given as parameter will be used and not closed at the end.
modeDetermines amount of info in stream.
objVoid pointer to an int array containing two values:time step number and version of a context file to be restored.
Returns:
contextIOResultType.
Exceptions:
ContextIOERRIf error encountered.

Definition at line 1301 of file domain.C.

References oofem::CIO_IOERR, oofem::CIO_OK, CM_Definition, DOMAIN_NCOMP, giveBc(), giveCrossSection(), giveDofManager(), giveElement(), giveErrorEstimator(), giveIc(), giveLoadTimeFunction(), giveMaterial(), giveNonlocalBarrier(), giveNumberOfBoundaryConditions(), giveNumberOfCrossSectionModels(), giveNumberOfDofManagers(), giveNumberOfElements(), giveNumberOfInitialConditions(), giveNumberOfLoadTimeFunctions(), giveNumberOfMaterialModels(), giveNumberOfNonlocalBarriers(), giveNumberOfRandomFieldGenerators(), giveRandomFieldGenerator(), giveSerialNumber(), SAVE_COMPONENTS, oofem::FEMComponent::saveContext(), THROW_CIOERR, and oofem::DataStream::write().

Referenced by oofem::EngngModel::saveContext().

Sets i-th component. The component will be further managed and maintained by domain object.

Definition at line 416 of file domain.C.

References bcList, and oofem::AList< T >::put().

Referenced by oofem::MacroLSpace::changeMicroBoundaryConditions(), and restoreContext().

void oofem::Domain::setCrossSection ( int  i,
CrossSection obj 
)

Sets i-th component. The component will be further managed and maintained by domain object.

Definition at line 413 of file domain.C.

References crossSectionList, and oofem::AList< T >::put().

Referenced by restoreContext().

void oofem::Domain::setDofManager ( int  i,
DofManager obj 
)

Sets i-th component. The component will be further managed and maintained by domain object.

Definition at line 411 of file domain.C.

References dofManagerList, and oofem::AList< T >::put().

Referenced by restoreContext().

void oofem::Domain::setDomainType ( domainType  _dType) [inline]

Sets domain type.

Definition at line 435 of file domain.h.

References dType.

Referenced by oofem::Subdivision::createMesh().

void oofem::Domain::setElement ( int  i,
Element obj 
)

Sets i-th component. The component will be further managed and maintained by domain object.

Definition at line 412 of file domain.C.

References elementList, and oofem::AList< T >::put().

Referenced by restoreContext().

Sets i-th component. The component will be further managed and maintained by domain object.

Definition at line 417 of file domain.C.

References icList, and oofem::AList< T >::put().

Referenced by restoreContext().

Sets i-th component. The component will be further managed and maintained by domain object.

Definition at line 418 of file domain.C.

References loadTimeFunctionList, and oofem::AList< T >::put().

Referenced by oofem::MacroLSpace::changeMicroBoundaryConditions(), and restoreContext().

void oofem::Domain::setMaterial ( int  i,
Material obj 
)

Sets i-th component. The component will be further managed and maintained by domain object.

Definition at line 414 of file domain.C.

References materialList, and oofem::AList< T >::put().

Referenced by restoreContext().

Sets i-th component. The component will be further managed and maintained by domain object.

Definition at line 415 of file domain.C.

References nonlocalBarierList, and oofem::AList< T >::put().

Referenced by restoreContext().

sets the value of nonlocalUpdateStateCounter

Definition at line 564 of file domain.h.

References nonlocalUpdateStateCounter.

Referenced by oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage().

void oofem::Domain::setNumber ( int  nn) [inline]

Returns domain number.

Definition at line 209 of file domain.h.

References number.

Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap().

Sets i-th component. The component will be further managed and maintained by domain object.

Definition at line 419 of file domain.C.

References oofem::AList< T >::put(), and randomFieldGeneratorList.

Referenced by restoreContext().

void oofem::Domain::setSmoother ( NodalRecoveryModel smoother,
bool  destroyOld = true 
)

Sets the given smoother as an actual smoother for receiver.

Parameters:
smootherNew smoother for receiver.
destroyOldDetermines if any preexisting smoother should be deleted.

Definition at line 1008 of file domain.C.

References smoother.

Referenced by oofem::ZZErrorEstimator::estimateError().

void oofem::Domain::setTopology ( TopologyDescription topo,
bool  destroyOld = true 
)

Sets receiver's associated topology description.

Parameters:
topoNew topology description for receiver.
destroyOldDetermines if any preexisting topology description should be deleted.

Definition at line 1019 of file domain.C.

References topology.

void oofem::Domain::setXfemManager ( XfemManager xfemManager)

Temporary function, sets xfemManager.

Definition at line 1809 of file domain.C.

References xfemManager.

void oofem::Domain::warning ( const char *  file,
int  line,
const char *  format,
  ... 
) [private]

Definition at line 824 of file domain.C.

References __OOFEM_WARNING3, MAX_ERROR_MSG_LENGTH, and number.


Member Data Documentation

Domain connectivity table.

Table is build upon request. Provides connectivity information of current domain.

Definition at line 138 of file domain.h.

Referenced by clear(), Domain(), giveConnectivityTable(), and ~Domain().

Default dofs for a node (depends on the domain type).

Definition at line 118 of file domain.h.

Referenced by giveDefaultNodeDofIDArry().

std :: map< int, DofManager * > oofem::Domain::dmanMap [private]

Global dof manager map (index is global of man number).

Definition at line 178 of file domain.h.

Referenced by commitTransactions(), dofmanGlobal2Local(), initGlobalDofManMap(), LB_giveUpdatedGlobalNumber(), renumberDofManagers(), and renumberDofManData().

dmanMap init flag.

Definition at line 180 of file domain.h.

Referenced by Domain(), and initGlobalDofManMap().

Domain type.

Determined by input data. It determines the problem type (like plane stress or plane strain mode). According to this mode the default number of Dofs per node (or side) and their physical meaning are determined. These default settings can be redefined by particular node or side. See related documentation for details.

See also:
Node
ElementSide

Definition at line 127 of file domain.h.

Referenced by Domain(), giveCorrespondingCoordinateIndex(), giveDefaultNodeDofIDArry(), giveDomainType(), giveNumberOfSpatialDimensions(), resolveDomainDofsDefaults(), and setDomainType().

std :: map< int, Element * > oofem::Domain::elementMap [private]

Global element map (index is global of man number).

Definition at line 182 of file domain.h.

Referenced by commitTransactions(), elementGlobal2Local(), initGlobalElementMap(), renumberElementData(), and renumberElements().

dmanMap init flag.

Definition at line 184 of file domain.h.

Referenced by Domain(), and initGlobalElementMap().

Associated Engineering model.

An abstraction for type of analysis which will be prformed.

Definition at line 132 of file domain.h.

Referenced by Domain(), giveEngngModel(), giveErrorEstimator(), giveNextFreeDofID(), and restoreContext().

int oofem::Domain::freeDofID [private]

Keeps track of next free dof ID (for special Lagrange multipliers, XFEM and such)

Definition at line 169 of file domain.h.

Referenced by Domain(), giveMaxDofID(), giveNextFreeDofID(), and resetFreeDofID().

For nonlocal models of integral type it is necessary, mainly due to resulting efficiency, to compute variable(s) which are nonlocally averaged in advance, before average process begins.

The loop over all integration points is typically made to compute these variables. To prevent doing this multiple times at the same solution state, the modification time mark is kept. This state counter could not be kept in static global variable, because in case of multiple domains stateCounter should be kept independently for each domain.

Definition at line 162 of file domain.h.

Referenced by Domain(), giveNonlocalUpdateStateCounter(), and setNonlocalUpdateStateCounter().

int oofem::Domain::number [private]

Output manager, allowing to filter the produced output.

Definition at line 145 of file domain.h.

Referenced by Domain(), giveOutputManager(), instanciateYourself(), and ~Domain().

std :: list< Element * > oofem::Domain::recvElemList [private]

List of received elements.

Definition at line 190 of file domain.h.

Domain serial (version) number. Used for domain version identification during Adaptive computations.

Definition at line 149 of file domain.h.

Referenced by Domain(), and giveSerialNumber().

nodal recovery object associated to receiver.

Definition at line 151 of file domain.h.

Referenced by clear(), Domain(), giveSmoother(), restoreContext(), setSmoother(), and ~Domain().

Spatial Localizer.

It is build upon request. Provides the spatial localization services.

Definition at line 143 of file domain.h.

Referenced by clear(), Domain(), giveSpatialLocalizer(), and ~Domain().

Topology description.

Definition at line 166 of file domain.h.

Referenced by clear(), Domain(), giveTopology(), instanciateYourself(), setTopology(), and ~Domain().

Transaction manager.

The purpose of this class is to make the domain modification (in terms of adding and deleting components) versatile.

Definition at line 176 of file domain.h.

Referenced by clear(), Domain(), giveTransactionManager(), and ~Domain().

XFEM Manager.

Definition at line 164 of file domain.h.

Referenced by clear(), Domain(), setXfemManager(), and ~Domain().


The documentation for this class was generated from the following files:

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Sun Mar 10 2013 18:16:59 for OOFEM by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2011