OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::Domain Class Reference

Class and object Domain. More...

#include <domain.h>

+ Collaboration diagram for oofem::Domain:

Public Member Functions

 Domain (int n, int serNum, EngngModel *e)
 Constructor. More...
 
 Domain (const Domain &src)=delete
 
Domainoperator= (const Domain &src)=delete
 
 ~Domain ()
 Destructor. More...
 
int giveNumber ()
 Returns domain number. More...
 
void setNumber (int nn)
 Returns domain number. More...
 
int giveSerialNumber ()
 Returns domain serial (version) number. More...
 
ElementgiveElement (int n)
 Service for accessing particular domain fe element. More...
 
std::vector< std::unique_ptr< Element > > & giveElements ()
 
ElementgiveGlobalElement (int n)
 Service for accessing particular domain fe element. More...
 
int giveElementPlaceInArray (int iGlobalElNum) const
 Returns the array index of the element with global number iGlobalElNum, so that it can be fetched by calling giveElement. More...
 
int giveDofManPlaceInArray (int iGlobalDofManNum) const
 Returns the array index of the dofman with global number iGlobalDofManNum, so that it can be fetched by calling giveDofManager. More...
 
const IntArraygiveElementsWithMaterialNum (int iMaterialNum) const
 Returns array with indices of elements that have a given material number. More...
 
EngngModelgiveEngngModel ()
 Returns engineering model to which receiver is associated. More...
 
void SetEngngModel (EngngModel *ipEngngModel)
 
LoadgiveLoad (int n)
 Service for accessing particular domain load. More...
 
GeneralBoundaryConditiongiveBc (int n)
 Service for accessing particular domain bc. More...
 
std::vector< std::unique_ptr< GeneralBoundaryCondition > > & giveBcs ()
 
InitialConditiongiveIc (int n)
 Service for accessing particular domain ic. More...
 
std::vector< std::unique_ptr< InitialCondition > > & giveIcs ()
 
FunctiongiveFunction (int n)
 Service for accessing particular domain load time function. More...
 
std::vector< std::unique_ptr< Function > > & giveFunctions ()
 
MaterialgiveMaterial (int n)
 Service for accessing particular domain material model. More...
 
std::vector< std::unique_ptr< Material > > & giveMaterials ()
 
CrossSectiongiveCrossSection (int n)
 Service for accessing particular domain cross section model. More...
 
std::vector< std::unique_ptr< CrossSection > > & giveCrossSections ()
 
NonlocalBarriergiveNonlocalBarrier (int n)
 Service for accessing particular domain nonlocal barrier representation. More...
 
SetgiveSet (int n)
 Service for accessing particular domain set. More...
 
std::vector< std::unique_ptr< Set > > & giveSets ()
 
NodegiveNode (int n)
 Service for accessing particular domain node. More...
 
ElementSidegiveSide (int n)
 Service for accessing particular domain element side. More...
 
DofManagergiveDofManager (int n)
 Service for accessing particular domain dof manager. More...
 
std::vector< std::unique_ptr< DofManager > > & giveDofManagers ()
 
DofManagergiveGlobalDofManager (int n)
 Service for accessing particular domain dof manager. More...
 
int instanciateYourself (DataReader &dr)
 Reads receiver description from input stream and creates corresponding components accordingly. More...
 
void postInitialize ()
 Performs post-initialization for all the domain contents (which is called after initializeFrom). More...
 
void createDofs ()
 Automatically detects necessary nodal dofs and creates them accordingly. More...
 
int giveNumberOfDofManagers () const
 Returns number of dof managers in domain. More...
 
int giveNumberOfElements () const
 Returns number of elements in domain. More...
 
int giveNumberOfMaterialModels () const
 Returns number of material models in domain. More...
 
int giveNumberOfCrossSectionModels () const
 Returns number of cross section models in domain. More...
 
int giveNumberOfBoundaryConditions () const
 Returns number of boundary conditions in domain. More...
 
int giveNumberOfInitialConditions () const
 Returns number of initial conditions in domain. More...
 
int giveNumberOfFunctions () const
 Returns number of load time functions in domain. More...
 
int giveNumberOfRegions () const
 Returns number of regions. Currently regions corresponds to cross section models. More...
 
int giveNumberOfNonlocalBarriers () const
 Returns number of nonlocal integration barriers. More...
 
int giveNumberOfSets () const
 Returns number of sets. More...
 
int giveNumberOfSpatialDimensions ()
 Returns number of spatial dimensions. More...
 
bool isAxisymmetric ()
 Returns true of axisymmetry is in effect. More...
 
contextIOResultType saveContext (DataStream &stream, ContextMode mode)
 Stores the domain state to output stream. More...
 
contextIOResultType restoreContext (DataStream &stream, ContextMode mode)
 Restores the domain state from output stream. More...
 
const IntArraygiveDefaultNodeDofIDArry ()
 Returns default DofID array which defines physical meaning of particular DOFs. More...
 
domainType giveDomainType ()
 Returns domain type. More...
 
void setDomainType (domainType _dType)
 Sets domain type. More...
 
int checkConsistency ()
 Checks internal consistency of domain and all domain components. More...
 
double giveArea ()
 Gives the sum of the area of all elements. More...
 
double giveVolume ()
 Gives the sum of the volume of all elements. More...
 
double giveSize ()
 Gives the sum of the volume or area of all elements. More...
 
int giveNextFreeDofID (int increment=1)
 Gives the next free dof ID. More...
 
void resetFreeDofID ()
 Resets the free dof IDs. More...
 
int giveMaxDofID ()
 Gives the current maximum dof ID used. More...
 
void setNextFreeDofID (int dofid)
 
ConnectivityTablegiveConnectivityTable ()
 Returns receiver's associated connectivity table. More...
 
SpatialLocalizergiveSpatialLocalizer ()
 Returns receiver's associated spatial localizer. More...
 
OutputManagergiveOutputManager ()
 Returns domain output manager. More...
 
ErrorEstimatorgiveErrorEstimator ()
 Returns Error Estimator associated to receiver. More...
 
NodalRecoveryModelgiveSmoother ()
 Returns the actual Smoother associated to receiver. More...
 
TopologyDescriptiongiveTopology ()
 Returns receiver's associated topology description. More...
 
void setSmoother (NodalRecoveryModel *newSmoother, bool destroyOld=true)
 Sets the given smoother as an actual smoother for receiver. More...
 
const char * giveClassName () const
 Returns class name of the receiver. More...
 
StateCounterType giveNonlocalUpdateStateCounter ()
 Returns the value of nonlocalUpdateStateCounter. More...
 
void setNonlocalUpdateStateCounter (StateCounterType val)
 sets the value of nonlocalUpdateStateCounter More...
 
Advanced domain manipulation methods.
void resizeDofManagers (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize dofManagers. More...
 
void resizeElements (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize elements. More...
 
void resizeCrossSectionModels (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize cross section models. More...
 
void resizeMaterials (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize materials. More...
 
void resizeNonlocalBarriers (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize nonlocal barriers. More...
 
void resizeBoundaryConditions (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize boundary conditions. More...
 
void resizeInitialConditions (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize initial conditions. More...
 
void resizeFunctions (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize load time functions. More...
 
void resizeSets (int _newSize)
 Resizes the internal data structure to accommodate space for _newSize sets. More...
 
void setDofManager (int i, DofManager *obj)
 Sets i-th component. The component will be further managed and maintained by domain object. More...
 
void setElement (int i, Element *obj)
 Sets i-th component. The component will be further managed and maintained by domain object. More...
 
void setCrossSection (int i, CrossSection *obj)
 Sets i-th component. The component will be further managed and maintained by domain object. More...
 
void setMaterial (int i, Material *obj)
 Sets i-th component. The component will be further managed and maintained by domain object. More...
 
void setNonlocalBarrier (int i, NonlocalBarrier *obj)
 Sets i-th component. The component will be further managed and maintained by domain object. More...
 
void setBoundaryCondition (int i, GeneralBoundaryCondition *obj)
 Sets i-th component. The component will be further managed and maintained by domain object. More...
 
void setInitialCondition (int i, InitialCondition *obj)
 Sets i-th component. The component will be further managed and maintained by domain object. More...
 
void setFunction (int i, Function *obj)
 Sets i-th component. The component will be further managed and maintained by domain object. More...
 
void setSet (int i, Set *obj)
 Sets i-th component. The component will be further managed and maintained by domain object. More...
 
void setXfemManager (XfemManager *ipXfemManager)
 Temporary function, sets xfemManager. More...
 
XfemManagergiveXfemManager ()
 
bool hasXfemManager ()
 
ContactManagergiveContactManager ()
 
bool hasContactManager ()
 
FractureManagergiveFractureManager ()
 
bool hasFractureManager ()
 
BCTrackergiveBCTracker ()
 
void setTopology (TopologyDescription *topo, bool destroyOld=true)
 Sets receiver's associated topology description. More...
 
void clearBoundaryConditions ()
 Clear all boundary conditions. More...
 
void clearElements ()
 Clear all elements. More...
 
void clear ()
 Clear receiver. More...
 
Domain transaction support methods.

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

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

DomainTransactionManagergiveTransactionManager ()
 Returns domain transaction manager. More...
 
int commitTransactions (DomainTransactionManager *tm)
 Commits transactions recorded in transaction manager. More...
 
void initGlobalDofManMap (bool forceinit=false)
 Initializes global dof man map according to domain dofman list. More...
 
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. More...
 
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. More...
 
int LB_giveUpdatedGlobalNumber (int oldnum, EntityRenumberingScheme scheme)
 Return updated local entity number after load balancing. More...
 
Load Balancing support methods
int dofmanGlobal2Local (int _globnum)
 
int elementGlobal2Local (int _globnum)
 

Public Attributes

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

Private Member Functions

void resolveDomainDofsDefaults (const char *)
 
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros). More...
 
void BuildElementPlaceInArrayMap ()
 Construct map from an element's global number to its place the element array. More...
 
void BuildDofManPlaceInArrayMap ()
 Construct map from a dofman's global number to its place the dofman array. More...
 
void BuildMaterialToElementMap ()
 Construct map from a material number to elements with the given material number. More...
 

Private Attributes

std::vector< std::unique_ptr< Element > > elementList
 Element list. More...
 
std::vector< std::unique_ptr< DofManager > > dofManagerList
 Dof manager list. More...
 
std::vector< std::unique_ptr< Material > > materialList
 Material list. More...
 
std::vector< std::unique_ptr< CrossSection > > crossSectionList
 Cross section list. More...
 
std::vector< std::unique_ptr< GeneralBoundaryCondition > > bcList
 Boundary condition list. More...
 
std::vector< std::unique_ptr< InitialCondition > > icList
 Initial condition list. More...
 
std::vector< std::unique_ptr< Function > > functionList
 Load time function list. More...
 
std::vector< std::unique_ptr< Set > > setList
 Set list. More...
 
std::vector< std::unique_ptr< NonlocalBarrier > > nonlocalBarrierList
 Nonlocal barrier list. More...
 
IntArray defaultNodeDofIDArry
 Default dofs for a node (depends on the domain type). More...
 
domainType dType
 Domain type. More...
 
EngngModelengineeringModel
 Associated Engineering model. More...
 
std::unique_ptr< ConnectivityTableconnectivityTable
 Domain connectivity table. More...
 
std::unique_ptr< SpatialLocalizerspatialLocalizer
 Spatial Localizer. More...
 
std::unique_ptr< OutputManageroutputManager
 Output manager, allowing to filter the produced output. More...
 
int number
 Domain number. More...
 
int serialNumber
 Domain serial (version) number. Used for domain version identification during Adaptive computations. More...
 
int nsd
 Number of spatial dimensions. More...
 
bool axisymm
 
std::unique_ptr< NodalRecoveryModelsmoother
 nodal recovery object associated to receiver. More...
 
std::string mDomainType
 
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. More...
 
std::unique_ptr< XfemManagerxfemManager
 XFEM Manager. More...
 
std::unique_ptr< FractureManagerfracManager
 Fracture Manager. More...
 
std::unique_ptr< ContactManagercontactManager
 Contact Manager. More...
 
BCTracker bcTracker
 BC tracker (keeps track of BCs applied wia sets to components) More...
 
std::unordered_map< int, int > mElementPlaceInArray
 Map from an element's global number to its place in the element array. More...
 
std::unordered_map< int, int > mDofManPlaceInArray
 Map from a dofmans's global number to its place in the dofman array. More...
 
std::unordered_map< int, IntArraymMapMaterialNum2El
 Map from material number to elements that have the given material number. More...
 
std::unique_ptr< TopologyDescriptiontopology
 Topology description. More...
 
std::unique_ptr< DomainTransactionManagertransactionManager
 Transaction manager. More...
 
std::map< int, DofManager * > dmanMap
 Global dof manager map (index is global of man number). More...
 
bool dmanMapInitialized
 dmanMap init flag. More...
 
std::map< int, Element * > elementMap
 Global element map (index is global of man number). More...
 
bool elementMapInitialized
 dmanMap init flag. More...
 
Load Balancing data structures
std::list< Element * > recvElemList
 List of received elements. More...
 

Detailed Description

Class and object Domain.

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

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

  • Reading its description from input and creating corresponding objects.
  • Provides services for accessing its particular components.
  • Checking yourself.

Definition at line 115 of file domain.h.

Constructor & Destructor Documentation

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

Constructor.

Todo:
This seems like dead, old unused code. Remove it? / Mikael

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

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

Definition at line 93 of file domain.C.

References axisymm, dmanMapInitialized, dType, elementMapInitialized, engineeringModel, freeDofID, oofem::EngngModel::giveSuppressOutput(), oofem::MaxDofID, nonlocalUpdateStateCounter, nsd, number, outputManager, serialNumber, and transactionManager.

oofem::Domain::Domain ( const Domain src)
delete
oofem::Domain::~Domain ( )

Destructor.

Definition at line 121 of file domain.C.

Member Function Documentation

void oofem::Domain::BuildDofManPlaceInArrayMap ( )
private

Construct map from a dofman's global number to its place the dofman array.

Definition at line 1900 of file domain.C.

References giveDofManager(), oofem::DofManager::giveGlobalNumber(), giveNumberOfDofManagers(), and mDofManPlaceInArray.

Referenced by commitTransactions(), and instanciateYourself().

void oofem::Domain::BuildElementPlaceInArrayMap ( )
private

Construct map from an element's global number to its place the element array.

Definition at line 1888 of file domain.C.

References giveElement(), oofem::Element::giveGlobalNumber(), giveNumberOfElements(), and mElementPlaceInArray.

Referenced by commitTransactions(), and instanciateYourself().

void oofem::Domain::BuildMaterialToElementMap ( )
private

Construct map from a material number to elements with the given material number.

Definition at line 1912 of file domain.C.

References giveElement(), oofem::Element::giveMaterialNumber(), giveNumberOfElements(), and mMapMaterialNum2El.

Referenced by instanciateYourself().

int oofem::Domain::checkConsistency ( )

Checks internal consistency of domain and all domain components.

The checkConsistency of all domain components is invoked.

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

Definition at line 1352 of file domain.C.

References dofManagerList, elementList, and materialList.

void oofem::Domain::clear ( )
void oofem::Domain::clearBoundaryConditions ( )

Clear all boundary conditions.

Definition at line 465 of file domain.C.

References bcList.

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

void oofem::Domain::clearElements ( )

Clear all elements.

Definition at line 466 of file domain.C.

References elementList.

Referenced by oofem::PFEM::preInitializeNextStep().

int oofem::Domain::commitTransactions ( DomainTransactionManager tm)

Commits transactions recorded in transaction manager.

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

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

Parameters
tmManager to commit transactions to.
Todo:
This is really quite bad. We shouldn't do unique ptrs like this (we have the same ptr in 2 different unique_ptrs!!!)

Definition at line 1619 of file domain.C.

References BuildDofManPlaceInArrayMap(), BuildElementPlaceInArrayMap(), dmanMap, dofManagerList, oofem::DomainTransactionManager::dofmanTransactions, elementList, elementMap, oofem::DomainTransactionManager::elementTransactions, giveConnectivityTable(), giveSpatialLocalizer(), oofem::SpatialLocalizer::init(), initGlobalDofManMap(), initGlobalElementMap(), renumberDofManagers(), renumberDofManData(), renumberElementData(), renumberElements(), and oofem::ConnectivityTable::reset().

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

void oofem::Domain::createDofs ( )

Automatically detects necessary nodal dofs and creates them accordingly.

Scans every element after its requested dof's and picks the union of all those dof types. Intenal DOF managers are not affected, as those are created by the corresponding element/bc.

Todo:
This will eventually not be optional.
Todo:
Remove this input method whenever we decide on deprecating the old approach.
Todo:
This will eventually not be optional.
Todo:
Remove this input method whenever we decide on deprecating the old approach.

Definition at line 1200 of file domain.C.

References oofem::DofManager::appendDof(), oofem::IntArray::at(), oofem::classFactory, contactManager, oofem::ClassFactory::createDof(), dofManagerList, elementList, giveBc(), oofem::DofManager::giveBcMap(), oofem::InitialCondition::giveDofIDs(), oofem::GeneralBoundaryCondition::giveDofIDs(), giveDofManager(), oofem::DofManager::giveDofTypeMap(), giveIc(), oofem::DofManager::giveIcMap(), oofem::DofManager::giveMasterMap(), giveNumberOfBoundaryConditions(), giveNumberOfDofManagers(), giveNumberOfInitialConditions(), giveSet(), oofem::GeneralBoundaryCondition::giveSetNumber(), oofem::InitialCondition::giveSetNumber(), oofem::IntArray::giveSize(), hasContactManager(), oofem::DofManager::hasDofID(), hasXfemManager(), oofem::DofManager::isDofTypeCompatible(), OOFEM_ERROR, oofem::ActiveBoundaryCondition::requiresActiveDofs(), oofem::Dof::setBcId(), oofem::Dof::setIcId(), oofem::DofManager::setNumberOfDofs(), and xfemManager.

Referenced by postInitialize().

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

Definition at line 1876 of file domain.C.

References elementMap, and giveNumber().

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

std::string oofem::Domain::errorInfo ( const char *  func) const
private

Returns string for prepending output (used by error reporting macros).

Definition at line 997 of file domain.C.

References number.

double oofem::Domain::giveArea ( )

Gives the sum of the area of all elements.

Returns
Total area.

Definition at line 1378 of file domain.C.

References elementList.

Referenced by oofem::GeometryBasedEI::giveBoundingSphere().

BCTracker * oofem::Domain::giveBCTracker ( )
const char* oofem::Domain::giveClassName ( ) const
inline

Returns class name of the receiver.

Definition at line 688 of file domain.h.

Referenced by oofem::AbaqusUserElement::giveInternalForcesVector().

ContactManager * oofem::Domain::giveContactManager ( )
CrossSection * oofem::Domain::giveCrossSection ( int  n)
std :: vector< std :: unique_ptr< CrossSection > >& oofem::Domain::giveCrossSections ( )
inline

Definition at line 351 of file domain.h.

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 1004 of file domain.C.

References oofem::__domainTypeToString(), defaultNodeDofIDArry, dType, oofem::IntArray::giveSize(), and OOFEM_ERROR.

Referenced by oofem::Subdivision::createMesh(), oofem::DofManager::initializeFrom(), oofem::qcNode::setAsHanging(), and oofem::T3DInterface::t3d_2_OOFEM().

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).

Parameters
nPointer to n-th dof manager is returned.

Definition at line 314 of file domain.C.

References dofManagerList, and OOFEM_ERROR.

Referenced by oofem::OutputManager::_testDofManOutput(), oofem::DofDistributedPrimaryField::applyBoundaryCondition(), oofem::PrimaryField::applyBoundaryCondition(), oofem::SUPG::applyIC(), oofem::DofDistributedPrimaryField::applyInitialCondition(), oofem::PrimaryField::applyInitialCondition(), oofem::PrescribedGradientBCWeak::assemble(), oofem::PrescribedGradientBCWeak::assembleExtraDisplock(), oofem::LinearConstraintBC::assembleVector(), oofem::PrescribedGradientBCWeak::assembleVector(), oofem::EngngModel::assembleVectorFromBC(), oofem::EngngModel::assembleVectorFromDofManagers(), BuildDofManPlaceInArrayMap(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::StructuralEngngModel::buildReactionTable(), oofem::Node::checkConsistency(), oofem::MatlabExportModule::computeArea(), oofem::DelaunayTriangulator::computeBBXBasedOnNodeData(), oofem::DelaunayTriangle::computeCircumcircle(), oofem::PrescribedGradientBCPeriodic::computeDofTransformation(), oofem::TransportGradientPeriodic::computeDofTransformation(), oofem::PrescribedGradientBCWeak::computeDomainBoundingBox(), oofem::MaterialForceEvaluator::computeMaterialForce(), oofem::InteractionLoad::computeValueAt(), oofem::SolutionbasedShapeFunction::copyDofManagersToSurfaceData(), oofem::ContactDefinition::createContactDofs(), createDofs(), oofem::EnrichmentItem::createEnrichedDofs(), oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::ParmetisLoadBalancer::determineDofManState(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::OutputManager::doDofManOutput(), oofem::ProblemCommunicator::DofManCmp(), oofem::DofManExportModule::doOutput(), oofem::GnuplotExportModule::doOutput(), oofem::MatlabExportModule::doOutputData(), oofem::MatlabExportModule::doOutputReactionForces(), oofem::HuertaErrorEstimator::estimateError(), oofem::LinearStatic::estimateMaxPackSize(), oofem::FETISolver::estimateMaxPackSize(), oofem::FreeWarping::estimateMaxPackSize(), oofem::StaticStructural::estimateMaxPackSize(), oofem::NonLinearDynamic::estimateMaxPackSize(), oofem::NonLinearStatic::estimateMaxPackSize(), oofem::NlDEIDynamic::estimateMaxPackSize(), oofem::DirectErrorIndicatorRC::exchangeDofManDensities(), oofem::DirectErrorIndicatorRC::exchangeDofManIndicatorVals(), oofem::Subdivision::exchangeRemoteElements(), oofem::PrescribedGradientBCWeak::findHoleCoord(), oofem::QClinearStatic::findNearestParticle(), oofem::DelaunayTriangulator::findNonDelaunayTriangles(), oofem::DelaunayTriangulator::generateMesh(), oofem::DummySpatialLocalizer::giveAllNodesWithinBox(), oofem::StokesFlowVelocityHomogenization::giveAreaOfRVE(), oofem::InteractionPFEMParticle::giveCoupledVelocities(), oofem::Element::giveDofManager(), oofem::DirectErrorIndicatorRC::giveDofManDensity(), oofem::DirectErrorIndicatorRC::giveDofManIndicator(), oofem::VelocityNumberingScheme::giveDofToEquationNumber(), oofem::DelaunayTriangle::giveEdgeLength(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::LinearConstraintBC::giveLocArray(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::PrescribedGradientBCPeriodic::giveMasterDof(), oofem::TransportGradientPeriodic::giveMasterDof(), oofem::SimpleSlaveDof::giveMasterDof(), oofem::SlaveDof::giveMasterDof(), oofem::InteractionPFEMParticle::givePrescribedUnknownVector(), oofem::PrescribedGradientBCPeriodic::giveUnknown(), oofem::TransportGradientPeriodic::giveUnknown(), oofem::ParmetisLoadBalancer::handleMasterSlaveDofManLinks(), oofem::PressureNumberingScheme::init(), oofem::QuasicontinuumNumberingscheme::init(), oofem::Natural2GlobalOrdering::init(), oofem::Natural2LocalOrdering::init(), oofem::ContactDefinitionNode2Node::initializeFrom(), oofem::IntElLine1::initializeFrom(), oofem::ContactDefinitionNode2NodeL::initializeFrom(), oofem::SolutionbasedShapeFunction::initializeSurfaceData(), oofem::ParmetisLoadBalancer::labelDofManagers(), LB_giveUpdatedLocalNumber(), oofem::LSPrimaryVariableMapper::mapPrimaryVariables(), oofem::EnrFrontLinearBranchFuncRadius::MarkNodesAsFront(), oofem::FETISolver::masterMapDirectionVector(), oofem::FETISolver::masterMapPPVector(), oofem::FETISolver::masterMapRBM(), oofem::FETISolver::masterMapResiduals(), oofem::FETISolver::masterMapSolution(), oofem::LoadBalancer::migrateLoad(), oofem::EngngModel::outputNodes(), oofem::GnuplotExportModule::outputReactionForces(), oofem::EngngModel::packDofManagers(), oofem::NonLinearDynamic::packMigratingData(), oofem::LoadBalancer::packMigratingData(), oofem::NonLinearStatic::packMigratingData(), oofem::FETISolver::packPPVector(), oofem::FETISolver::packRBM(), oofem::NonlocalMaterialWTP::packRemoteElements(), oofem::Subdivision::packRemoteElements(), oofem::FETISolver::packResiduals(), oofem::ParmetisLoadBalancer::packSharedDmanPartitions(), oofem::RigidArmNode::postInitialize(), oofem::StructuralEngngModel::printReactionForces(), oofem::LoadBalancer::printStatistics(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::SPRNodalRecoveryModel::recoverValues(), oofem::SimpleSlaveDof::saveContext(), oofem::SlaveDof::saveContext(), oofem::MicroMaterial::setMacroProperties(), oofem::QClinearStatic::setQCNodeType(), oofem::FETICommunicator::setUpCommunicationMaps(), oofem::FETISolver::setUpCommunicationMaps(), oofem::NodeCommunicator::setUpCommunicationMaps(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), oofem::FreemInterface::smoothNodalDensities(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::HuertaErrorEstimator::solveRefinedWholeProblem(), oofem::FluidStructureProblem::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::QClinearStatic::transformMeshToParticles(), oofem::FETISolver::unpackDirectionVector(), oofem::EngngModel::unpackDofManagers(), oofem::NonLinearDynamic::unpackMigratingData(), oofem::NonLinearStatic::unpackMigratingData(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalDensities(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalIndicatorVals(), oofem::FETISolver::unpackSolution(), oofem::SUPG::updateDofUnknownsDictionary_corrector(), oofem::SUPG::updateDofUnknownsDictionary_predictor(), oofem::QClinearStatic::updateNodeTypes(), oofem::LevelSetPCS::updatePosition(), oofem::WeakPeriodicBoundaryCondition::updateSminmax(), and oofem::DelaunayTriangulator::writeMesh().

std :: vector< std :: unique_ptr< DofManager > >& oofem::Domain::giveDofManagers ( )
inline

Definition at line 400 of file domain.h.

Referenced by oofem::DofDistributedPrimaryField::advanceSolution(), oofem::DofDistributedPrimaryField::applyBoundaryCondition(), oofem::PrimaryField::applyBoundaryCondition(), oofem::DofDistributedPrimaryField::applyDefaultInitialCondition(), oofem::PrimaryField::applyDefaultInitialCondition(), oofem::NonStationaryTransportProblem::applyIC(), oofem::CBS::applyIC(), oofem::PFEM::applyIC(), oofem::MacroLSpace::changeMicroBoundaryConditions(), oofem::NRSolver::checkConvergence(), oofem::CylindricalALM::checkConvergence(), oofem::TransportGradientDirichlet::computeCoefficientMatrix(), oofem::TransportGradientNeumann::computeTangent(), oofem::TransportGradientPeriodic::computeTangent(), oofem::TransportGradientDirichlet::computeTangent(), oofem::CylindricalALM::convertHPCMap(), oofem::NonStationaryTransportProblem::copyUnknownsInDictionary(), oofem::MatlabExportModule::doOutputData(), oofem::MatlabExportModule::doOutputMesh(), oofem::LinearStability::doStepOutput(), oofem::EngngModel::drawNodes(), oofem::FluidModel::forceEquationNumbering(), oofem::PFEM::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::DofGrouping::giveTotalLocationArray(), oofem::DofDistributedPrimaryField::initialize(), oofem::SloanGraph::initialize(), oofem::DIIDynamic::initializeYourself(), oofem::NonLinearDynamic::initializeYourself(), oofem::EngngModel::outputNodes(), oofem::PFEM::preInitializeNextStep(), oofem::EigenValueDynamic::printOutputAt(), oofem::LinearStability::printOutputAt(), oofem::PrimaryField::readFromDofDictionaries(), oofem::DEIDynamic::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::PrimaryField::storeInDofDictionaries(), oofem::LinearStability::terminateLinStatic(), oofem::DofDistributedPrimaryField::update(), oofem::PrescribedGradient::updateCoefficientMatrix(), oofem::SUPG::updateSolutionVectors(), oofem::SUPG::updateSolutionVectors_predictor(), and oofem::ErrorCheckingExportModule::writeCheck().

domainType oofem::Domain::giveDomainType ( )
inline

Returns domain type.

Definition at line 560 of file domain.h.

Referenced by oofem::Subdivision::createMesh(), and oofem::T3DInterface::t3d_2_OOFEM().

Element * oofem::Domain::giveElement ( int  n)

Service for accessing particular domain fe element.

Generates error if no such element is defined.

Parameters
nPointer to n-th element is returned.

Definition at line 160 of file domain.C.

References elementList, and OOFEM_ERROR.

Referenced by oofem::MMALeastSquareProjection::__init(), oofem::OutputManager::_testElementOutput(), oofem::Quasicontinuum::addCrosssectionToInterpolationElements(), oofem::Quasicontinuum::applyApproach1(), oofem::Quasicontinuum::applyApproach2(), oofem::Quasicontinuum::applyApproach3(), oofem::SurfaceTensionBoundaryCondition::assemble(), oofem::PrescribedGradientBCNeumann::assemble(), oofem::PrescribedMean::assemble(), oofem::TransportGradientNeumann::assemble(), oofem::MixedGradientPressureWeakPeriodic::assemble(), oofem::MixedGradientPressureNeumann::assemble(), oofem::WeakPeriodicBoundaryCondition::assemble(), oofem::EngngModel::assemble(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::NonStationaryTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::DIIDynamic::assembleDirichletBcRhsVector(), oofem::NonStationaryTransportProblem::assembleDirichletBcRhsVector(), oofem::EngngModel::assembleExtrapolatedForces(), oofem::EngngModel::assemblePrescribedExtrapolatedForces(), oofem::PrescribedGradientBCNeumann::assembleVector(), oofem::SurfaceTensionBoundaryCondition::assembleVector(), oofem::TransportGradientNeumann::assembleVector(), oofem::MixedGradientPressureWeakPeriodic::assembleVector(), oofem::MixedGradientPressureNeumann::assembleVector(), oofem::EngngModel::assembleVectorFromBC(), oofem::EngngModel::assembleVectorFromElements(), oofem::Subdivision::assignGlobalNumbersToElements(), oofem::Subdivision::RS_Triangle::bisect(), oofem::Subdivision::RS_Tetra::bisect(), BuildElementPlaceInArrayMap(), oofem::SkylineUnsym::buildInternalStructure(), BuildMaterialToElementMap(), oofem::NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), oofem::ParmetisLoadBalancer::calculateLoadTransfer(), oofem::HangingNode::checkConsistency(), oofem::qcNode::checkConsistency(), oofem::FreeWarping::computeCenterOfGravity(), oofem::LatticeTransportMaterial::computeConductivity(), oofem::SolutionbasedShapeFunction::computeCorrectionFactors(), oofem::PrescribedMean::computeDomainSize(), oofem::TransportGradientNeumann::computeEta(), oofem::Shell7BaseXFEM::computeFailureCriteriaQuantities(), oofem::MixedGradientPressureNeumann::computeFields(), oofem::Quasicontinuum::computeIntersectionsOfLinkWith2DTringleElements(), oofem::Quasicontinuum::computeIntersectionsOfLinkWith3DTetrahedraElements(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::MaterialForceEvaluator::computeMaterialForce(), oofem::SPRNodalRecoveryModel::computePatch(), oofem::WeakPeriodicBoundaryCondition::computeProjectionCoefficient(), oofem::MixedGradientPressureWeakPeriodic::computeStress(), oofem::TransportGradientNeumann::computeTangent(), oofem::TransportGradientPeriodic::computeTangent(), oofem::TransportGradientDirichlet::computeTangent(), oofem::MixedGradientPressureWeakPeriodic::computeTangents(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::QClinearStatic::computeTotalVolumeOfInterpolationMesh(), oofem::NeumannMomentLoad::computeXbar(), oofem::TransportGradientDirichlet::computeXi(), oofem::Quasicontinuum::createGlobalStiffnesMatrix(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::PrescribedGradientBCWeak::createTractionMesh(), oofem::PFEM::deactivateTooCloseParticles(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::LoadBalancer::deleteRemoteElements(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::SPRNodalRecoveryModel::determinePatchType(), oofem::OutputManager::doElementOutput(), oofem::GPInitModule::doInit(), oofem::PrescribedGradientHomogenization::domainSize(), oofem::TransportGradientNeumann::domainSize(), oofem::TransportGradientPeriodic::domainSize(), oofem::MixedGradientPressureBC::domainSize(), oofem::TransportGradientDirichlet::domainSize(), oofem::PrescribedGenStrainShell7::domainSize(), oofem::VTKXMLExportModule::doOutput(), oofem::MatlabExportModule::doOutputHomogenizeDofIDs(), oofem::MatlabExportModule::doOutputIntegrationPointFields(), oofem::MatlabExportModule::doOutputMesh(), oofem::ProblemCommunicator::ElemCmp(), oofem::ZZErrorEstimator::estimateError(), oofem::HuertaErrorEstimator::estimateError(), oofem::LinearStatic::estimateMaxPackSize(), oofem::FreeWarping::estimateMaxPackSize(), oofem::StaticStructural::estimateMaxPackSize(), oofem::NonLinearDynamic::estimateMaxPackSize(), oofem::NonLinearStatic::estimateMaxPackSize(), oofem::NlDEIDynamic::estimateMaxPackSize(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::LevelSetPCS::evalElemFContribution(), oofem::LevelSetPCS::evalElemfContribution(), oofem::Subdivision::exchangeRemoteElements(), oofem::VTKExportModule::exportCellVars(), oofem::VTKXMLExportModule::exportCellVars(), oofem::VTKXMLExportModule::exportIntVarsInGpAs(), oofem::NonlocalMaterialWTP::fastRebuildNonlocalTables(), oofem::PrescribedGradientBCWeak::findCrackBndIntersecCoord(), oofem::PrescribedGradientBCWeak::findHoleCoord(), oofem::LevelSetPCS::FMMReinitialization(), oofem::DummySpatialLocalizer::giveAllElementsWithIpWithinBox(), oofem::OctreeSpatialLocalizer::giveClosestIP(), oofem::OctreeSpatialLocalizer::giveClosestIPWithinOctant(), oofem::MITC4Shell::giveDirectorVectors(), oofem::CombinedZZSIRemeshingCriteria::giveDofManDensity(), oofem::ZZRemeshingCriteria::giveDofManDensity(), oofem::HuertaRemeshingCriteria::giveDofManDensity(), oofem::WeakPeriodicBoundaryCondition::giveEdgeNormal(), oofem::DummySpatialLocalizer::giveElementClosestToPoint(), oofem::OctreeSpatialLocalizer::giveElementClosestToPointWithinOctant(), oofem::OctreeSpatialLocalizer::giveElementContainingPoint(), oofem::LevelSetPCS::giveElementMaterialMixture(), oofem::ConnectivityTable::giveElementNeighbourList(), oofem::NonlocalMaterialWTP::giveElementNonlocalDepArry(), oofem::OctreeSpatialLocalizer::giveElementsWithIPWithinBox(), oofem::WeakPeriodicBoundaryCondition::giveExternalForcesVector(), oofem::PrescribedMean::giveInternalForcesVector(), oofem::WeakPeriodicBoundaryCondition::giveInternalForcesVector(), oofem::Shell7Base::giveLayerContributionToSR(), oofem::DirectErrorIndicatorRC::giveLocalDofManDensity(), oofem::DirectErrorIndicatorRC::giveLocalDofManIndicator(), oofem::PrescribedGradientBCNeumann::giveLocationArrays(), oofem::SurfaceTensionBoundaryCondition::giveLocationArrays(), oofem::TransportGradientNeumann::giveLocationArrays(), oofem::MixedGradientPressureWeakPeriodic::giveLocationArrays(), oofem::MixedGradientPressureNeumann::giveLocationArrays(), oofem::PFEM::giveNextStep(), oofem::Set::giveNodeList(), oofem::LatticeDamage2d::giveRealStressVector(), oofem::DummySpatialLocalizer::init(), oofem::NonlocalMaterialWTP::init(), oofem::OctreeSpatialLocalizer::initElementDataStructure(), oofem::OctreeSpatialLocalizer::initElementIPDataStructure(), oofem::ParmetisLoadBalancer::initGlobalParmetisElementNumbering(), oofem::FastMarchingMethod::initialize(), oofem::Quasicontinuum::initializeConnectivityTableForInterpolationElements(), oofem::SolutionbasedShapeFunction::initializeSurfaceData(), oofem::SPRNodalRecoveryModel::initPatch(), oofem::QuasicontinuumVTKXMLExportModule::initRegionNodeNumbering(), oofem::NodalRecoveryModel::initRegionNodeNumbering(), oofem::VTKXMLExportModule::initRegionNodeNumbering(), oofem::ConnectivityTable::instanciateConnectivityTable(), oofem::FractureManager::instanciateYourself(), oofem::LEPlicElementInterface::isBoundary(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::LSPrimaryVariableMapper::mapPrimaryVariables(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::MDM::MMI_map(), oofem::IsotropicDamageMaterial1::MMI_map(), oofem::GnuplotExportModule::outputBoundaryCondition(), oofem::EngngModel::outputElements(), oofem::GnuplotExportModule::outputInterfaceEl(), oofem::LoadBalancer::packMigratingData(), oofem::NonlocalMaterialWTP::packMigratingElementDependencies(), oofem::EngngModel::packRemoteElementData(), oofem::NonlocalMaterialWTP::packRemoteElements(), oofem::Subdivision::packRemoteElements(), oofem::LevelSetPCS::pcs_stage1(), postInitialize(), oofem::LoadBalancer::printStatistics(), oofem::Delamination::propagateFronts(), oofem::PLPrincipalStrain::propagateInterface(), oofem::PLCZdamageRadius::propagateInterface(), oofem::PLHoopStressCirc::propagateInterface(), oofem::XfemSolverInterface::propagateXfemInterfaces(), oofem::NonlocalMaterialExtensionInterface::rebuildNonlocalPointTable(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::LevelSetPCS::redistance(), oofem::RefinedElement::RefinedElement(), oofem::RefinedMesh::refineMeshGlobally(), oofem::REGISTER_EnrichmentFront(), oofem::QClinearStatic::setRepNodesInVerticesOfInterpolationMesh(), oofem::ElementCommunicator::setUpCommunicationMaps(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKXMLExportModule::setupVTKPiece(), oofem::Subdivision::smoothMesh(), oofem::FreemInterface::smoothNodalDensities(), oofem::FastMarchingMethod::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::HuertaErrorEstimator::solveRefinedWholeProblem(), oofem::DEIDynamic::solveYourselfAt(), oofem::T3DInterface::t3d_2_OOFEM(), oofem::DIIDynamic::timesMtrx(), oofem::NonLinearDynamic::timesMtrx(), oofem::EngngModel::unpackRemoteElementData(), oofem::Subdivision::unpackSharedIrregulars(), oofem::PrescribedGenStrainShell7::updateCoefficientMatrix(), oofem::FreeWarping::updateComputedResults(), oofem::WeakPeriodicBoundaryCondition::updateDirection(), oofem::XfemManager::updateNodeEnrichmentItemMap(), oofem::GeometryBasedEI::updateNodeEnrMarker(), oofem::LevelSetPCS::updatePosition(), and oofem::FastMarchingMethod::updateTrialValue().

int oofem::Domain::giveElementPlaceInArray ( int  iGlobalElNum) const

Returns the array index of the element with global number iGlobalElNum, so that it can be fetched by calling giveElement.

Returns -1 if not found.

Definition at line 183 of file domain.C.

References mElementPlaceInArray, and OOFEM_ERROR.

Referenced by oofem::MaterialForceEvaluator::computeMaterialForce(), oofem::XfemManager::updateNodeEnrichmentItemMap(), oofem::XfemStructuralElementInterface::XfemElementInterface_updateIntegrationRule(), and oofem::XfemElementInterface::XfemElementInterface_updateIntegrationRule().

std :: vector< std :: unique_ptr< Element > >& oofem::Domain::giveElements ( )
inline

Definition at line 279 of file domain.h.

Referenced by oofem::DofDistributedPrimaryField::advanceSolution(), oofem::DofDistributedPrimaryField::applyDefaultInitialCondition(), oofem::NLTransientTransportProblem::applyIC(), oofem::TransientTransportProblem::applyIC(), oofem::SUPG::applyIC(), oofem::NonStationaryTransportProblem::applyIC(), oofem::CBS::applyIC(), oofem::PFEM::applyIC(), oofem::NonLinearDynamic::assemble(), oofem::NonLinearStatic::assemble(), oofem::NonStationaryTransportProblem::assembleDirichletBcRhsVector(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::DynCompRow::buildInternalStructure(), oofem::DynCompCol::buildInternalStructure(), oofem::Skyline::buildInternalStructure(), oofem::SymCompCol::buildInternalStructure(), oofem::CompCol::buildInternalStructure(), oofem::StationaryTransportProblem::checkConsistency(), oofem::StokesFlow::checkConsistency(), oofem::StructuralEngngModel::checkConsistency(), oofem::NonStationaryTransportProblem::checkConsistency(), oofem::SUPG::checkConsistency(), oofem::PFEM::checkConsistency(), oofem::CBS::checkConsistency(), oofem::NRSolver::checkConvergence(), oofem::CylindricalALM::checkConvergence(), oofem::MatlabExportModule::computeArea(), oofem::StokesFlowVelocityHomogenization::computeTangent(), oofem::TransportGradientNeumann::computeTangent(), oofem::Targe2Interface::createInput(), oofem::OutputManager::doElementOutput(), oofem::CrackExportModule::doOutput(), oofem::GPExportModule::doOutput(), oofem::HOMExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::MatlabExportModule::doOutputMesh(), oofem::EngngModel::drawElements(), oofem::ZZRemeshingCriteria::estimateMeshDensities(), oofem::SUPG::evaluateElementStabilizationCoeffs(), oofem::VTKExportModule::exportCellVars(), oofem::FluidModel::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::DummySpatialLocalizer::giveElementContainingPoint(), oofem::SUPG::giveNextStep(), oofem::CBS::giveNextStep(), oofem::DofGrouping::giveTotalLocationArray(), oofem::VTKExportModule::giveTotalRBRNumberOfNodes(), oofem::MeshQualityErrorEstimator::giveValue(), oofem::DummySpatialLocalizer::init(), oofem::DofDistributedPrimaryField::initialize(), oofem::SloanGraph::initialize(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::VTKExportModule::initRegionNodeNumbering(), oofem::ConnectivityTable::instanciateConnectivityTable(), oofem::NCPrincipalStrain::nucleateEnrichmentItems(), oofem::NCPrincipalStress::nucleateEnrichmentItems(), oofem::EngngModel::outputElements(), oofem::GnuplotExportModule::outputMesh(), oofem::PFEM::preInitializeNextStep(), oofem::LinearStability::printOutputAt(), oofem::PrimaryField::readFromDofDictionaries(), oofem::SolutionbasedShapeFunction::setLoads(), oofem::NonLinearDynamic::showSparseMtrxStructure(), oofem::NonLinearStatic::showSparseMtrxStructure(), oofem::StructuralEngngModel::showSparseMtrxStructure(), oofem::DynamicRelaxationSolver::solve(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::PrimaryField::storeInDofDictionaries(), oofem::LinearStability::terminateLinStatic(), oofem::DofDistributedPrimaryField::update(), oofem::StokesFlow::updateComponent(), oofem::SUPG::updateComponent(), oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage(), oofem::SUPG::updateElementsForNewInterfacePosition(), oofem::SUPG::updateSolutionVectors(), oofem::SUPG::updateSolutionVectors_predictor(), oofem::FreeWarping::updateStiffnessMatrix(), and oofem::ErrorCheckingExportModule::writeCheck().

const IntArray & oofem::Domain::giveElementsWithMaterialNum ( int  iMaterialNum) const

Returns array with indices of elements that have a given material number.

Definition at line 209 of file domain.C.

References mMapMaterialNum2El, and OOFEM_ERROR.

Referenced by oofem::Element::mapStateVariables(), and oofem::Quasicontinuum::setupInterpolationMesh().

EngngModel * oofem::Domain::giveEngngModel ( )

Returns engineering model to which receiver is associated.

Definition at line 433 of file domain.C.

References engineeringModel, and OOFEM_ERROR.

Referenced by oofem::Quasicontinuum::applyApproach2(), oofem::Quasicontinuum::applyApproach3(), oofem::ActiveDof::askNewEquationNumber(), oofem::MasterDof::askNewEquationNumber(), oofem::NonLinearStatic::assembleIncrementalReferenceLoadVectors(), oofem::Subdivision::assignGlobalNumbersToSharedIrregulars(), oofem::ParmetisLoadBalancer::calculateLoadTransfer(), oofem::NodeErrorCheckingRule::check(), oofem::ElementErrorCheckingRule::check(), oofem::BeamElementErrorCheckingRule::check(), oofem::ReactionErrorCheckingRule::check(), oofem::LoadLevelErrorCheckingRule::check(), oofem::EigenValueErrorCheckingRule::check(), oofem::NewtonianFluidMaterial::checkConsistency(), oofem::NonlinearFluidMaterial::checkConsistency(), oofem::BinghamFluidMaterial2::checkConsistency(), oofem::LIBeam3d2::computeBmatrixAt(), oofem::Beam2d::computeBmatrixAt(), oofem::Beam3d::computeBmatrixAt(), oofem::TransportElement::computeBoundaryEdgeLoadVector(), oofem::TransportElement::computeBoundarySurfaceLoadVector(), oofem::TransportGradientDirichlet::computeCoefficientMatrix(), oofem::LatticeTransportMaterial::computeConductivity(), oofem::TR1_2D_SUPG::computeCriticalLEPlicTimeStep(), oofem::Tet1_3D_SUPG::computeCriticalTimeStep(), oofem::TR1_2D_CBS::computeCriticalTimeStep(), oofem::TR1_2D_PFEM::computeCriticalTimeStep(), oofem::TR1_2D_CBS::computeDensityRhsPressureTerms(), oofem::TR1_2D_CBS::computeDensityRhsVelocityTerms(), oofem::TR1_2D_SUPG_AXI::computeDiffusionDerivativeTerm_MB(), oofem::SUPGElement2::computeDiffusionDerivativeTerm_MB(), oofem::TR1_2D_SUPG2_AXI::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::SUPGElement2::computeDiffusionTerm_MB(), oofem::TR1_2D_SUPG2_AXI::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::TransportElement::computeEdgeBCSubVectorAt(), oofem::TransportGradientNeumann::computeEta(), oofem::PrescribedGradientBCPeriodic::computeField(), oofem::TransportGradientPeriodic::computeField(), oofem::PrescribedGradient::computeField(), oofem::PrescribedGenStrainShell7::computeField(), oofem::TransportGradientDirichlet::computeField(), oofem::MixedGradientPressureDirichlet::computeFields(), oofem::LIBeam3d2::computeGtoLRotationMatrix(), oofem::Beam2d::computeNmatrixAt(), oofem::Beam3d::computeNmatrixAt(), oofem::TR1_2D_CBS::computePrescribedTractionPressure(), oofem::B3Material::computeShrinkageStrainVector(), oofem::MacroLSpace::computeStiffnessMatrix(), oofem::NLStructuralElement::computeStiffnessMatrix(), oofem::GradDpElement::computeStiffnessMatrix_ku(), oofem::GradDpElement::computeStiffnessMatrix_uk(), oofem::GradDpElement::computeStiffnessMatrix_uu(), oofem::NLStructuralElement::computeStiffnessMatrix_withIRulesAsSubcells(), oofem::StructuralMaterial::computeStressIndependentStrainVector(), oofem::StructuralMaterial::computeStressIndependentStrainVector_3d(), oofem::GradDpElement::computeStressVectorAndLocalCumulatedStrain(), oofem::TransportElement::computeSurfaceBCSubVectorAt(), oofem::PrescribedGradientBCNeumann::computeTangent(), oofem::PrescribedGradientBCPeriodic::computeTangent(), oofem::TransportGradientNeumann::computeTangent(), oofem::TransportGradientPeriodic::computeTangent(), oofem::PrescribedGradient::computeTangent(), oofem::PrescribedGenStrainShell7::computeTangent(), oofem::TransportGradientDirichlet::computeTangent(), oofem::PrescribedGradientBCWeak::computeTangent(), oofem::MixedGradientPressureWeakPeriodic::computeTangents(), oofem::MixedGradientPressureDirichlet::computeTangents(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::InteractionLoad::computeValueAt(), oofem::TransportGradientDirichlet::computeXi(), oofem::StructuralFE2MaterialStatus::copyStateVariables(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::StructuralFE2MaterialStatus::createRVE(), oofem::FE2FluidMaterialStatus::createRVE(), oofem::PrescribedGradientBCWeak::damageExceedsTolerance(), oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::LoadBalancer::deleteRemoteElements(), oofem::ParticleTopologyDescription::doOutput(), oofem::PFEMParticle::drawScalar(), oofem::TR1_2D_PFEM::drawScalar(), oofem::Node::drawYourself(), oofem::ZZErrorEstimator::estimateError(), oofem::HuertaErrorEstimator::estimateError(), oofem::FETISolver::estimateMaxPackSize(), oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::PrescribedGenStrainShell7::evaluateHigherOrderContribution(), oofem::Subdivision::exchangeRemoteElements(), oofem::Subdivision::exchangeSharedEdges(), oofem::Subdivision::exchangeSharedIrregulars(), oofem::TractionPressureBC::give(), oofem::SUPGElement::giveCharacteristicMatrix(), oofem::RheoChainMaterial::giveEndOfTimeOfInterest(), oofem::InteractionPFEMParticle::giveFluidStructureMasterProblem(), oofem::B3SolidMaterial::giveHumidity(), oofem::MPSMaterial::giveHumidity(), oofem::B3SolidMaterial::giveHumidityIncrement(), oofem::GradDpElement::giveInternalForcesVector(), oofem::NLStructuralElement::giveInternalForcesVector(), oofem::NLStructuralElement::giveInternalForcesVector_withIRulesAsSubcells(), oofem::Quad10_2D_SUPG::giveIPValue(), oofem::TR1_2D_SUPG::giveIPValue(), oofem::StructuralMaterial::giveIPValue(), oofem::GradDpElement::giveLocalInternalForcesVector(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::Subdivision::giveNumberOfProcesses(), oofem::DofManager::givePartitionsConnectivitySize(), oofem::Subdivision::giveRank(), oofem::LatticeDamage2d::giveRealStressVector(), oofem::MisesMat::giveTemperature(), oofem::MPSMaterial::giveTemperature(), oofem::SimpleCrossSection::giveTemperatureVector(), oofem::TwoFluidMaterial::giveTempVOF(), oofem::MasterDof::giveUnknown(), oofem::MasterDof::giveUnknownsDictionaryValue(), oofem::NonlocalMaterialWTP::init(), oofem::NodalAveragingRecoveryModel::initCommMaps(), oofem::ZZNodalRecoveryModel::initCommMaps(), oofem::SPRNodalRecoveryModel::initCommMaps(), oofem::IsotropicDamageMaterial1::initDamaged(), oofem::ParmetisLoadBalancer::initGlobalParmetisElementNumbering(), oofem::qcNode::initializeAsRepnode(), oofem::PhaseFieldElement::initializeFrom(), oofem::qcNode::initializeFrom(), oofem::DirectErrorIndicatorRC::initializeFrom(), oofem::Node::initializeFrom(), oofem::QuasicontinuumVTKXMLExportModule::initRegionNodeNumbering(), instanciateYourself(), oofem::ParallelOrdering::isLocal(), oofem::DofManager::isLocal(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::LSPrimaryVariableMapper::mapPrimaryVariables(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::LoadBalancer::packMigratingData(), oofem::NonlocalMaterialWTP::packMigratingElementDependencies(), oofem::NonlocalMaterialWTP::packRemoteElements(), oofem::Subdivision::packRemoteElements(), oofem::ParmetisLoadBalancer::packSharedDmanPartitions(), oofem::qcNode::printOutputAt(), oofem::DofManager::printOutputAt(), oofem::LoadBalancer::printStatistics(), oofem::GeometryBasedEI::propagateFronts(), oofem::PLMaterialForce::propagateInterface(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::ParticleTopologyDescription::replaceFEMesh(), oofem::MasterDof::restoreContext(), oofem::RVEStokesFlowMaterialStatus::RVEStokesFlowMaterialStatus(), oofem::MasterDof::saveContext(), oofem::HuertaErrorEstimator::saveContext(), oofem::MicroMaterial::setMacroProperties(), oofem::FETISolver::setUpCommunicationMaps(), oofem::PatchIntegrationRule::SetUpPointsOnTriangle(), oofem::PatchIntegrationRule::SetUpPointsOnWedge(), oofem::HuertaErrorEstimator::setupRefinedProblemEpilog2(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::FETISolver::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::T3DInterface::t3d_2_OOFEM(), oofem::OutputManager::testTimeStepOutput(), oofem::Tr21Stokes::Tr21Stokes(), oofem::Tr_Warp::transformCoordinates(), oofem::LoadBalancer::unpackMigratingData(), oofem::NonlocalMaterialWTP::unpackMigratingElementDependencies(), oofem::NonlocalMaterialWTP::unpackRemoteElements(), oofem::Subdivision::unpackRemoteElements(), oofem::ParmetisLoadBalancer::unpackSharedDmanPartitions(), oofem::PrescribedGradient::updateCoefficientMatrix(), oofem::PrescribedGenStrainShell7::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::MasterDof::updateUnknownsDictionary(), oofem::Node::updateYourself(), oofem::DelaunayTriangulator::writeMesh(), oofem::GeometryBasedEI::writeVtkDebug(), and oofem::XfemStructuralElementInterface::XfemElementInterface_updateIntegrationRule().

FractureManager * oofem::Domain::giveFractureManager ( )

Definition at line 416 of file domain.C.

References fracManager, and OOFEM_ERROR.

std :: vector< std :: unique_ptr< Function > >& oofem::Domain::giveFunctions ( )
inline

Definition at line 337 of file domain.h.

DofManager * oofem::Domain::giveGlobalDofManager ( int  n)

Service for accessing particular domain dof manager.

Generates error if no such element is defined.

Parameters
nPointer to the element with id n

Definition at line 326 of file domain.C.

References dofManagerList.

Referenced by oofem::NodeErrorCheckingRule::check().

Element * oofem::Domain::giveGlobalElement ( int  n)

Service for accessing particular domain fe element.

Generates error if no such element is defined.

Parameters
nPointer to the element with id n

Definition at line 171 of file domain.C.

References elementList.

Referenced by oofem::ElementErrorCheckingRule::check(), oofem::BeamElementErrorCheckingRule::check(), and oofem::Delamination::findInitiationFronts().

InitialCondition * oofem::Domain::giveIc ( int  n)

Service for accessing particular domain ic.

Generates error if no such ic is defined.

Parameters
nPointer to n-th ic is returned.

Definition at line 255 of file domain.C.

References icList, and OOFEM_ERROR.

Referenced by oofem::DofDistributedPrimaryField::applyDefaultInitialCondition(), oofem::PrimaryField::applyDefaultInitialCondition(), createDofs(), oofem::Subdivision::createMesh(), oofem::MasterDof::giveIc(), and oofem::T3DInterface::t3d_2_OOFEM().

Load * oofem::Domain::giveLoad ( int  n)

Service for accessing particular domain load.

Generates error if no such load is defined.

Parameters
nPointer to n-th load is returned.

Definition at line 222 of file domain.C.

References bcList, and OOFEM_ERROR.

Referenced by oofem::EngngModel::assembleVectorFromDofManagers(), oofem::EngngModel::assembleVectorFromElements(), 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::SUPGElement2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MC(), oofem::SUPGElement2::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG2_AXI::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::Tr1Darcy::computeExternalForcesVector(), oofem::Hexa21Stokes::computeExternalForcesVector(), oofem::Tet21Stokes::computeExternalForcesVector(), oofem::Tr21Stokes::computeExternalForcesVector(), oofem::Tr1BubbleStokes::computeExternalForcesVector(), oofem::Tet1BubbleStokes::computeExternalForcesVector(), oofem::Lattice2d_mt::computeInternalSourceRhsVectorAt(), oofem::BeamBaseElement::computeLocalForceLoadVector(), oofem::TR1_2D_CBS::computePrescribedTractionPressure(), oofem::StructuralElement::computeResultingIPEigenstrainAt(), oofem::StructuralElement::computeResultingIPTemperatureAt(), oofem::Shell7BaseXFEM::computeStiffnessMatrix(), oofem::Shell7Base::computeStiffnessMatrix(), oofem::Node::drawYourself(), oofem::Beam3d::giveInternalForcesVectorAtPoint(), oofem::Shell7Base::giveTractionBC(), oofem::Shell7BaseXFEM::OLDcomputeStiffnessMatrix(), oofem::HuertaErrorEstimator::setupRefinedProblemEpilog1(), and oofem::PFEM::solveYourselfAt().

Material * oofem::Domain::giveMaterial ( int  n)

Service for accessing particular domain material model.

Generates error if no such material model is defined.

Parameters
nPointer to n-th material model is returned.

Definition at line 281 of file domain.C.

References materialList, and OOFEM_ERROR.

Referenced by oofem::TR1_2D_SUPG2_AXI::_giveMaterial(), oofem::TR1_2D_SUPG2::_giveMaterial(), oofem::FluidCrossSection::checkConsistency(), oofem::SimpleTransportCrossSection::checkConsistency(), oofem::FluidMaterialEvaluator::checkConsistency(), oofem::StructuralInterfaceCrossSection::checkConsistency(), oofem::SimpleCrossSection::checkConsistency(), oofem::FiberedCrossSection::checkConsistency(), oofem::Shell7Base::computeBulkTangentMatrix(), oofem::Shell7Base::computeConvectiveMassForce(), oofem::Shell7Base::computeMassMatrix(), oofem::Shell7BaseXFEM::computeMassMatrixNum(), oofem::Shell7Base::computeMassMatrixNum(), oofem::Shell7Base::computeSectionalForces(), oofem::Shell7BaseXFEM::computeStiffnessMatrix(), oofem::Beam3d::computeSubSoilStiffnessMatrix(), oofem::LayeredCrossSection::createMaterialStatus(), oofem::SimpleCrossSection::createMaterialStatus(), oofem::FiberedCrossSection::createMaterialStatus(), oofem::Subdivision::createMesh(), oofem::Shell7BaseXFEM::discComputeSectionalForces(), oofem::StructuralMaterialEvaluator::doStepOutput(), oofem::FluidMaterialEvaluator::doStepOutput(), oofem::FluidCrossSection::estimatePackSize(), oofem::SimpleTransportCrossSection::estimatePackSize(), oofem::RheoChainMaterial::give1dStressStiffMtrx(), oofem::LayeredCrossSection::give2dBeamStiffMtrx(), oofem::RheoChainMaterial::give2dLatticeStiffMtrx(), oofem::LayeredCrossSection::give2dPlateStiffMtrx(), oofem::LargeStrainMasterMaterialGrad::give3dGprime(), oofem::LargeStrainMasterMaterialGrad::give3dKappaMatrix(), oofem::RheoChainMaterial::give3dLatticeStiffMtrx(), oofem::RheoChainMaterial::give3dMaterialStiffnessMatrix(), oofem::LargeStrainMasterMaterial::give3dMaterialStiffnessMatrix_dPdF(), oofem::LayeredCrossSection::give3dShellStiffMtrx(), oofem::LayeredCrossSection::giveCharMaterialStiffnessMatrix(), oofem::FluidCrossSection::giveDensity(), oofem::FiberedCrossSection::giveFiberMaterialStiffnessMatrix(), oofem::LargeStrainMasterMaterial::giveFirstPKStressVector_3d(), oofem::LargeStrainMasterMaterialGrad::giveFirstPKStressVectorGrad(), oofem::FluidCrossSection::giveFluidMaterial(), oofem::LayeredCrossSection::giveGeneralizedStress_Beam2d(), oofem::FiberedCrossSection::giveGeneralizedStress_Beam3d(), oofem::LayeredCrossSection::giveGeneralizedStress_Plate(), oofem::LayeredCrossSection::giveGeneralizedStress_Shell(), oofem::StructuralInterfaceCrossSection::giveInterfaceMaterial(), oofem::LayeredCrossSection::giveInterfaceMaterial(), oofem::LargeStrainMasterMaterialGrad::giveInternalLength(), oofem::FluidCrossSection::giveIPValue(), oofem::SimpleTransportCrossSection::giveIPValue(), oofem::LargeStrainMasterMaterial::giveIPValue(), oofem::FiberedCrossSection::giveIPValue(), oofem::SimpleTransportCrossSection::giveMaterial(), oofem::FluidCrossSection::giveMaterial(), oofem::TwoFluidMaterial::giveMaterial(), oofem::TransportElement::giveMaterial(), oofem::StructuralInterfaceCrossSection::giveMaterial(), oofem::SimpleCrossSection::giveMaterial(), oofem::LayeredCrossSection::giveMaterial(), oofem::Element::giveMaterial(), oofem::RheoChainMaterial::givePlaneStrainStiffMtrx(), oofem::RheoChainMaterial::givePlaneStressStiffMtrx(), oofem::LayeredCrossSection::giveRealStress_3d(), oofem::LayeredCrossSection::giveRealStress_PlaneStress(), oofem::RheoChainMaterial::giveRealStressVector(), oofem::LayeredCrossSection::giveStiffnessMatrix_3d(), oofem::LayeredCrossSection::giveStiffnessMatrix_PlaneStress(), oofem::XfemStructuralElementInterface::initializeCZMaterial(), oofem::Delamination::initializeFrom(), oofem::LargeStrainMasterMaterialStatus::initTempStatus(), oofem::FluidCrossSection::isCharacteristicMtrxSymmetric(), oofem::SimpleTransportCrossSection::isCharacteristicMtrxSymmetric(), oofem::SimpleCrossSection::isCharacteristicMtrxSymmetric(), oofem::FiberedCrossSection::isCharacteristicMtrxSymmetric(), oofem::LayeredCrossSection::isCharacteristicMtrxSymmetric(), oofem::Shell7BaseXFEM::OLDcomputeStiffnessMatrix(), oofem::FluidCrossSection::packUnknowns(), oofem::SimpleTransportCrossSection::packUnknowns(), oofem::LargeStrainMasterMaterialStatus::printOutputAt(), oofem::FiberedCrossSection::restoreIPContext(), oofem::LayeredCrossSection::restoreIPContext(), oofem::LargeStrainMasterMaterialStatus::saveContext(), oofem::FiberedCrossSection::saveIPContext(), oofem::LayeredCrossSection::saveIPContext(), oofem::HuertaErrorEstimator::setupRefinedProblemEpilog1(), oofem::StructuralMaterialEvaluator::solveYourself(), oofem::FluidMaterialEvaluator::solveYourself(), oofem::T3DInterface::t3d_2_OOFEM(), oofem::TwoFluidMaterialStatus::TwoFluidMaterialStatus(), oofem::FluidCrossSection::unpackAndUpdateUnknowns(), oofem::SimpleTransportCrossSection::unpackAndUpdateUnknowns(), and oofem::LargeStrainMasterMaterialStatus::updateYourself().

std :: vector< std :: unique_ptr< Material > >& oofem::Domain::giveMaterials ( )
inline
int oofem::Domain::giveMaxDofID ( )
inline

Gives the current maximum dof ID used.

Definition at line 600 of file domain.h.

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

Node* oofem::Domain::giveNode ( int  n)
inline

Service for accessing particular domain node.

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

Parameters
nPointer to n-th node is returned.

Definition at line 371 of file domain.h.

References OOFEM_ERROR.

Referenced by oofem::PolylineNonlocalBarrier::calculateMinimumDistanceFromBoundary(), oofem::ReactionErrorCheckingRule::check(), oofem::Q27Space::computeLoadLSToLRotationMatrix(), oofem::QSpace::computeLoadLSToLRotationMatrix(), oofem::LSpace::computeLoadLSToLRotationMatrix(), oofem::InterfaceElem1d::computeLocalSlipDir(), oofem::IntElPoint::computeLocalSlipDir(), oofem::SparseNonLinearSystemNM::convertPertMap(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::SPRNodalRecoveryModel::determineValuesFromPatch(), oofem::VTKExportModule::doOutput(), oofem::VTKXMLExportModule::doOutput(), oofem::LSpace::drawTriad(), oofem::InsertNode::evaluate(), oofem::ClosestNode::evaluate(), oofem::PrescribedGenStrainShell7::evaluateHigherOrderContribution(), oofem::VTKXMLExportModule::exportExternalForces(), oofem::VTKExportModule::exportIntVarAs(), oofem::VTKXMLExportModule::exportIntVars(), oofem::VTKXMLExportModule::exportPrimaryVars(), oofem::VTKExportModule::exportPrimVarAs(), oofem::Delamination::findInitiationFronts(), oofem::PrescribedGradientBCPeriodic::findSlaveToMasterMap(), oofem::TransportGradientPeriodic::findSlaveToMasterMap(), oofem::LIBeam3d::giveLocalCoordinateSystem(), oofem::LIBeam3d2::giveLocalCoordinateSystem(), oofem::Beam3d::giveLocalCoordinateSystem(), oofem::LIBeam3dNL::giveLocalCoordinateSystem(), oofem::LIBeam3dNL2::giveLocalCoordinateSystem(), oofem::OctreeSpatialLocalizer::giveNodeClosestToPointWithinOctant(), oofem::OctreeSpatialLocalizer::giveNodesWithinBox(), oofem::SolutionbasedShapeFunction::init(), oofem::LevelSetPCS::initialize(), oofem::NRSolver::initPrescribedEqs(), oofem::OctreeSpatialLocalizer::insertNodeIntoOctree(), oofem::HybridEI::interpGradLevelSet(), oofem::HybridEI::interpLevelSet(), oofem::HybridEI::interpLevelSetTangential(), oofem::PolylineNonlocalBarrier::isActivated(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::PLCZdamageRadius::propagateInterface(), oofem::PLnodeRadius::propagateInterface(), oofem::QClinearStatic::setActivatedNodeList(), oofem::MicroMaterial::setMacroProperties(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKXMLExportModule::setupVTKPiece(), oofem::PrescribedGenStrainShell7::updateCoefficientMatrix(), oofem::GeometryBasedEI::updateLevelSets(), oofem::FastMarchingMethod::updateTrialValue(), and oofem::DelaunayTriangulator::writeMesh().

NonlocalBarrier * oofem::Domain::giveNonlocalBarrier ( int  n)

Service for accessing particular domain nonlocal barrier representation.

Generates error if no such barrier model is defined.

Parameters
nPointer to n-th barrier is returned.

Definition at line 351 of file domain.C.

References nonlocalBarrierList, and OOFEM_ERROR.

Referenced by oofem::NonlocalMaterialExtensionInterface::applyBarrierConstraints(), oofem::Subdivision::createMesh(), oofem::GradDpMaterialExtensionInterface::giveDistanceBasedCharacteristicLength(), oofem::NonlocalMaterialExtensionInterface::giveDistanceBasedInteractionRadius(), and oofem::T3DInterface::t3d_2_OOFEM().

StateCounterType oofem::Domain::giveNonlocalUpdateStateCounter ( )
inline

Returns the value of nonlocalUpdateStateCounter.

Definition at line 691 of file domain.h.

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

int oofem::Domain::giveNumber ( )
inline

Returns domain number.

Definition at line 266 of file domain.h.

Referenced by oofem::ActiveDof::askNewEquationNumber(), oofem::MasterDof::askNewEquationNumber(), oofem::DIIDynamic::assembleDirichletBcRhsVector(), oofem::EngngModel::assembleExtrapolatedForces(), oofem::NonLinearStatic::assembleIncrementalReferenceLoadVectors(), oofem::DIIDynamic::assembleLoadVector(), oofem::EngngModel::assemblePrescribedExtrapolatedForces(), oofem::EngngModel::assembleVector(), oofem::ReactionErrorCheckingRule::check(), oofem::NRSolver::checkConvergence(), oofem::TransportGradientDirichlet::computeCoefficientMatrix(), oofem::StokesFlowVelocityHomogenization::computeTangent(), oofem::PrescribedGradientBCNeumann::computeTangent(), oofem::PrescribedGradientBCPeriodic::computeTangent(), oofem::TransportGradientNeumann::computeTangent(), oofem::TransportGradientPeriodic::computeTangent(), oofem::PrescribedGradientBCWeak::computeTangent(), oofem::MixedGradientPressureWeakPeriodic::computeTangents(), oofem::MixedGradientPressureNeumann::computeTangents(), dofmanGlobal2Local(), elementGlobal2Local(), oofem::ZZErrorEstimator::estimateError(), oofem::PrescribedGenStrainShell7::evaluateHigherOrderContribution(), oofem::Quad10_2D_SUPG::giveIPValue(), oofem::TR1_2D_SUPG::giveIPValue(), oofem::TwoFluidMaterial::giveTempVOF(), oofem::AdaptiveNonLinearStatic::giveUnknownComponent(), oofem::NRSolver::initPrescribedEqs(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::LSPrimaryVariableMapper::mapPrimaryVariables(), oofem::DynamicRelaxationSolver::solve(), oofem::NRSolver::solve(), oofem::DIIDynamic::timesMtrx(), oofem::NonLinearDynamic::timesMtrx(), oofem::PrescribedGradient::updateCoefficientMatrix(), oofem::PrescribedGenStrainShell7::updateCoefficientMatrix(), oofem::NonLinearDynamic::updateComponent(), and oofem::NonLinearStatic::updateComponent().

int oofem::Domain::giveNumberOfDofManagers ( ) const
inline

Returns number of dof managers in domain.

Definition at line 432 of file domain.h.

Referenced by oofem::Quasicontinuum::applyApproach2(), oofem::Quasicontinuum::applyApproach3(), oofem::SUPG::applyIC(), oofem::EngngModel::assembleVectorFromDofManagers(), oofem::SloanGraph::assignNewNumbers(), oofem::EngngModel::balanceLoad(), BuildDofManPlaceInArrayMap(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::StructuralEngngModel::buildReactionTable(), oofem::MatlabExportModule::computeArea(), oofem::DelaunayTriangulator::computeBBXBasedOnNodeData(), oofem::PrescribedGradientBCWeak::computeDomainBoundingBox(), createDofs(), oofem::EnrichmentItem::createEnrichedDofs(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::PrescribedGradientBCWeak::createTractionMesh(), oofem::DelaunayTriangulator::DelaunayTriangulator(), oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::OutputManager::doDofManOutput(), oofem::DofManValueField::DofManValueField(), oofem::DofManExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::VTKXMLExportModule::doOutput(), oofem::MatlabExportModule::doOutputReactionForces(), oofem::HuertaErrorEstimator::estimateError(), oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::ZZRemeshingCriteria::estimateMeshDensities(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::PrescribedGenStrainShell7::evaluateHigherOrderContribution(), oofem::DirectErrorIndicatorRC::exchangeDofManDensities(), oofem::DirectErrorIndicatorRC::exchangeDofManIndicatorVals(), oofem::Subdivision::exchangeRemoteElements(), oofem::VTKExportModule::exportIntVarAs(), oofem::POIExportModule::exportPrimaryVars(), oofem::VTKExportModule::exportPrimVarAs(), oofem::QClinearStatic::findNearestParticle(), oofem::SloanGraph::findPeripheralNodes(), oofem::SloanGraph::findTopPriorityInQueue(), oofem::LevelSetPCS::FMMReinitialization(), oofem::DummySpatialLocalizer::giveAllNodesWithinBox(), oofem::VelocityNumberingScheme::giveDofToEquationNumber(), oofem::Set::giveNodeList(), oofem::VTKExportModule::giveTotalRBRNumberOfNodes(), oofem::ParmetisLoadBalancer::handleMasterSlaveDofManLinks(), oofem::PressureNumberingScheme::init(), oofem::Natural2GlobalOrdering::init(), oofem::Natural2LocalOrdering::init(), oofem::AuxVelocityNumberingScheme::init(), oofem::FastMarchingMethod::initialize(), oofem::SloanGraph::initialize(), oofem::LevelSetPCS::initialize(), oofem::SPRNodalRecoveryModel::initPatch(), oofem::NRSolver::initPrescribedEqs(), oofem::QuasicontinuumVTKXMLExportModule::initRegionNodeNumbering(), oofem::NodalRecoveryModel::initRegionNodeNumbering(), oofem::VTKExportModule::initRegionNodeNumbering(), oofem::VTKXMLExportModule::initRegionNodeNumbering(), oofem::SloanGraph::initStatusAndPriority(), oofem::ConnectivityTable::instanciateConnectivityTable(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::EnrFrontLinearBranchFuncRadius::MarkNodesAsFront(), oofem::LoadBalancer::migrateLoad(), oofem::NonLinearDynamic::packMigratingData(), oofem::LoadBalancer::packMigratingData(), oofem::NonLinearStatic::packMigratingData(), oofem::ParmetisLoadBalancer::packSharedDmanPartitions(), oofem::LevelSetPCS::pcs_stage1(), oofem::LoadBalancer::printStatistics(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::SPRNodalRecoveryModel::recoverValues(), oofem::LevelSetPCS::redistance(), oofem::RefinedMesh::refineMeshGlobally(), oofem::REGISTER_EnrichmentFront(), oofem::MicroMaterial::setMacroProperties(), oofem::QClinearStatic::setQCNodeType(), oofem::FETICommunicator::setUpCommunicationMaps(), oofem::FETISolver::setUpCommunicationMaps(), oofem::NodeCommunicator::setUpCommunicationMaps(), oofem::FreemInterface::smoothNodalDensities(), oofem::FluidStructureProblem::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::LinearStability::terminateLinStatic(), oofem::NonLinearDynamic::unpackMigratingData(), oofem::NonLinearStatic::unpackMigratingData(), oofem::PrescribedGenStrainShell7::updateCoefficientMatrix(), oofem::SUPG::updateDofUnknownsDictionary_corrector(), oofem::SUPG::updateDofUnknownsDictionary_predictor(), oofem::XfemManager::updateNodeEnrichmentItemMap(), oofem::QClinearStatic::updateNodeTypes(), oofem::LevelSetPCS::updatePosition(), oofem::NodalRecoveryModel::updateRegionRecoveredValues(), oofem::WeakPeriodicBoundaryCondition::updateSminmax(), and oofem::DelaunayTriangulator::writeMesh().

int oofem::Domain::giveNumberOfElements ( ) const
inline

Returns number of elements in domain.

Definition at line 434 of file domain.h.

Referenced by oofem::Quasicontinuum::applyApproach2(), oofem::Quasicontinuum::applyApproach3(), oofem::EngngModel::assemble(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::NonStationaryTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::DIIDynamic::assembleDirichletBcRhsVector(), oofem::NonStationaryTransportProblem::assembleDirichletBcRhsVector(), oofem::EngngModel::assembleExtrapolatedForces(), oofem::EngngModel::assemblePrescribedExtrapolatedForces(), oofem::EngngModel::assembleVectorFromElements(), oofem::Subdivision::assignGlobalNumbersToElements(), BuildElementPlaceInArrayMap(), oofem::SkylineUnsym::buildInternalStructure(), BuildMaterialToElementMap(), oofem::HuertaErrorEstimator::buildRefinedMesh(), oofem::ParmetisLoadBalancer::calculateLoadTransfer(), oofem::FreeWarping::computeCenterOfGravity(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::TransportGradientPeriodic::computeTangent(), oofem::TransportGradientDirichlet::computeTangent(), oofem::QClinearStatic::computeTotalVolumeOfInterpolationMesh(), oofem::Quasicontinuum::createGlobalStiffnesMatrix(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Quasicontinuum::createInterpolationElements(), oofem::Subdivision::createMesh(), oofem::PFEM::deactivateTooCloseParticles(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::LoadBalancer::deleteRemoteElements(), oofem::OutputManager::doElementOutput(), oofem::GPInitModule::doInit(), oofem::MatlabExportModule::doOutput(), oofem::ZZErrorEstimator::estimateError(), oofem::HuertaErrorEstimator::estimateError(), oofem::ZZRemeshingCriteria::estimateMeshDensities(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::Subdivision::exchangeRemoteElements(), oofem::NonlocalMaterialWTP::fastRebuildNonlocalTables(), oofem::LevelSetPCS::FMMReinitialization(), oofem::DummySpatialLocalizer::giveAllElementsWithIpWithinBox(), oofem::GeometryBasedEI::giveBoundingSphere(), oofem::DummySpatialLocalizer::giveElementClosestToPoint(), oofem::LevelSetPCS::giveElementMaterialMixture(), oofem::PFEM::giveNextStep(), oofem::DummySpatialLocalizer::init(), oofem::NonlocalMaterialWTP::init(), oofem::OctreeSpatialLocalizer::initElementDataStructure(), oofem::OctreeSpatialLocalizer::initElementIPDataStructure(), oofem::ParmetisLoadBalancer::initGlobalParmetisElementNumbering(), oofem::BCTracker::initialize(), oofem::ConnectivityTable::instanciateConnectivityTable(), oofem::FractureManager::instanciateYourself(), oofem::LSPrimaryVariableMapper::mapPrimaryVariables(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::MDM::MMI_map(), oofem::IsotropicDamageMaterial1::MMI_map(), oofem::GnuplotExportModule::outputInterfaceEl(), oofem::LoadBalancer::packMigratingData(), oofem::NonlocalMaterialWTP::packMigratingElementDependencies(), oofem::Subdivision::packRemoteElements(), oofem::LevelSetPCS::pcs_stage1(), oofem::PFEM::preInitializeNextStep(), oofem::LoadBalancer::printStatistics(), oofem::XfemSolverInterface::propagateXfemInterfaces(), oofem::LevelSetPCS::redistance(), oofem::RefinedMesh::refineMeshGlobally(), oofem::QClinearStatic::setRepNodesInVerticesOfInterpolationMesh(), oofem::ElementCommunicator::setUpCommunicationMaps(), oofem::Quasicontinuum::setupInterpolationMesh(), oofem::HuertaErrorEstimator::solveRefinedWholeProblem(), oofem::DEIDynamic::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::LinearStability::terminateLinStatic(), oofem::DIIDynamic::timesMtrx(), oofem::NonLinearDynamic::timesMtrx(), oofem::FreeWarping::updateComputedResults(), and oofem::XfemManager::updateNodeEnrichmentItemMap().

int oofem::Domain::giveNumberOfInitialConditions ( ) const
inline

Returns number of initial conditions in domain.

Definition at line 442 of file domain.h.

Referenced by createDofs(), oofem::Subdivision::createMesh(), and oofem::T3DInterface::t3d_2_OOFEM().

int oofem::Domain::giveNumberOfRegions ( ) const
inline
int oofem::Domain::giveNumberOfSets ( ) const
inline

Returns number of sets.

Definition at line 450 of file domain.h.

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

int oofem::Domain::giveNumberOfSpatialDimensions ( )

Returns number of spatial dimensions.

Definition at line 1067 of file domain.C.

References nsd.

Referenced by oofem::Quasicontinuum::applyApproach3(), oofem::PrescribedGradientBCWeak::assemble(), oofem::PrescribedGradientBCWeak::assembleExtraDisplock(), oofem::PrescribedGradientBCWeak::assembleTangentGPContributionNew(), oofem::PrescribedGradientBCWeak::assembleVector(), oofem::PrescribedGradientBCWeak::compute_x_times_N_1(), oofem::PrescribedGradientBCWeak::compute_x_times_N_2(), oofem::MatlabExportModule::computeArea(), oofem::WeakPeriodicBoundaryCondition::computeBaseFunctionValue(), oofem::TransportGradientDirichlet::computeCoefficientMatrix(), oofem::SolutionbasedShapeFunction::computeDofTransformation(), oofem::PrescribedGradientBCWeak::computeDomainBoundingBox(), oofem::PrescribedGradientBCWeak::computeField(), oofem::MixedGradientPressureDirichlet::computeFields(), oofem::MixedGradientPressureNeumann::computeFields(), oofem::Quasicontinuum::computeIntersectionsOfLinkWithInterpElements(), oofem::SurfaceTensionBoundaryCondition::computeLoadVectorFromElement(), oofem::FRCFCMNL::computeNonlocalStressInFibers(), oofem::NeumannMomentLoad::computeNormal(), oofem::MixedGradientPressureWeakPeriodic::computeStress(), oofem::StokesFlowVelocityHomogenization::computeTangent(), oofem::PrescribedGradientBCPeriodic::computeTangent(), oofem::TransportGradientNeumann::computeTangent(), oofem::TransportGradientPeriodic::computeTangent(), oofem::TransportGradientDirichlet::computeTangent(), oofem::SurfaceTensionBoundaryCondition::computeTangentFromElement(), oofem::MixedGradientPressureDirichlet::computeTangents(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::QClinearStatic::computeTotalVolumeOfInterpolationMesh(), oofem::NonlocalMaterialExtensionInterface::computeWeightFunction(), oofem::MixedGradientPressureWeakPeriodic::constructMMatrix(), oofem::PrescribedGradientHomogenization::domainSize(), oofem::TransportGradientNeumann::domainSize(), oofem::TransportGradientPeriodic::domainSize(), oofem::MixedGradientPressureBC::domainSize(), oofem::TransportGradientDirichlet::domainSize(), oofem::PrescribedGenStrainShell7::domainSize(), oofem::MatlabExportModule::doOutput(), oofem::MatlabExportModule::doOutputMesh(), oofem::PrescribedGenStrainShell7::evaluateHigherOrderContribution(), oofem::ParticleTopologyDescription::findDisplacement(), oofem::GeometryBasedEI::giveBoundingSphere(), oofem::AuxVelocityNumberingScheme::giveDofEquationNumber(), oofem::IntElPoint::giveDofManDofIDMask(), oofem::WeakPeriodicBoundaryCondition::giveEdgeNormal(), oofem::PrescribedGradientBCPeriodic::giveNumberOfMasterDofs(), oofem::TransportGradientPeriodic::giveNumberOfMasterDofs(), oofem::SolutionbasedShapeFunction::giveNumberOfMasterDofs(), oofem::AuxVelocityNumberingScheme::init(), oofem::InterfaceElem1d::initializeFrom(), oofem::MixedGradientPressureWeakPeriodic::initializeFrom(), oofem::MixedGradientPressureDirichlet::initializeFrom(), oofem::SolutionbasedShapeFunction::initializeFrom(), oofem::WeakPeriodicBoundaryCondition::initializeFrom(), oofem::MixedGradientPressureNeumann::integrateDevTangent(), oofem::PrescribedGradientBCNeumann::integrateTangent(), oofem::MixedGradientPressureWeakPeriodic::integrateTractionVelocityTangent(), oofem::MixedGradientPressureNeumann::integrateVolTangent(), oofem::IntMatCoulombContactStatus::IntMatCoulombContactStatus(), oofem::SolutionbasedShapeFunction::loadProblem(), oofem::LSPrimaryVariableMapper::mapPrimaryVariables(), oofem::NonlocalMaterialExtensionInterface::maxValueOfWeightFunction(), oofem::MixedGradientPressureDirichlet::MixedGradientPressureDirichlet(), oofem::MixedGradientPressureNeumann::MixedGradientPressureNeumann(), oofem::GnuplotExportModule::outputMesh(), oofem::GnuplotExportModule::outputReactionForces(), oofem::PrescribedGradientBCNeumann::PrescribedGradientBCNeumann(), oofem::PrescribedGradientBCPeriodic::PrescribedGradientBCPeriodic(), oofem::InterfaceElem1d::setCoordMode(), oofem::IntElPoint::setCoordMode(), oofem::Quasicontinuum::setNoDimensions(), oofem::MixedGradientPressureNeumann::setPrescribedDeviatoricGradientFromVoigt(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::TransportGradientNeumann::TransportGradientNeumann(), oofem::TransportGradientPeriodic::TransportGradientPeriodic(), oofem::PrescribedGradient::updateCoefficientMatrix(), oofem::PrescribedGenStrainShell7::updateCoefficientMatrix(), oofem::WeakPeriodicBoundaryCondition::updateDirection(), and oofem::WeakPeriodicBoundaryCondition::updateSminmax().

int oofem::Domain::giveSerialNumber ( )
inline

Returns domain serial (version) number.

Definition at line 270 of file domain.h.

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

Set * oofem::Domain::giveSet ( int  n)

Service for accessing particular domain set.

Generates error if no such set is defined.

Parameters
nPointer to n-th object is returned.

Definition at line 363 of file domain.C.

References OOFEM_ERROR, and setList.

Referenced by oofem::DofDistributedPrimaryField::applyBoundaryCondition(), oofem::PrimaryField::applyBoundaryCondition(), oofem::DofDistributedPrimaryField::applyInitialCondition(), oofem::PrimaryField::applyInitialCondition(), oofem::SurfaceTensionBoundaryCondition::assemble(), oofem::PrescribedGradientBCNeumann::assemble(), oofem::TransportGradientNeumann::assemble(), oofem::MixedGradientPressureWeakPeriodic::assemble(), oofem::MixedGradientPressureNeumann::assemble(), oofem::EngngModel::assemble(), oofem::PrescribedGradientBCNeumann::assembleVector(), oofem::SurfaceTensionBoundaryCondition::assembleVector(), oofem::TransportGradientNeumann::assembleVector(), oofem::MixedGradientPressureWeakPeriodic::assembleVector(), oofem::MixedGradientPressureNeumann::assembleVector(), oofem::EngngModel::assembleVectorFromBC(), oofem::SolutionbasedShapeFunction::computeCorrectionFactors(), oofem::TransportGradientNeumann::computeEta(), oofem::MixedGradientPressureNeumann::computeFields(), oofem::StructuralElement::computeResultingIPEigenstrainAt(), oofem::StructuralElement::computeResultingIPTemperatureAt(), oofem::MixedGradientPressureWeakPeriodic::computeStress(), oofem::TransportGradientNeumann::computeTangent(), oofem::MixedGradientPressureWeakPeriodic::computeTangents(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::NeumannMomentLoad::computeXbar(), oofem::TransportGradientDirichlet::computeXi(), createDofs(), oofem::Subdivision::createMesh(), oofem::PrescribedGradientHomogenization::domainSize(), oofem::TransportGradientNeumann::domainSize(), oofem::TransportGradientPeriodic::domainSize(), oofem::MixedGradientPressureBC::domainSize(), oofem::TransportGradientDirichlet::domainSize(), oofem::PrescribedGenStrainShell7::domainSize(), oofem::MatlabExportModule::doOutputData(), oofem::MatlabExportModule::doOutputIntegrationPointFields(), oofem::MatlabExportModule::doOutputReactionForces(), oofem::POIExportModule::exportIntVarAs(), oofem::PrescribedGradientBCWeak::findCrackBndIntersecCoord(), oofem::PrescribedGradientBCWeak::findHoleCoord(), oofem::Delamination::findInitiationFronts(), oofem::PrescribedGradientBCPeriodic::findSlaveToMasterMap(), oofem::TransportGradientPeriodic::findSlaveToMasterMap(), oofem::PrescribedGradientBCWeak::giveBoundaries(), oofem::PrescribedGradientBCNeumann::giveLocationArrays(), oofem::SurfaceTensionBoundaryCondition::giveLocationArrays(), oofem::TransportGradientNeumann::giveLocationArrays(), oofem::MixedGradientPressureWeakPeriodic::giveLocationArrays(), oofem::MixedGradientPressureNeumann::giveLocationArrays(), oofem::ExportModule::giveRegionSet(), oofem::BCTracker::initialize(), oofem::SolutionbasedShapeFunction::initializeSurfaceData(), oofem::XfemManager::initiateFronts(), oofem::EngngModel::outputElements(), oofem::EngngModel::outputNodes(), postInitialize(), oofem::Delamination::propagateFronts(), oofem::PLCZdamageRadius::propagateInterface(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::PrescribedGenStrainShell7::updateCoefficientMatrix(), and oofem::WeakPeriodicBoundaryCondition::updateSminmax().

std :: vector< std :: unique_ptr< Set > >& oofem::Domain::giveSets ( )
inline

Definition at line 364 of file domain.h.

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).

Parameters
nPointer to n-th element side is returned.

Definition at line 293 of file domain.C.

References dofManagerList, and OOFEM_ERROR.

Referenced by oofem::Element::giveSide().

double oofem::Domain::giveSize ( )

Gives the sum of the volume or area of all elements.

Returns
Total volume.

Definition at line 1400 of file domain.C.

References elementList.

NodalRecoveryModel * oofem::Domain::giveSmoother ( )

Returns the actual Smoother associated to receiver.

Creates the default, if no one associated.

Definition at line 1141 of file domain.C.

References smoother.

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

SpatialLocalizer * oofem::Domain::giveSpatialLocalizer ( )

Returns receiver's associated spatial localizer.

Definition at line 1184 of file domain.C.

References spatialLocalizer.

Referenced by oofem::PrimaryField::__evaluateAt(), oofem::MMAContainingElementProjection::__init(), oofem::MMAClosestIPTransfer::__init(), oofem::MMALeastSquareProjection::__init(), oofem::MMAShapeFunctProjection::__mapVariable(), oofem::PrescribedGradientBCWeak::assembleGPContrib(), oofem::PrescribedGradientBCWeak::assembleTangentGPContributionNew(), oofem::NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), commitTransactions(), oofem::SolutionbasedShapeFunction::computeBaseFunctionValueAt(), oofem::PrescribedGradientBCWeak::computeIntForceGPContrib(), oofem::MaterialForceEvaluator::computeMaterialForce(), oofem::FreeWarping::computeResultAtCenterOfGravity(), oofem::PrescribedGradientBCWeak::createTractionMesh(), oofem::EIPrimaryUnknownMapper::evaluateAt(), oofem::SmoothedNodalInternalVariableField::evaluateAt(), oofem::DofManValueField::evaluateAt(), oofem::GeometryBasedEI::evaluateEnrFuncJumps(), oofem::POIExportModule::exportPrimVarAs(), oofem::ParticleTopologyDescription::findDisplacement(), oofem::Delamination::findInitiationFronts(), oofem::PrescribedGradientBCPeriodic::findSlaveToMasterMap(), oofem::TransportGradientPeriodic::findSlaveToMasterMap(), oofem::LevelSetPCS::giveMaterialMixtureAt(), oofem::SolutionbasedShapeFunction::giveValueAtPoint(), oofem::LSPrimaryVariableMapper::mapPrimaryVariables(), oofem::EnrichmentFront::MarkTipElementNodesAsFront(), oofem::NCPrincipalStrain::nucleateEnrichmentItems(), oofem::NCPrincipalStress::nucleateEnrichmentItems(), oofem::HangingNode::postInitialize(), oofem::qcNode::postInitializeAsHangingNode(), oofem::PLPrincipalStrain::propagateInterface(), oofem::PLCZdamageRadius::propagateInterface(), oofem::PLMaterialForce::propagateInterface(), oofem::PLHoopStressCirc::propagateInterface(), oofem::PLCrackPrescribedDir::propagateInterface(), oofem::PLnodeRadius::propagateInterface(), oofem::REGISTER_EnrichmentFront(), oofem::PrescribedGradientBCWeak::removeSegOverHoles(), oofem::EnrichmentItem::tipIsTouchingEI(), oofem::GeometryBasedEI::updateLevelSets(), oofem::GeometryBasedEI::updateNodeEnrMarker(), and oofem::ParticleTopologyDescription::updateYourself().

TopologyDescription * oofem::Domain::giveTopology ( )

Returns receiver's associated topology description.

Definition at line 1443 of file domain.C.

References topology.

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

double oofem::Domain::giveVolume ( )

Gives the sum of the volume of all elements.

Returns
Total volume.

Definition at line 1389 of file domain.C.

References elementList.

XfemManager * oofem::Domain::giveXfemManager ( )

Definition at line 375 of file domain.C.

References OOFEM_ERROR, and xfemManager.

Referenced by oofem::XfemElementInterface::ComputeBOrBHMatrix(), oofem::PlaneStress2dXfem::computeGaussPoints(), oofem::Tr2Shell7XFEM::computeGaussPoints(), oofem::QTrPlaneStress2dXFEM::computeGaussPoints(), oofem::TrPlaneStress2dXFEM::computeGaussPoints(), oofem::PrescribedGradientBCWeak::computeIntForceGPContrib(), oofem::XfemElementInterface::computeNCohesive(), oofem::StructuralFE2MaterialStatus::copyStateVariables(), oofem::GnuplotExportModule::doOutput(), oofem::PlaneStress2dXfem::drawRawGeometry(), oofem::TrPlaneStress2dXFEM::drawRawGeometry(), oofem::PlaneStress2dXfem::drawScalar(), oofem::TrPlaneStress2dXFEM::drawScalar(), oofem::Node::drawYourself(), oofem::VTKXMLExportModule::exportIntVars(), oofem::VTKXMLExportModule::getNodalVariableFromXFEMST(), oofem::PlaneStress2dXfem::giveCompositeExportData(), oofem::QTrPlaneStress2dXFEM::giveCompositeExportData(), oofem::TrPlaneStress2dXFEM::giveCompositeExportData(), oofem::PlaneStress2dXfem::giveDofManDofIDMask(), oofem::TrPlaneStress2dXFEM::giveDofManDofIDMask(), oofem::QTrPlaneStress2dXFEM::giveDofManDofIDMask(), oofem::Shell7BaseXFEM::giveDofManDofIDMask(), oofem::PlaneStress2dXfem::giveGeometryType(), oofem::QTrPlaneStress2dXFEM::giveGeometryType(), oofem::TrPlaneStress2dXFEM::giveGeometryType(), oofem::StructuralFE2Material::giveRealStressVector_3d(), oofem::XfemStructuralElementInterface::giveSubtriangulationCompositeExportData(), oofem::GeometryBasedEI::instanciateYourself(), oofem::Delamination::instanciateYourself(), oofem::NCPrincipalStrain::nucleateEnrichmentItems(), oofem::NCPrincipalStress::nucleateEnrichmentItems(), oofem::GnuplotExportModule::outputXFEM(), oofem::XfemElementInterface::partitionEdgeSegment(), oofem::Shell7BaseXFEM::postInitialize(), oofem::PLCZdamageRadius::propagateInterface(), oofem::PLHoopStressCirc::propagateInterface(), oofem::XfemSolverInterface::propagateXfemInterfaces(), oofem::PatchIntegrationRule::SetUpPointsOnTriangle(), oofem::PatchIntegrationRule::SetUpPointsOnWedge(), oofem::GeometryBasedEI::updateDofIdPool(), oofem::ListBasedEI::updateGeometry(), oofem::GeometryBasedEI::updateGeometry(), oofem::GeometryBasedEI::updateNodeEnrMarker(), oofem::FractureManager::updateXFEM(), oofem::XfemStructuralElementInterface::useNonStdCz(), oofem::VTKXMLExportModule::writeXFEMVars(), oofem::XfemStructuralElementInterface::XfemElementInterface_computeConstitutiveMatrixAt(), oofem::XfemStructuralElementInterface::XfemElementInterface_computeStressVector(), oofem::XfemElementInterface::XfemElementInterface_createEnrNmatrixAt(), oofem::XfemElementInterface::XfemElementInterface_prepareNodesForDelaunay(), oofem::XfemStructuralElementInterface::XfemElementInterface_updateIntegrationRule(), and oofem::XfemElementInterface::XfemElementInterface_updateIntegrationRule().

bool oofem::Domain::hasContactManager ( )
bool oofem::Domain::hasFractureManager ( )

Definition at line 410 of file domain.C.

References fracManager.

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

Initializes global dof man map according to domain dofman list.

Definition at line 1735 of file domain.C.

References dmanMap, dmanMapInitialized, and dofManagerList.

Referenced by commitTransactions(), oofem::LoadBalancer::migrateLoad(), and oofem::ParmetisLoadBalancer::unpackSharedDmanPartitions().

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

Definition at line 1756 of file domain.C.

References elementList, elementMap, and elementMapInitialized.

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 classFactory.create* function of corresponding base class, sending component name (extracted from corresponding record) as parameter. After new object is created, its initializeFrom member function is called with its record as parameter.

Parameters
drInput stream with domain description.
Returns
Nonzero if o.k.
See also
FemComponent::initializeFrom
Todo:
Change this to default 0 when the domaintype record has been removed.
Todo:
Eventually remove this backwards compatibility:

Definition at line 468 of file domain.C.

References _IFT_Domain_axisymmetric, _IFT_Domain_nbarrier, _IFT_Domain_nbc, _IFT_Domain_ncontactman, _IFT_Domain_ncrosssect, _IFT_Domain_ndofman, _IFT_Domain_nelem, _IFT_Domain_nfracman, _IFT_Domain_nfunct, _IFT_Domain_nic, _IFT_Domain_nmat, _IFT_Domain_nset, _IFT_Domain_numberOfSpatialDimensions, _IFT_Domain_nxfemman, _IFT_Domain_topology, _IFT_Domain_type, axisymm, bcList, BuildDofManPlaceInArrayMap(), BuildElementPlaceInArrayMap(), BuildMaterialToElementMap(), oofem::classFactory, contactManager, oofem::ClassFactory::createBoundaryCondition(), oofem::ClassFactory::createContactManager(), oofem::ClassFactory::createCrossSection(), oofem::ClassFactory::createDofManager(), oofem::ClassFactory::createElement(), oofem::ClassFactory::createFunction(), oofem::ClassFactory::createMaterial(), oofem::ClassFactory::createNonlocalBarrier(), oofem::ClassFactory::createTopology(), oofem::ClassFactory::createXfemManager(), crossSectionList, dofManagerList, dType, elementList, oofem::InputRecord::finish(), fracManager, functionList, giveEngngModel(), oofem::DataReader::giveInputRecord(), oofem::InputRecord::giveRecordKeywordField(), oofem::InputRecord::hasField(), icList, oofem::DataReader::IR_bcRec, oofem::DataReader::IR_contactManRec, oofem::DataReader::IR_crosssectRec, oofem::DataReader::IR_dofmanRec, oofem::DataReader::IR_domainCompRec, oofem::DataReader::IR_domainRec, oofem::DataReader::IR_elemRec, oofem::DataReader::IR_fracManRec, oofem::DataReader::IR_funcRec, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, IR_GIVE_RECORD_KEYWORD_FIELD, oofem::DataReader::IR_icRec, oofem::DataReader::IR_matRec, oofem::DataReader::IR_nlocBarRec, oofem::DataReader::IR_outManRec, oofem::DataReader::IR_setRec, oofem::DataReader::IR_xfemManRec, materialList, mDomainType, nonlocalBarrierList, nsd, number, OOFEM_ERROR, outputManager, oofem::DataReader::peakNext(), resolveDomainDofsDefaults(), setList, topology, VERBOSE_PRINT0, and xfemManager.

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

bool oofem::Domain::isAxisymmetric ( )
int oofem::Domain::LB_giveUpdatedGlobalNumber ( int  oldnum,
EntityRenumberingScheme  scheme 
)

Return updated local entity number after load balancing.

Definition at line 1845 of file domain.C.

References dmanMap, oofem::ERS_DofManager, and OOFEM_ERROR.

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 1827 of file domain.C.

References oofem::ERS_DofManager, giveDofManager(), and OOFEM_ERROR.

Referenced by renumberDofManData(), and renumberElementData().

Domain& oofem::Domain::operator= ( const Domain src)
delete
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 1807 of file domain.C.

References dmanMap.

Referenced by commitTransactions().

void oofem::Domain::renumberDofManData ( DomainTransactionManager tm)
void oofem::Domain::renumberElementData ( DomainTransactionManager tm)
void oofem::Domain::renumberElements ( )

Definition at line 1817 of file domain.C.

References elementMap.

Referenced by commitTransactions().

void oofem::Domain::resetFreeDofID ( )

Resets the free dof IDs.

Definition at line 1423 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 449 of file domain.C.

References bcList.

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

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

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

Definition at line 446 of file domain.C.

References crossSectionList.

Referenced by oofem::Quasicontinuum::addCrosssectionToInterpolationElements().

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

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

Definition at line 444 of file domain.C.

References dofManagerList.

Referenced by oofem::DelaunayTriangulator::buildInitialBBXMesh(), oofem::DelaunayTriangulator::generateMesh(), and oofem::ParticleTopologyDescription::replaceFEMesh().

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

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

Definition at line 445 of file domain.C.

References elementList.

Referenced by oofem::Quasicontinuum::createInterpolationElements(), oofem::ParticleTopologyDescription::replaceFEMesh(), and oofem::DelaunayTriangulator::writeMesh().

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

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

Definition at line 451 of file domain.C.

References functionList.

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

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

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

Definition at line 450 of file domain.C.

References icList.

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

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

Definition at line 447 of file domain.C.

References materialList.

Referenced by oofem::Quasicontinuum::applyApproach1(), oofem::Quasicontinuum::applyApproach2(), and oofem::Quasicontinuum::applyApproach3().

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

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

Definition at line 448 of file domain.C.

References nonlocalBarrierList.

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

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

Definition at line 452 of file domain.C.

References setList.

Referenced by oofem::ParticleTopologyDescription::replaceFEMesh().

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

Definition at line 1081 of file domain.C.

References dType, and OOFEM_ERROR.

Referenced by instanciateYourself().

contextIOResultType oofem::Domain::restoreContext ( DataStream stream,
ContextMode  mode 
)

Restores the domain state from output stream.

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

Parameters
streamContext file.
modeDetermines amount of info in stream.
Returns
contextIOResultType.
Exceptions
ContextIOERRexception if error encountered.
Todo:
Saving and restoring xfemmanagers.

Definition at line 1530 of file domain.C.

References bcList, oofem::CIO_IOERR, oofem::CIO_OK, oofem::classFactory, clear(), CM_Definition, oofem::ClassFactory::createBoundaryCondition(), oofem::ClassFactory::createCrossSection(), oofem::ClassFactory::createDofManager(), oofem::ClassFactory::createElement(), oofem::ClassFactory::createFunction(), oofem::ClassFactory::createInitialCondition(), oofem::ClassFactory::createMaterial(), oofem::ClassFactory::createNonlocalBarrier(), crossSectionList, dofManagerList, elementList, engineeringModel, functionList, oofem::EngngModel::giveDomainFileName(), giveErrorEstimator(), giveSerialNumber(), icList, instanciateYourself(), materialList, mDofManPlaceInArray, mElementPlaceInArray, nonlocalBarrierList, number, OOFEM_ERROR, OOFEM_LOG_INFO, oofem::DataStream::read(), oofem::restore_components(), setList, smoother, THROW_CIOERR, and xfemManager.

contextIOResultType oofem::Domain::saveContext ( DataStream stream,
ContextMode  mode 
)

Stores the domain state to output stream.

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

Parameters
streamContext stream. If NULL then new file descriptor will be opened and closed at the end else the stream given as parameter will be used and not closed at the end.
modeDetermines amount of info in stream.
Returns
contextIOResultType.
Exceptions
ContextIOERRIf error encountered.

Definition at line 1498 of file domain.C.

References bcList, oofem::CIO_IOERR, oofem::CIO_OK, CM_Definition, crossSectionList, dofManagerList, elementList, functionList, giveErrorEstimator(), icList, materialList, nonlocalBarrierList, oofem::save_components(), setList, THROW_CIOERR, and oofem::DataStream::write().

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 459 of file domain.C.

References bcList.

Referenced by oofem::MacroLSpace::changeMicroBoundaryConditions(), oofem::SolutionbasedShapeFunction::setBoundaryConditionOnDof(), and oofem::SolutionbasedShapeFunction::setLoads().

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 456 of file domain.C.

References crossSectionList.

Referenced by oofem::Quasicontinuum::addCrosssectionToInterpolationElements().

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 454 of file domain.C.

References dofManagerList, oofem::DofManager::giveGlobalNumber(), and mDofManPlaceInArray.

Referenced by oofem::DelaunayTriangulator::buildInitialBBXMesh(), and oofem::ParticleTopologyDescription::replaceFEMesh().

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

Sets domain type.

Definition at line 562 of file domain.h.

Referenced by oofem::Subdivision::createMesh(), and oofem::T3DInterface::t3d_2_OOFEM().

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 455 of file domain.C.

References elementList, oofem::Element::giveGlobalNumber(), and mElementPlaceInArray.

Referenced by oofem::Quasicontinuum::createInterpolationElements(), oofem::ParticleTopologyDescription::replaceFEMesh(), and oofem::DelaunayTriangulator::writeMesh().

void oofem::Domain::SetEngngModel ( EngngModel ipEngngModel)
inline

Definition at line 308 of file domain.h.

Referenced by oofem::StructuralFE2MaterialStatus::copyStateVariables().

void oofem::Domain::setFunction ( int  i,
Function obj 
)

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

Definition at line 461 of file domain.C.

References functionList.

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

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 460 of file domain.C.

References icList.

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 457 of file domain.C.

References materialList.

Referenced by oofem::Quasicontinuum::applyApproach1(), oofem::Quasicontinuum::applyApproach2(), and oofem::Quasicontinuum::applyApproach3().

void oofem::Domain::setNextFreeDofID ( int  dofid)
inline

Definition at line 602 of file domain.h.

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 458 of file domain.C.

References nonlocalBarrierList.

void oofem::Domain::setNonlocalUpdateStateCounter ( StateCounterType  val)
inline

sets the value of nonlocalUpdateStateCounter

Definition at line 693 of file domain.h.

References oofem::errorInfo().

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

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

Returns domain number.

Definition at line 268 of file domain.h.

void oofem::Domain::setSet ( int  i,
Set obj 
)

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

Definition at line 462 of file domain.C.

References setList.

Referenced by oofem::ParticleTopologyDescription::replaceFEMesh().

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

Sets the given smoother as an actual smoother for receiver.

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

Definition at line 1148 of file domain.C.

References smoother.

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

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

Sets receiver's associated topology description.

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

Definition at line 1159 of file domain.C.

References topology.

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

Temporary function, sets xfemManager.

Definition at line 463 of file domain.C.

References xfemManager.

Member Data Documentation

bool oofem::Domain::axisymm
private

Definition at line 172 of file domain.h.

Referenced by Domain(), instanciateYourself(), and isAxisymmetric().

std :: vector< std :: unique_ptr< GeneralBoundaryCondition > > oofem::Domain::bcList
private
BCTracker oofem::Domain::bcTracker
private

BC tracker (keeps track of BCs applied wia sets to components)

Definition at line 198 of file domain.h.

Referenced by giveBCTracker().

std :: unique_ptr< ConnectivityTable > oofem::Domain::connectivityTable
private

Domain connectivity table.

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

Definition at line 158 of file domain.h.

Referenced by clear(), and giveConnectivityTable().

std :: unique_ptr< ContactManager > oofem::Domain::contactManager
private

Contact Manager.

Definition at line 195 of file domain.h.

Referenced by clear(), createDofs(), giveContactManager(), hasContactManager(), and instanciateYourself().

std :: vector< std :: unique_ptr< CrossSection > > oofem::Domain::crossSectionList
private
IntArray oofem::Domain::defaultNodeDofIDArry
private

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

Definition at line 138 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 233 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 235 of file domain.h.

Referenced by Domain(), and initGlobalDofManMap().

std :: vector< std :: unique_ptr< DofManager > > oofem::Domain::dofManagerList
private
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.

See also
Node
ElementSide

Definition at line 147 of file domain.h.

Referenced by Domain(), giveDefaultNodeDofIDArry(), instanciateYourself(), and resolveDomainDofsDefaults().

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

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

Definition at line 237 of file domain.h.

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

bool oofem::Domain::elementMapInitialized
private

dmanMap init flag.

Definition at line 239 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 152 of file domain.h.

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

std :: unique_ptr< FractureManager > oofem::Domain::fracManager
private

Fracture Manager.

Definition at line 192 of file domain.h.

Referenced by giveFractureManager(), hasFractureManager(), and instanciateYourself().

int oofem::Domain::freeDofID

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

Definition at line 223 of file domain.h.

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

std :: vector< std :: unique_ptr< Function > > oofem::Domain::functionList
private

Load time function list.

Definition at line 131 of file domain.h.

Referenced by clear(), giveFunction(), instanciateYourself(), resizeFunctions(), restoreContext(), saveContext(), and setFunction().

std :: vector< std :: unique_ptr< InitialCondition > > oofem::Domain::icList
private

Initial condition list.

Definition at line 129 of file domain.h.

Referenced by clear(), giveIc(), instanciateYourself(), resizeInitialConditions(), restoreContext(), saveContext(), and setInitialCondition().

std :: vector< std :: unique_ptr< Material > > oofem::Domain::materialList
private
std::unordered_map< int, int > oofem::Domain::mDofManPlaceInArray
private

Map from a dofmans's global number to its place in the dofman array.

Definition at line 210 of file domain.h.

Referenced by BuildDofManPlaceInArrayMap(), clear(), giveDofManPlaceInArray(), restoreContext(), and setDofManager().

std :: string oofem::Domain::mDomainType
private
Todo:
I don't see why this has to be stored, and there is only one? /Mikael

Definition at line 176 of file domain.h.

Referenced by instanciateYourself().

std::unordered_map< int, int > oofem::Domain::mElementPlaceInArray
private

Map from an element's global number to its place in the element array.

Added by ES 140326.

Definition at line 204 of file domain.h.

Referenced by BuildElementPlaceInArrayMap(), clear(), giveElementPlaceInArray(), restoreContext(), and setElement().

std::unordered_map< int, IntArray> oofem::Domain::mMapMaterialNum2El
private

Map from material number to elements that have the given material number.

Added by ES 140718.

Definition at line 216 of file domain.h.

Referenced by BuildMaterialToElementMap(), and giveElementsWithMaterialNum().

std :: vector< std :: unique_ptr< NonlocalBarrier > > oofem::Domain::nonlocalBarrierList
private
StateCounterType oofem::Domain::nonlocalUpdateStateCounter
private

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 187 of file domain.h.

Referenced by Domain().

int oofem::Domain::nsd
private

Number of spatial dimensions.

Definition at line 171 of file domain.h.

Referenced by Domain(), giveNumberOfSpatialDimensions(), and instanciateYourself().

int oofem::Domain::number
private

Domain number.

Definition at line 167 of file domain.h.

Referenced by Domain(), errorInfo(), giveErrorEstimator(), instanciateYourself(), and restoreContext().

std :: unique_ptr< OutputManager > oofem::Domain::outputManager
private

Output manager, allowing to filter the produced output.

Definition at line 165 of file domain.h.

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

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

List of received elements.

Definition at line 245 of file domain.h.

int oofem::Domain::serialNumber
private

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

Definition at line 169 of file domain.h.

Referenced by Domain().

std :: vector< std :: unique_ptr< Set > > oofem::Domain::setList
private

Set list.

Definition at line 133 of file domain.h.

Referenced by clear(), giveSet(), instanciateYourself(), resizeSets(), restoreContext(), saveContext(), and setSet().

std :: unique_ptr< NodalRecoveryModel > oofem::Domain::smoother
private

nodal recovery object associated to receiver.

Definition at line 174 of file domain.h.

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

std :: unique_ptr< SpatialLocalizer > oofem::Domain::spatialLocalizer
private

Spatial Localizer.

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

Definition at line 163 of file domain.h.

Referenced by clear(), and giveSpatialLocalizer().

std :: unique_ptr< TopologyDescription > oofem::Domain::topology
private

Topology description.

Definition at line 219 of file domain.h.

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

std :: unique_ptr< DomainTransactionManager > oofem::Domain::transactionManager
private

Transaction manager.

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

Definition at line 231 of file domain.h.

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

std :: unique_ptr< XfemManager > oofem::Domain::xfemManager
private

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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:34 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011