|
OOFEM
2.1
|
Class and object Domain. More...
#include <domain.h>
Collaboration diagram for oofem::Domain: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. | |
| Element * | giveElement (int n) |
| Service for accessing particular domain fe element. | |
| EngngModel * | giveEngngModel () |
| Returns engineering model to which receiver is associated. | |
| Load * | giveLoad (int n) |
| Service for accessing particular domain load. | |
| GeneralBoundaryCondition * | giveBc (int n) |
| Service for accessing particular domain bc. | |
| InitialCondition * | giveIc (int n) |
| Service for accessing particular domain ic. | |
| LoadTimeFunction * | giveLoadTimeFunction (int n) |
| Service for accessing particular domain load time function. | |
| Material * | giveMaterial (int n) |
| Service for accessing particular domain material model. | |
| CrossSection * | giveCrossSection (int n) |
| Service for accessing particular domain cross section model. | |
| NonlocalBarrier * | giveNonlocalBarrier (int n) |
| Service for accessing particular domain nonlocal barrier representation. | |
| RandomFieldGenerator * | giveRandomFieldGenerator (int n) |
| Service for accessing particular domain random field generator. | |
| Node * | giveNode (int n) |
| Service for accessing particular domain node. | |
| ElementSide * | giveSide (int n) |
| Service for accessing particular domain element side. | |
| DofManager * | giveDofManager (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 IntArray & | giveDefaultNodeDofIDArry () |
| 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. | |
| ConnectivityTable * | giveConnectivityTable () |
| Returns receiver's associated connectivity table. | |
| SpatialLocalizer * | giveSpatialLocalizer () |
| Returns receiver's associated spatial localizer. | |
| OutputManager * | giveOutputManager () |
| Returns domain output manager. | |
| ErrorEstimator * | giveErrorEstimator () |
| Returns Error Estimator associated to receiver. | |
| NodalRecoveryModel * | giveSmoother () |
| Returns the actual Smoother associated to receiver. | |
| TopologyDescription * | giveTopology () |
| 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. | |
| DomainTransactionManager * | giveTransactionManager () |
| 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. | |
| EngngModel * | engineeringModel |
| Associated Engineering model. | |
| ConnectivityTable * | connectivityTable |
| Domain connectivity table. | |
| SpatialLocalizer * | spatialLocalizer |
| Spatial Localizer. | |
| OutputManager * | outputManager |
| 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. | |
| NodalRecoveryModel * | smoother |
| 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. | |
| XfemManager * | xfemManager |
| XFEM Manager. | |
| TopologyDescription * | topology |
| Topology description. | |
| int | freeDofID |
| Keeps track of next free dof ID (for special Lagrange multipliers, XFEM and such) | |
| DomainTransactionManager * | transactionManager |
| 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. | |
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
| oofem::Domain::Domain | ( | int | n, |
| int | serNum, | ||
| EngngModel * | e | ||
| ) |
Constructor.
Creates empty n-th domain belonging to given engineering model.
| n | Domain number. |
| serNum | Serial number |
| e | Engineering model domain will belong to. |
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.
Destructor.
Definition at line 114 of file domain.C.
References bcList, connectivityTable, crossSectionList, dofManagerList, elementList, icList, loadTimeFunctionList, materialList, nonlocalBarierList, outputManager, randomFieldGeneratorList, smoother, spatialLocalizer, topology, transactionManager, and xfemManager.
| int oofem::Domain::checkConsistency | ( | ) |
Checks internal consistency of domain and all domain components.
The checkConsistency of all domain components is invoked.
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().
| void oofem::Domain::clear | ( | ) |
Clear receiver.
Definition at line 147 of file domain.C.
References bcList, oofem::AList< T >::clear(), oofem::XfemManager::clear(), oofem::NodalRecoveryModel::clear(), connectivityTable, crossSectionList, dofManagerList, elementList, icList, loadTimeFunctionList, materialList, nonlocalBarierList, randomFieldGeneratorList, oofem::ConnectivityTable::reset(), smoother, spatialLocalizer, topology, transactionManager, and xfemManager.
Referenced by restoreContext().
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.
| tm | Manager 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 1785 of file domain.C.
References dmanMap, and giveNumber().
Referenced by oofem::NonlocalMaterialWTP::packRemoteElements(), oofem::NonlocalMaterialWTP::unpackRemoteElements(), and oofem::ParmetisLoadBalancer::unpackSharedDmanPartitions().
| void oofem::Domain::drawElements | ( | oofegGraphicContext & | context | ) |
Definition at line 974 of file domain.C.
References oofem::Element::drawYourself(), giveElement(), and giveNumberOfElements().
Referenced by drawYourself().
| void oofem::Domain::drawNodes | ( | oofegGraphicContext & | context | ) |
Definition at line 986 of file domain.C.
References oofem::DofManager::drawYourself(), giveDofManager(), and giveNumberOfDofManagers().
Referenced by drawYourself().
| void oofem::Domain::drawYourself | ( | oofegGraphicContext & | context | ) |
Definition at line 958 of file domain.C.
References drawElements(), drawNodes(), oofem::oofegGraphicContext::giveIntVarPlotMode(), oofem::OGC_essentialBC, oofem::OGC_naturalBC, oofem::OGC_nodeAnnotation, oofem::OGC_nodeGeometry, oofem::OGC_nodeScalarPlot, and oofem::OGC_nodeVectorPlot.
| 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.
| double oofem::Domain::giveArea | ( | ) |
Gives the sum of the area of all elements.
Definition at line 1211 of file domain.C.
References oofem::Element::computeArea(), giveElement(), and giveNumberOfElements().
Referenced by oofem::MixedGradientPressureBC::domainSize(), oofem::PrescribedGradient::domainSize(), oofem::StokesFlowVelocityHomogenization::giveAreaOfDomain(), oofem::StokesFlowVelocityHomogenization::handlePrescribedValues(), and oofem::FE2FluidMaterialStatus::updateYourself().
| GeneralBoundaryCondition * oofem::Domain::giveBc | ( | int | n | ) |
Service for accessing particular domain bc.
Generates error if no such bc is defined.
| n | Pointer to n-th bc is returned. |
Definition at line 228 of file domain.C.
References _error2, oofem::AList< T >::at(), bcList, and oofem::AList< T >::includes().
Referenced by oofem::EngngModel::assemble(), oofem::EngngModel::assembleVectorFromActiveBC(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::CBS::checkConsistency(), oofem::SUPG::checkConsistency(), oofem::NRSolver::checkConvergence(), oofem::Subdivision::createMesh(), oofem::FE2FluidMaterialStatus::createRVE(), oofem::MatlabExportModule::doOutputSpecials(), oofem::SUPG::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::ActiveDof::giveActiveBoundaryCondition(), oofem::MasterDof::giveBc(), oofem::SloanGraph::initialize(), restoreContext(), and saveContext().
| const char* oofem::Domain::giveClassName | ( | ) | const [inline] |
Returns class name of the receiver.
Definition at line 559 of file domain.h.
Referenced by instanciateYourself().
Returns receiver's associated connectivity table.
Definition at line 1030 of file domain.C.
References connectivityTable.
Referenced by oofem::MMALeastSquareProjection::__init(), oofem::Subdivision::RS_Tetra::bisect(), commitTransactions(), oofem::XfemManager::computeNodeEnrichmentType(), oofem::Subdivision::createMesh(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::LEPlic::doCellDLS(), oofem::LEPlic::doInterfaceRemapping(), oofem::SpatialLocalizer::giveAllElementsWithNodesWithinBox(), oofem::CombinedZZSIRemeshingCriteria::giveDofManDensity(), oofem::ZZRemeshingCriteria::giveDofManDensity(), oofem::HuertaRemeshingCriteria::giveDofManDensity(), oofem::DirectErrorIndicatorRC::giveLocalDofManDensity(), oofem::DirectErrorIndicatorRC::giveLocalDofManIndicator(), oofem::LEPlic::giveNodalScalarRepresentation(), oofem::FastMarchingMethod::initialize(), oofem::SPRNodalRecoveryModel::initPatch(), oofem::OctreeSpatialLocalizer::insertElementsUsingNodalConnectivitiesIntoOctree(), oofem::LEPlicElementInterface::isBoundary(), oofem::EnrichmentItem::isDofManEnriched(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::FreemInterface::smoothNodalDensities(), oofem::FastMarchingMethod::solve(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::LevelSetPCS::updatePosition(), and oofem::FastMarchingMethod::updateTrialValue().
| int oofem::Domain::giveCorrespondingCoordinateIndex | ( | int | idof | ) |
Definition at line 1059 of file domain.C.
Referenced by oofem::Node::giveUpdatedCoordinate(), and oofem::Node::updateYourself().
| CrossSection * oofem::Domain::giveCrossSection | ( | int | n | ) |
Service for accessing particular domain cross section model.
Generates error if no such cross section model is defined.
| n | Pointer 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().
| const IntArray & oofem::Domain::giveDefaultNodeDofIDArry | ( | ) |
Returns default DofID array which defines physical meaning of particular DOFs.
of nodal dofs. Default values are determined using current domain type.
Definition at line 838 of file domain.C.
References oofem::__domainTypeToString(), _error2, defaultNodeDofIDArry, dType, oofem::IntArray::giveSize(), and oofem::IntArray::setValues().
Referenced by oofem::DSSMatrix::buildInternalStructure(), oofem::Subdivision::createMesh(), oofem::HuertaErrorEstimator::estimateError(), instanciateYourself(), oofem::DofManager::resolveDofIDArray(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), and oofem::HuertaErrorEstimator::solveRefinedPatchProblem().
| DofManager * oofem::Domain::giveDofManager | ( | int | n | ) |
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).
| n | Pointer 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().
| domainType oofem::Domain::giveDomainType | ( | ) | [inline] |
Returns domain type.
Definition at line 433 of file domain.h.
References dType.
Referenced by oofem::LineSurfaceTension::computeLoadVector(), oofem::SurfaceTensionBoundaryCondition::computeLoadVectorFromElement(), oofem::Line2SurfaceTension::computeTangent(), oofem::LineSurfaceTension::computeTangent(), oofem::SurfaceTensionBoundaryCondition::computeTangentFromElement(), oofem::Subdivision::createMesh(), oofem::HOMExportModule::doOutput(), oofem::InterfaceElem1d::giveDofManDofIDMask(), oofem::HOMExportModule::initialize(), oofem::InterfaceElem1d::setCoordMode(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::TopologyDescription::TopologyDescription(), and oofem::PrescribedGradient::updateCoefficientMatrix().
| Element * oofem::Domain::giveElement | ( | int | n | ) |
Service for accessing particular domain fe element.
Generates error if no such element is defined.
| n | Pointer 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().
Returns Error Estimator associated to receiver.
Calls corresponding EngngModel Service.
Definition at line 1249 of file domain.C.
References engineeringModel, oofem::EngngModel::giveDomainErrorEstimator(), and number.
Referenced by oofem::Targe2Interface::createInput(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::Element::giveInternalStateAtNode(), oofem::Element::giveIPValue(), restoreContext(), and saveContext().
| InitialCondition * oofem::Domain::giveIc | ( | int | n | ) |
Service for accessing particular domain ic.
Generates error if no such ic is defined.
| n | Pointer 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().
| Load * oofem::Domain::giveLoad | ( | int | n | ) |
Service for accessing particular domain load.
Generates error if no such load is defined.
| n | Pointer 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 load time function.
Generates error if no such load time function is defined.
| n | Pointer to n-th load time function is returned. |
Definition at line 255 of file domain.C.
References _error2, oofem::AList< T >::at(), oofem::AList< T >::includes(), and loadTimeFunctionList.
Referenced by oofem::PeriodicPiecewiseLinFunction::__at(), oofem::PeriodicPiecewiseLinFunction::__derAt(), oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::Subdivision::createMesh(), oofem::NonStationaryTransportProblem::giveDtTimeFunction(), oofem::StaggeredProblem::giveDtTimeFunction(), oofem::HellmichMaterial::givehTimeFunction(), oofem::GeneralBoundaryCondition::giveLoadTimeFunction(), oofem::SUPG::giveNextStep(), oofem::HellmichMaterial::giveTTimeFunction(), oofem::Element::isActivated(), oofem::GeneralBoundaryCondition::isImposed(), restoreContext(), saveContext(), and oofem::HuertaErrorEstimator::setupRefinedProblemEpilog2().
| Material * oofem::Domain::giveMaterial | ( | int | n | ) |
Service for accessing particular domain material model.
Generates error if no such material model is defined.
| n | Pointer 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().
| int oofem::Domain::giveNextFreeDofID | ( | ) |
Gives the next free dof ID.
Useful for XFEM and other boundary conditions that introduce other unique Lagrange multipliers.
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().
| Node * oofem::Domain::giveNode | ( | int | n | ) |
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).
| n | Pointer 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.
| n | Pointer 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 domain number.
Definition at line 207 of file domain.h.
References number.
Referenced by oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::NRSolver::applyConstraintsToStiffness(), oofem::ActiveDof::askNewEquationNumber(), oofem::MasterDof::askNewEquationNumber(), oofem::EngngModel::assembleVector(), oofem::NRSolver::checkConvergence(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::CylindricalALM::CylindricalALM(), dofmanGlobal2Local(), elementGlobal2Local(), oofem::Quad10_2D_SUPG::giveIPValue(), oofem::TR1_2D_SUPG::giveIPValue(), oofem::TwoFluidMaterial::giveTempVOF(), oofem::AdaptiveNonLinearStatic::giveUnknownComponent(), oofem::NRSolver::initPrescribedEqs(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::EngngModel::printOutputAt(), oofem::NRSolver::solve(), oofem::NonLinearStatic::updateComponent(), and oofem::EngngModel::updateYourself().
| int oofem::Domain::giveNumberOfBoundaryConditions | ( | ) | [inline] |
Returns number of boundary conditions in domain.
Definition at line 324 of file domain.h.
References bcList, and oofem::AList< T >::giveSize().
Referenced by oofem::EngngModel::assemble(), oofem::EngngModel::assembleVectorFromActiveBC(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::CBS::checkConsistency(), oofem::SUPG::checkConsistency(), oofem::NRSolver::checkConvergence(), oofem::Subdivision::createMesh(), oofem::MatlabExportModule::doOutputSpecials(), oofem::SUPG::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::SloanGraph::initialize(), restoreContext(), saveContext(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), and oofem::HuertaErrorEstimator::solveRefinedPatchProblem().
| int oofem::Domain::giveNumberOfCrossSectionModels | ( | ) | [inline] |
Returns number of cross section models in domain.
Definition at line 322 of file domain.h.
References crossSectionList, and oofem::AList< T >::giveSize().
Referenced by oofem::Subdivision::createMesh(), giveNumberOfRegions(), restoreContext(), saveContext(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), and oofem::HuertaErrorEstimator::solveRefinedPatchProblem().
| int oofem::Domain::giveNumberOfDofManagers | ( | ) | [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().
| int oofem::Domain::giveNumberOfElements | ( | ) | [inline] |
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().
| int oofem::Domain::giveNumberOfInitialConditions | ( | ) | [inline] |
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().
| int oofem::Domain::giveNumberOfLoadTimeFunctions | ( | ) | [inline] |
Returns number of load time functions in domain.
Definition at line 328 of file domain.h.
References oofem::AList< T >::giveSize(), and loadTimeFunctionList.
Referenced by oofem::MacroLSpace::changeMicroBoundaryConditions(), oofem::Subdivision::createMesh(), restoreContext(), saveContext(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), and oofem::HuertaErrorEstimator::solveRefinedPatchProblem().
| int oofem::Domain::giveNumberOfMaterialModels | ( | ) | [inline] |
Returns number of material models in domain.
Definition at line 320 of file domain.h.
References oofem::AList< T >::giveSize(), and materialList.
Referenced by oofem::NonStationaryTransportProblem::applyIC(), checkConsistency(), oofem::Subdivision::createMesh(), oofem::oofegGraphicContext::init(), restoreContext(), saveContext(), oofem::oofegGraphicContext::setActiveProblem(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), and oofem::NonStationaryTransportProblem::updateYourself().
| int oofem::Domain::giveNumberOfNonlocalBarriers | ( | ) | [inline] |
Returns number of nonlocal integration barriers.
Definition at line 332 of file domain.h.
References oofem::AList< T >::giveSize(), and nonlocalBarierList.
Referenced by oofem::NonlocalMaterialExtensionInterface::applyBarrierConstraints(), oofem::Subdivision::createMesh(), oofem::NonlocalMaterialExtensionInterface::giveDistanceBasedInteractionRadius(), restoreContext(), saveContext(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), and oofem::HuertaErrorEstimator::solveRefinedPatchProblem().
| int oofem::Domain::giveNumberOfRandomFieldGenerators | ( | ) | [inline] |
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().
| int oofem::Domain::giveNumberOfRegions | ( | ) | [inline] |
Returns number of regions. Currently regions corresponds to cross section models.
Definition at line 330 of file domain.h.
References giveNumberOfCrossSectionModels().
Referenced by oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::VTKExportModule::giveSmoother(), oofem::DummySpatialLocalizer::init(), oofem::NonlocalMaterialExtensionInterface::initializeFrom(), oofem::NonlocalMaterialExtensionInterface::NonlocalMaterialExtensionInterface(), and oofem::NodalRecoveryModel::setRecoveryMode().
Returns number of spatial dimensions.
Definition at line 889 of file domain.C.
References dType.
Referenced by oofem::MixedGradientPressureDirichlet::computeFields(), oofem::MixedGradientPressureNeumann::computeFields(), oofem::SurfaceTensionBoundaryCondition::computeLoadVectorFromElement(), oofem::FE2FluidMaterialStatus::computeSize(), oofem::SurfaceTensionBoundaryCondition::computeTangentFromElement(), oofem::MixedGradientPressureDirichlet::computeTangents(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::MixedGradientPressureNeumann::CreateIntegrationRule(), oofem::MixedGradientPressureBC::domainSize(), oofem::PrescribedGradient::domainSize(), oofem::MixedGradientPressureDirichlet::initializeFrom(), oofem::MixedGradientPressureNeumann::integrateDevTangent(), oofem::MixedGradientPressureNeumann::integrateVolTangent(), oofem::MixedGradientPressureDirichlet::MixedGradientPressureDirichlet(), oofem::MixedGradientPressureNeumann::MixedGradientPressureNeumann(), oofem::MixedGradientPressureNeumann::setPrescribedDeviatoricGradientFromVoigt(), and oofem::PrescribedGradient::updateCoefficientMatrix().
| OutputManager* oofem::Domain::giveOutputManager | ( | ) | [inline] |
Returns domain output manager.
Definition at line 481 of file domain.h.
References outputManager.
Referenced by oofem::Subdivision::createMesh(), oofem::NonLinearStatic::printOutputAt(), oofem::NonLinearDynamic::printOutputAt(), oofem::NlDEIDynamic::printOutputAt(), oofem::EngngModel::printOutputAt(), and oofem::StructuralEngngModel::printReactionForces().
Service for accessing particular domain random field generator.
Generates error if no such generator is defined.
| n | Pointer 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().
| int oofem::Domain::giveSerialNumber | ( | ) | [inline] |
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().
| ElementSide * oofem::Domain::giveSide | ( | int | n | ) |
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).
| n | Pointer 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 spatial localizer.
Definition at line 1044 of file domain.C.
References spatialLocalizer.
Referenced by oofem::PrimaryField::__evaluateAt(), oofem::MMAClosestIPTransfer::__init(), oofem::MMAContainingElementProjection::__init(), oofem::MMALeastSquareProjection::__init(), oofem::MMAShapeFunctProjection::__mapVariable(), oofem::NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), oofem::HangingNode::checkConsistency(), commitTransactions(), oofem::EIPrimaryUnknownMapper::evaluateAt(), oofem::SmoothedNodalInternalVariableField::evaluateAt(), oofem::DofManValueField::evaluateAt(), oofem::POIExportModule::exportPrimVarAs(), oofem::LevelSetPCS::giveMaterialMixtureAt(), and oofem::LEPlic::giveMaterialMixtureAt().
| TopologyDescription* oofem::Domain::giveTopology | ( | ) | [inline] |
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().
Returns domain transaction manager.
Definition at line 1482 of file domain.C.
References OOFEM_ERROR, and transactionManager.
Referenced by oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::LoadBalancer::deleteRemoteElements(), oofem::Subdivision::exchangeRemoteElements(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::LoadBalancer::unpackMigratingData(), oofem::NonlocalMaterialWTP::unpackRemoteElements(), and oofem::Subdivision::unpackRemoteElements().
| double oofem::Domain::giveVolume | ( | ) |
Gives the sum of the volume of all elements.
Definition at line 1221 of file domain.C.
References oofem::Element::computeVolume(), giveElement(), and giveNumberOfElements().
| void oofem::Domain::initGlobalDofManMap | ( | bool | forceinit = false | ) |
Initializes global dof man map according to domain dofman list.
Definition at line 1641 of file domain.C.
References dmanMap, dmanMapInitialized, giveDofManager(), oofem::DofManager::giveGlobalNumber(), and giveNumberOfDofManagers().
Referenced by commitTransactions(), oofem::LoadBalancer::migrateLoad(), and oofem::ParmetisLoadBalancer::unpackSharedDmanPartitions().
| void oofem::Domain::initGlobalElementMap | ( | bool | forceinit = false | ) |
Definition at line 1665 of file domain.C.
References elementMap, elementMapInitialized, giveElement(), oofem::Element::giveGlobalNumber(), and giveNumberOfElements().
Referenced by commitTransactions(), and oofem::LoadBalancer::migrateLoad().
| int oofem::Domain::instanciateYourself | ( | DataReader * | dr | ) |
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.
| dr | Input stream with domain description. |
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().
| int oofem::Domain::LB_giveUpdatedGlobalNumber | ( | int | oldnum, |
| EntityRenumberingScheme | scheme | ||
| ) |
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().
| int oofem::Domain::LB_giveUpdatedLocalNumber | ( | int | oldnum, |
| EntityRenumberingScheme | scheme | ||
| ) |
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().
| void oofem::Domain::postInitialize | ( | ) |
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().
| void oofem::Domain::renumberDofManagers | ( | ) |
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 1682 of file domain.C.
References dmanMap, oofem::DomainTransactionManager::dofmanTransactions, LB_giveUpdatedGlobalNumber(), and LB_giveUpdatedLocalNumber().
Referenced by commitTransactions().
Definition at line 1703 of file domain.C.
References elementMap, oofem::DomainTransactionManager::elementTransactions, LB_giveUpdatedGlobalNumber(), and LB_giveUpdatedLocalNumber().
Referenced by commitTransactions().
| void oofem::Domain::renumberElements | ( | ) |
Definition at line 1736 of file domain.C.
References elementMap.
Referenced by commitTransactions().
| void oofem::Domain::resetFreeDofID | ( | ) |
Resets the free dof IDs.
Definition at line 1243 of file domain.C.
References freeDofID, and oofem::MaxDofID.
| void oofem::Domain::resizeBoundaryConditions | ( | int | _newSize | ) |
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().
| void oofem::Domain::resizeCrossSectionModels | ( | int | _newSize | ) |
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().
| void oofem::Domain::resizeInitialConditions | ( | int | _newSize | ) |
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().
| void oofem::Domain::resizeLoadTimeFunctions | ( | int | _newSize | ) |
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().
| void oofem::Domain::resizeRandomFieldGenerators | ( | int | _newSize | ) |
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.
| stream | Context file. |
| mode | Determines amount of info in stream. |
| obj | Void pointer to an int array containing two values:time step number and version of a context file to be restored. |
| ContextIOERR | exception 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.
| stream | Context 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. |
| mode | Determines amount of info in stream. |
| obj | Void pointer to an int array containing two values:time step number and version of a context file to be restored. |
| ContextIOERR | If 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().
| void oofem::Domain::setBoundaryCondition | ( | int | i, |
| GeneralBoundaryCondition * | obj | ||
| ) |
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().
| void oofem::Domain::setInitialCondition | ( | int | i, |
| InitialCondition * | obj | ||
| ) |
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().
| void oofem::Domain::setLoadTimeFunction | ( | int | i, |
| LoadTimeFunction * | obj | ||
| ) |
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().
| void oofem::Domain::setNonlocalBarrier | ( | int | i, |
| NonlocalBarrier * | obj | ||
| ) |
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().
| void oofem::Domain::setNonlocalUpdateStateCounter | ( | StateCounterType | val | ) | [inline] |
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().
| void oofem::Domain::setRandomFieldGenerator | ( | int | i, |
| RandomFieldGenerator * | obj | ||
| ) |
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.
| smoother | New smoother for receiver. |
| destroyOld | Determines 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 |
||
| ) |
| 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.
AList< GeneralBoundaryCondition >* oofem::Domain::bcList [private] |
Boundary condition list.
Definition at line 107 of file domain.h.
Referenced by clear(), clearBoundaryConditions(), Domain(), giveBc(), giveLoad(), giveNumberOfBoundaryConditions(), instanciateYourself(), resizeBoundaryConditions(), restoreContext(), setBoundaryCondition(), and ~Domain().
AList< CrossSection >* oofem::Domain::crossSectionList [private] |
Cross section list.
Definition at line 105 of file domain.h.
Referenced by clear(), Domain(), giveCrossSection(), giveNumberOfCrossSectionModels(), instanciateYourself(), resizeCrossSectionModels(), setCrossSection(), and ~Domain().
IntArray oofem::Domain::defaultNodeDofIDArry [private] |
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().
bool oofem::Domain::dmanMapInitialized [private] |
dmanMap init flag.
Definition at line 180 of file domain.h.
Referenced by Domain(), and initGlobalDofManMap().
AList< DofManager >* oofem::Domain::dofManagerList [private] |
Dof manager list.
Definition at line 101 of file domain.h.
Referenced by clear(), commitTransactions(), Domain(), giveDofManager(), giveNode(), giveNumberOfDofManagers(), giveSide(), instanciateYourself(), resizeDofManagers(), restoreContext(), setDofManager(), and ~Domain().
domainType oofem::Domain::dType [private] |
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.
Definition at line 127 of file domain.h.
Referenced by Domain(), giveCorrespondingCoordinateIndex(), giveDefaultNodeDofIDArry(), giveDomainType(), giveNumberOfSpatialDimensions(), resolveDomainDofsDefaults(), and setDomainType().
AList< Element >* oofem::Domain::elementList [private] |
Element list.
Definition at line 99 of file domain.h.
Referenced by clear(), commitTransactions(), Domain(), giveElement(), giveNumberOfElements(), instanciateYourself(), postInitialize(), resizeElements(), restoreContext(), setElement(), and ~Domain().
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().
bool oofem::Domain::elementMapInitialized [private] |
dmanMap init flag.
Definition at line 184 of file domain.h.
Referenced by Domain(), and initGlobalElementMap().
EngngModel* oofem::Domain::engineeringModel [private] |
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().
AList< InitialCondition >* oofem::Domain::icList [private] |
Initial condition list.
Definition at line 109 of file domain.h.
Referenced by clear(), Domain(), giveIc(), giveNumberOfInitialConditions(), instanciateYourself(), resizeInitialConditions(), restoreContext(), setInitialCondition(), and ~Domain().
AList< LoadTimeFunction >* oofem::Domain::loadTimeFunctionList [private] |
Load time function list.
Definition at line 111 of file domain.h.
Referenced by clear(), Domain(), giveLoadTimeFunction(), giveNumberOfLoadTimeFunctions(), instanciateYourself(), resizeLoadTimeFunctions(), restoreContext(), setLoadTimeFunction(), and ~Domain().
AList< Material >* oofem::Domain::materialList [private] |
Material list.
Definition at line 103 of file domain.h.
Referenced by clear(), Domain(), giveMaterial(), giveNumberOfMaterialModels(), instanciateYourself(), resizeMaterials(), restoreContext(), setMaterial(), and ~Domain().
AList< NonlocalBarrier >* oofem::Domain::nonlocalBarierList [private] |
Nonlocal barrier list.
Definition at line 113 of file domain.h.
Referenced by clear(), Domain(), giveNonlocalBarrier(), giveNumberOfNonlocalBarriers(), instanciateYourself(), resizeNonlocalBarriers(), restoreContext(), setNonlocalBarrier(), and ~Domain().
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] |
Domain number.
Definition at line 147 of file domain.h.
Referenced by Domain(), error(), giveErrorEstimator(), giveNumber(), instanciateYourself(), restoreContext(), setNumber(), and warning().
OutputManager* oofem::Domain::outputManager [private] |
Output manager, allowing to filter the produced output.
Definition at line 145 of file domain.h.
Referenced by Domain(), giveOutputManager(), instanciateYourself(), and ~Domain().
AList< RandomFieldGenerator >* oofem::Domain::randomFieldGeneratorList [private] |
List of Random generators.
Definition at line 115 of file domain.h.
Referenced by clear(), Domain(), giveNumberOfRandomFieldGenerators(), giveRandomFieldGenerator(), instanciateYourself(), resizeRandomFieldGenerators(), restoreContext(), setRandomFieldGenerator(), and ~Domain().
std :: list< Element * > oofem::Domain::recvElemList [private] |
int oofem::Domain::serialNumber [private] |
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().
NodalRecoveryModel* oofem::Domain::smoother [private] |
nodal recovery object associated to receiver.
Definition at line 151 of file domain.h.
Referenced by clear(), Domain(), giveSmoother(), restoreContext(), setSmoother(), and ~Domain().
SpatialLocalizer* oofem::Domain::spatialLocalizer [private] |
TopologyDescription* oofem::Domain::topology [private] |
Topology description.
Definition at line 166 of file domain.h.
Referenced by clear(), Domain(), giveTopology(), instanciateYourself(), setTopology(), and ~Domain().
XfemManager* oofem::Domain::xfemManager [private] |