|
OOFEM 3.0
|
#include <engngm.h>
Classes | |
| struct | ArrayWithNumbering |
| Helper struct to pass array and numbering scheme as a single argument. More... | |
Public Types | |
| enum | EngngModel_UpdateMode { EngngModel_Unknown_Mode , EngngModel_SUMM_Mode , EngngModel_SET_Mode } |
| enum | EngngModelCommType { PC_default , PC_nonlocal } |
| enum | InitialGuess { IG_None = 0 , IG_Tangent = 1 } |
Protected Attributes | |
| int | ndomains |
| Number of receiver domains. | |
| std ::vector< std ::unique_ptr< Domain > > | domainList |
| List of problem domains. | |
| int | numberOfSteps |
| Total number of time steps. | |
| int | numberOfEquations |
| Total number of equation in current time step. | |
| int | numberOfPrescribedEquations |
| Total number or prescribed equations in current time step. | |
| IntArray | domainNeqs |
| Number of equations per domain. | |
| IntArray | domainPrescribedNeqs |
| Number of prescribed equations per domain. | |
| bool | renumberFlag |
| Renumbering flag (renumbers equations after each step, necessary if Dirichlet BCs change). | |
| bool | profileOpt |
| Profile optimized numbering flag (using Sloan's algorithm). | |
| int | equationNumberingCompleted |
| Equation numbering completed flag. | |
| int | nMetaSteps |
| Number of meta steps. | |
| std ::vector< MetaStep > | metaStepList |
| List of problem metasteps. | |
| std ::unique_ptr< TimeStep > | stepWhenIcApply |
| Solution step when IC (initial conditions) apply. | |
| std ::unique_ptr< TimeStep > | currentStep |
| Current time step. | |
| std ::unique_ptr< TimeStep > | previousStep |
| Previous time step. | |
| int | number |
| Receivers id. | |
| std::string | dataOutputFileName |
| Path to output stream. | |
| std::string | coreOutputFileName |
| String with core output file name. | |
| FILE * | outputStream |
| Output stream. | |
| std::string | referenceFileName |
| String with reference file name. | |
| ContextOutputMode | contextOutputMode |
| Domain context output mode. | |
| int | contextOutputStep |
| ExportModuleManager | exportModuleManager |
| Export module manager. | |
| InitModuleManager | initModuleManager |
| Initialization module manager. | |
| MonitorManager | monitorManager |
| Monitor manager. | |
| problemMode | pMode |
| Domain mode. | |
| problemScale | pScale |
| Multiscale mode. | |
| time_t | startTime |
| Solution start time. | |
| EngngModel * | master |
| Master e-model; if defined receiver is in maintained (slave) mode. | |
| EngngModelContext * | context |
| Context. | |
| EngngModelTimer | timer |
| E-model timer. | |
| int | parallelFlag |
| Flag indicating that the receiver runs in parallel. | |
| enum fMode | nonLinFormulation |
| Type of non linear formulation (total or updated formulation). | |
| std::unique_ptr< ErrorEstimator > | defaultErrEstimator |
| Error estimator. Useful for adaptivity, or simply printing errors output. | |
| std::unique_ptr< TimeStepController > | timeStepController |
| Time Step controller is responsible for collecting data from analysis, elements, and materials, and select the appropriate timestep size for the next step, or reduce the step in case of convergence problems. | |
| int | rank |
| Domain rank in a group of collaborating processes (0..groupSize-1). | |
| int | numProcs |
| Total number of collaborating processes. | |
| int | nonlocalExt |
| Flag indicating if nonlocal extension active, which will cause data to be sent between shared elements before computing the internal forces. | |
| char | processor_name [PROCESSOR_NAME_LENGTH] |
| Processor name. | |
| MPI_Comm | comm |
| Communication object for this engineering model. | |
Load balancing attributes | |
| enum | { InternalForcesExchangeTag , MassExchangeTag , LoadExchangeTag , ReactionExchangeTag , RemoteElementExchangeTag } |
| Message tags. More... | |
| std::unique_ptr< LoadBalancer > | lb |
| Load Balancer. | |
| std::unique_ptr< LoadBalancerMonitor > | lbm |
| bool | loadBalancingFlag |
| If set to true, load balancing is active. | |
| bool | force_load_rebalance_in_first_step |
| Debug flag forcing load balancing after first step. | |
| CommunicatorBuff * | commBuff |
| Common Communicator buffer. | |
| ProblemCommunicator * | communicator |
| Communicator. | |
| ProblemCommunicator * | nonlocCommunicator |
| NonLocal Communicator. Necessary when nonlocal constitutive models are used. | |
| std ::vector< ParallelContext > | parallelContextList |
| List where parallel contexts are stored. | |
| bool | suppressOutput |
| Flag for suppressing output to file. | |
| std::string | simulationDescription |
| EngngModel (int i, EngngModel *_master=NULL) | |
| virtual | ~EngngModel () |
| Destructor. | |
| EngngModel (const EngngModel &)=delete | |
| EngngModel & | operator= (const EngngModel &)=delete |
| Domain * | giveDomain (int n) |
| void | setDomain (int i, Domain *ptr, bool iDeallocateOld=true) |
| int | giveNumberOfDomains () |
| Returns number of domains in problem. | |
| const std::string & | giveDescription () const |
| const time_t & | giveStartTime () |
| bool | giveSuppressOutput () const |
| virtual ErrorEstimator * | giveDomainErrorEstimator (int n) |
| virtual MaterialInterface * | giveMaterialInterface (int n) |
| void | setNumberOfEquations (int id, int neq) |
| FILE * | giveOutputStream () |
| Returns file descriptor of output file. | |
| std::string | giveOutputBaseFileName () |
| std::string | giveReferenceFileName () |
| void | letOutputBaseFileNameBe (const std ::string &src) |
| ContextOutputMode | giveContextOutputMode () const |
| int | giveContextOutputStep () const |
| void | setContextOutputMode (ContextOutputMode contextMode) |
| void | setUDContextOutputMode (int cStep) |
| double | giveDeltaT () |
| Returns time step size from the time step controlelr. | |
| void | setDeltaT (double dT) |
| Returns time step size through the time step controlelr. | |
| void | setProblemMode (problemMode pmode) |
| void | setParallelMode (bool newParallelFlag) |
| problemMode | giveProblemMode () const |
| Returns domain mode. | |
| void | setProblemScale (problemScale pscale) |
| problemScale | giveProblemScale () const |
| Returns scale in multiscale simulation. | |
| virtual void | setRenumberFlag () |
| Sets the renumber flag to true. | |
| virtual void | resetRenumberFlag () |
| Sets the renumber flag to false. | |
| double | giveSolutionStepTime () |
| void | giveAnalysisTime (int &rhrs, int &rmin, int &rsec, int &uhrs, int &umin, int &usec) |
| void | terminateAnalysis () |
| virtual void | solveYourself () |
| virtual void | restartYourself (TimeStep *tS) |
| virtual void | solveYourselfAt (TimeStep *tStep) |
| virtual void | terminate (TimeStep *tStep) |
| virtual void | doStepOutput (TimeStep *tStep) |
| void | saveStepContext (TimeStep *tStep, ContextMode mode) |
| virtual void | updateYourself (TimeStep *tStep) |
| virtual void | initializeYourself (TimeStep *tStep) |
| virtual int | initializeAdaptive (int tStepNumber) |
| virtual int | giveNumberOfDomainEquations (int di, const UnknownNumberingScheme &num) |
| virtual double | giveUnknownComponent (ValueModeType, TimeStep *, Domain *, Dof *) |
| virtual FieldPtr | giveField (FieldType key, TimeStep *) |
| virtual FieldPtr | giveField (InternalStateType key, TimeStep *) |
| EngngModel * | giveMasterEngngModel () |
| Returns the master engnmodel. | |
| virtual double | giveLoadLevel () |
| Returns the current load level. | |
| virtual double | giveEigenValue (int eigNum) |
| Only relevant for eigen value analysis. Otherwise returns zero. | |
| virtual void | setActiveVector (int i) |
| Only relevant for eigen value analysis. Otherwise does noting. | |
| int | updateSharedDofManagers (FloatArray &answer, const UnknownNumberingScheme &s, int ExchangeTag) |
| int | exchangeRemoteElementData (int ExchangeTag) |
| virtual int | giveCurrentNumberOfIterations () |
| MPI_Comm | giveParallelComm () |
| Returns the communication object of reciever. | |
| int | packRemoteElementData (ProcessCommunicator &processComm) |
| int | unpackRemoteElementData (ProcessCommunicator &processComm) |
| int | packDofManagers (ArrayWithNumbering *src, ProcessCommunicator &processComm) |
| int | unpackDofManagers (ArrayWithNumbering *dest, ProcessCommunicator &processComm) |
| ProblemCommunicator * | giveProblemCommunicator (EngngModelCommType t) |
| void | initializeCommMaps (bool forceInit=false) |
| virtual int | instanciateYourself (DataReader &dr, InputRecord &ir, const char *outFileName, const char *desc) |
| void | Instanciate_init () |
| virtual void | initializeFrom (InputRecord &ir) |
| int | instanciateDomains (DataReader &dr) |
| Instanciate problem domains by calling their instanciateYourself() service. | |
| int | instanciateMetaSteps (DataReader &dr) |
| Instanciate problem meta steps by calling their instanciateYourself() service. | |
| virtual int | instanciateDefaultMetaStep (InputRecord &ir) |
| Instanciate default metastep, if nmsteps is zero. | |
| virtual void | updateAttributes (MetaStep *mStep) |
| void | initMetaStepAttributes (MetaStep *mStep) |
| virtual void | saveContext (DataStream &stream, ContextMode mode) |
| virtual void | restoreContext (DataStream &stream, ContextMode mode) |
| virtual void | updateDomainLinks () |
| MetaStep * | giveCurrentMetaStep () |
| Returns current meta step. | |
| virtual TimeStep * | giveCurrentStep (bool force=false) |
| virtual void | adaptTimeStep (double nIter) |
| virtual TimeStep * | givePreviousStep (bool force=false) |
| virtual TimeStep * | giveNextStep () |
| Returns next time step (next to current step) of receiver. | |
| virtual void | preInitializeNextStep () |
| Does a pre-initialization of the next time step (implement if necessarry). | |
| virtual TimeStep * | giveSolutionStepWhenIcApply (bool force=false) |
| virtual int | giveNumberOfFirstStep (bool force=false) |
| int | giveNumberOfMetaSteps () |
| Return number of meta steps. | |
| MetaStep * | giveMetaStep (int i) |
| Returns the i-th meta step. | |
| int | giveNumberOfSteps (bool force=false) |
| virtual double | giveEndOfTimeOfInterest () |
| Returns end of time interest (time corresponding to end of time integration). | |
| int | giveNumberOfTimeStepWhenIcApply () |
| Returns the time step number, when initial conditions should apply. | |
| virtual NumericalMethod * | giveNumericalMethod (MetaStep *mStep) |
| Returns reference to receiver's numerical method. | |
| ExportModuleManager * | giveExportModuleManager () |
| Returns receiver's export module manager. | |
| EngngModelTimer * | giveTimer () |
| Returns reference to receiver timer (EngngModelTimer). | |
| virtual double | giveInitialTime () |
| return time at the begining of analysis | |
| virtual double | giveFinalTime () |
| virtual int | giveNewEquationNumber (int domain, DofIDItem) |
| virtual int | giveNewPrescribedEquationNumber (int domain, DofIDItem) |
| std::string | giveContextFileName (int tStepNumber, int stepVersion) const |
| std::string | giveDomainFileName (int domainNum, int domainSerNum) const |
| virtual void | updateComponent (TimeStep *tStep, NumericalCmpn cmpn, Domain *d) |
| virtual void | initForNewIteration (Domain *d, TimeStep *tStep, int iterationNumber, const FloatArray &solution) |
| virtual void | updateSolution (FloatArray &solutionVector, TimeStep *tStep, Domain *d) |
| virtual void | updateInternalRHS (FloatArray &answer, TimeStep *tStep, Domain *d, FloatArray *eNorm) |
| virtual void | updateMatrix (SparseMtrx &mat, TimeStep *tStep, Domain *d) |
| virtual void | initStepIncrements () |
| virtual int | forceEquationNumbering (int i) |
| virtual int | forceEquationNumbering () |
| virtual int | requiresUnknownsDictionaryUpdate () |
| virtual bool | requiresEquationRenumbering (TimeStep *tStep) |
| virtual void | updateDofUnknownsDictionary (DofManager *, TimeStep *) |
| virtual int | giveUnknownDictHashIndx (ValueModeType mode, TimeStep *tStep) |
| virtual bool | newDofHandling () |
| virtual ParallelContext * | giveParallelContext (int n) |
| virtual void | initParallelContexts () |
| virtual void | assemble (SparseMtrx &answer, TimeStep *tStep, const MatrixAssembler &ma, const UnknownNumberingScheme &s, Domain *domain) |
| virtual void | assemble (SparseMtrx &answer, TimeStep *tStep, const MatrixAssembler &ma, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, Domain *domain) |
| void | assembleVector (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleVectorFromDofManagers (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleVectorFromElements (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleVectorFromBC (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL) |
| void | assembleExtrapolatedForces (FloatArray &answer, TimeStep *tStep, CharType type, Domain *domain) |
| void | assemblePrescribedExtrapolatedForces (FloatArray &answer, TimeStep *tStep, CharType type, Domain *domain) |
| virtual int | checkConsistency () |
| virtual int | checkProblemConsistency () |
| virtual void | init () |
| virtual void | postInitialize () |
| virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
| virtual void | printOutputAt (FILE *file, TimeStep *tStep, const IntArray &nodeSets, const IntArray &elementSets) |
| void | outputNodes (FILE *file, Domain &domain, TimeStep *tStep, int setNum) |
| void | outputElements (FILE *file, Domain &domain, TimeStep *tStep, int setNum) |
| void | printYourself () |
| Prints state of receiver. Useful for debugging. | |
| virtual void | printDofOutputAt (FILE *stream, Dof *iDof, TimeStep *tStep) |
| virtual const char * | giveClassName () const =0 |
| Returns class name of the receiver. | |
| virtual int | useNonlocalStiffnessOption () |
| Returns nonzero if nonlocal stiffness option activated. | |
| bool | isParallel () const |
| Returns true if receiver in parallel mode. | |
| int | giveRank () const |
| Returns domain rank in a group of collaborating processes (0..groupSize-1). | |
| int | giveNumberOfProcesses () const |
| Returns the number of collaborating processes. | |
| virtual fMode | giveFormulation () |
| EngngModelContext * | giveContext () |
| Context requesting service. | |
| virtual int | giveNumberOfSlaveProblems () |
| Returns number of slave problems. | |
| virtual EngngModel * | giveSlaveProblem (int i) |
| Returns i-th slave problem. | |
| virtual bool | giveEquationScalingFlag () |
| Returns the Equation scaling flag, which is used to indicate that governing equation(s) are scaled, or non-dimensionalized. | |
| virtual double | giveVariableScale (VarScaleType varId) |
| Returns the scale factor for given variable type. | |
| virtual int | estimateMaxPackSize (IntArray &commMap, DataStream &buff, int packUnpackType) |
| virtual void | balanceLoad (TimeStep *tStep) |
| virtual LoadBalancer * | giveLoadBalancer () |
| virtual LoadBalancerMonitor * | giveLoadBalancerMonitor () |
| void | initParallel () |
| Request domain rank and problem size. | |
| EngngModel * | giveEngngModel () |
| Returns reference to itself -> required by communicator.h. | |
| virtual bool | isElementActivated (int elemNum) |
| virtual bool | isElementActivated (Element *e) |
| TimeStepController * | giveTimeStepController () |
| Returns the time step controller. | |
| virtual void | drawYourself (oofegGraphicContext &gc) |
| virtual void | drawElements (oofegGraphicContext &gc) |
| virtual void | drawNodes (oofegGraphicContext &gc) |
| virtual void | showSparseMtrxStructure (int type, oofegGraphicContext &gc, TimeStep *tStep) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
| virtual void | packMigratingData (TimeStep *tStep) |
| virtual void | unpackMigratingData (TimeStep *tStep) |
Abstract base class representing the "problem" under consideration. The engineering model describes the problem and type of analysis to be done. It "knows" the type and form of governing equation, knows how to assemble this problem from local element contributions and uses suitable instance of numerical method class to solve problem. It possesses and manages one or more problem domains. Concept of time steps is introduced. For problems discretized in time the introduction of time step is natural. In other cases, time steps can represent for example load increments or different load cases.
The solution steps are grouped together into so called meta steps. The meta step can be thought as an sequence of solution steps, with same set of attributes used to drive behavior of engng model. For each metastep, the engng model typically updates its control attributes according to metastep engng attributes (see initMetaStepAttributes and updateAttributes services) and creates the solution steps accordingly. This allows to switch to different time increment, different solution control, etc. If no metastep is specified, the engng model creates default one for all required solution steps. There are two services, where attributes are updated, the first one, used for those attributes, which do not vary during solution of problem are set in initializeFrom service. The second service is updateAttributes, where the attributes allowed to change (with metastep validity) are updated. If no metastep is introduced, default one is created (with attributes set to engng model init record). Then there is no difference, whether attributes are read in initializeFrom or updateAttributes, but preferred scheme is to read all attributes in initializeFrom and left updateAttributes service empty.
The basic EngngModel tasks are following
|
protected |
Means to choose methods for finding a good initial guess. This is ad-hoc methods, often problem-specific for obtaining a point from which Newton iterations work. Only nonlinear analysis needs to worry about this.
| oofem::EngngModel::EngngModel | ( | int | i, |
| EngngModel * | _master = NULL ) |
Constructor. Creates Engng model with number i.
Definition at line 99 of file engngm.C.
References oofem::_processor, oofem::COM_NoContext, comm, commBuff, communicator, context, contextOutputMode, contextOutputStep, domainNeqs, domainPrescribedNeqs, EngngModel(), equationNumberingCompleted, exportModuleManager, force_load_rebalance_in_first_step, initModuleManager, lb, lbm, loadBalancingFlag, oofem::macroScale, master, monitorManager, ndomains, nMetaSteps, nonLinFormulation, nonlocalExt, nonlocCommunicator, number, numberOfEquations, numberOfPrescribedEquations, numberOfSteps, numProcs, outputStream, parallelFlag, pMode, profileOpt, pScale, rank, referenceFileName, renumberFlag, suppressOutput, timeStepController, and oofem::UNKNOWN.
Referenced by oofem::AdditiveManufacturingProblem::add_element_if_not_exists2(), oofem::AdditiveManufacturingProblem::add_node_if_not_exists2(), oofem::AdditiveManufacturingProblem::add_sm_element_if_not_exists2(), oofem::AdditiveManufacturingProblem::add_sm_node_if_not_exists2(), oofem::AdditiveManufacturingProblem::AdditiveManufacturingProblem(), oofem::DGProblem::DGProblem(), oofem::DummyEngngModel::DummyEngngModel(), oofem::EigenValueDynamic::EigenValueDynamic(), EngngModel(), EngngModel(), oofem::FluidMaterialEvaluator::FluidMaterialEvaluator(), oofem::FluidModel::FluidModel(), oofem::ProblemSequence::giveActiveModel(), oofem::AdditiveManufacturingProblem::giveDeltaT(), oofem::StaggeredProblem::giveDeltaT(), giveEngngModel(), giveMasterEngngModel(), giveSlaveProblem(), oofem::ProblemSequence::giveSlaveProblem(), oofem::MPMProblem::MPMProblem(), operator=(), oofem::PFEM::PFEM(), oofem::AdditiveManufacturingProblem::printYourself(), oofem::StaggeredProblem::printYourself(), oofem::ProblemSequence::ProblemSequence(), oofem::AdditiveManufacturingProblem::solveYourself(), oofem::StaggeredProblem::solveYourself(), oofem::StaggeredProblem::StaggeredProblem(), oofem::StationaryMPMSProblem::StationaryMPMSProblem(), oofem::StationaryTransportProblem::StationaryTransportProblem(), oofem::StructuralEngngModel::StructuralEngngModel(), oofem::StructuralMaterialEvaluator::StructuralMaterialEvaluator(), oofem::TestProblem::TestProblem(), and oofem::TransientTransportProblem::TransientTransportProblem().
|
virtual |
Destructor.
Definition at line 154 of file engngm.C.
References commBuff, communicator, context, master, nonlocCommunicator, and outputStream.
|
delete |
References EngngModel().
|
inlinevirtual |
Adapt time step according to the number of iterations in the previous step
Reimplemented in oofem::StaticStructural.
Definition at line 729 of file engngm.h.
Referenced by solveYourself().
|
virtual |
Assembles characteristic matrix of required type into given sparse matrix.
| answer | assembled matrix |
| tStep | Time step, when answer is assembled. |
| r_s | Determines the equation numbering scheme for the rows. |
| c_s | Determines the equation numbering scheme for the columns. |
| type | Characteristic components of type type are requested from elements and assembled. |
| domain | Source domain. |
Definition at line 1040 of file engngm.C.
References oofem::SparseMtrx::assemble(), oofem::SparseMtrx::assembleBegin(), oofem::SparseMtrx::assembleEnd(), oofem::MatrixAssembler::assembleFromActiveBC(), oofem::Element_remote, oofem::Domain::giveBcs(), oofem::Domain::giveElement(), oofem::Domain::giveNumberOfElements(), oofem::Element::giveParallelMode(), oofem::Element::giveRotationMatrix(), oofem::Element::isActivated(), oofem::FloatMatrix::isNotEmpty(), oofem::MatrixAssembler::locationFromElement(), oofem::MatrixAssembler::matrixFromElement(), OOFEM_ERROR, oofem::FloatMatrix::rotatedWith(), and timer.
|
virtual |
Assembles characteristic matrix of required type into given sparse matrix.
| answer | Assembled matrix. |
| tStep | Time step, when answer is assembled. |
| s | Determines the equation numbering scheme. |
| type | Characteristic components of type type are requested from elements and assembled. |
| domain | Source domain. |
Reimplemented in oofem::NonLinearDynamic, and oofem::NonLinearStatic.
Definition at line 889 of file engngm.C.
References oofem::SparseMtrx::assemble(), oofem::SparseMtrx::assembleBegin(), oofem::SparseMtrx::assembleEnd(), oofem::MatrixAssembler::assembleFromActiveBC(), oofem::FloatMatrix::clear(), oofem::Element_remote, oofem::Domain::giveBcs(), oofem::Set::giveBoundaryList(), oofem::Set::giveEdgeList(), oofem::Domain::giveElement(), oofem::Set::giveElementList(), oofem::Domain::giveNumberOfElements(), oofem::Domain::giveSet(), oofem::FloatMatrix::isNotEmpty(), oofem::MatrixAssembler::locationFromElement(), oofem::MatrixAssembler::locationFromElementNodes(), oofem::MatrixAssembler::matrixFromEdgeLoad(), oofem::MatrixAssembler::matrixFromElement(), oofem::MatrixAssembler::matrixFromLoad(), oofem::MatrixAssembler::matrixFromSurfaceLoad(), OOFEM_ERROR, oofem::FloatMatrix::rotatedWith(), and timer.
Referenced by oofem::PrescribedDispSlipBCDirichletRC::computeTangent(), oofem::PrescribedGenStrainShell7::computeTangent(), oofem::PrescribedGradient::computeTangent(), oofem::PrescribedGradientBCNeumann::computeTangent(), oofem::PrescribedGradientBCPeriodic::computeTangent(), oofem::PrescribedGradientBCWeak::computeTangent(), oofem::TransportGradientDirichlet::computeTangent(), oofem::TransportGradientNeumann::computeTangent(), oofem::TransportGradientPeriodic::computeTangent(), oofem::MixedGradientPressureDirichlet::computeTangents(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::MixedGradientPressureWeakPeriodic::computeTangents(), and oofem::MicroMaterial::giveMacroStiffnessMatrix().
| void oofem::EngngModel::assembleExtrapolatedForces | ( | FloatArray & | answer, |
| TimeStep * | tStep, | ||
| CharType | type, | ||
| Domain * | domain ) |
Assembles the extrapolated internal forces vector, useful for obtaining a good initial guess in nonlinear analysis with Dirichlet boundary conditions.
| answer | Assembled vector. |
| tStep | Time step, when answer is assembled. |
| type | Determines the type of matrix to use, typically the tangent matrix or possibly the elastic tangent. |
| domain | Domain to assemble from. |
Definition at line 1536 of file engngm.C.
References oofem::FloatArray::assemble(), oofem::FloatArray::beProductOf(), oofem::Element::computeVectorOf(), oofem::Element_remote, oofem::Element::giveCharacteristicMatrix(), oofem::Domain::giveElement(), oofem::Element::giveLocationArray(), oofem::Domain::giveNumber(), giveNumberOfDomainEquations(), oofem::Domain::giveNumberOfElements(), oofem::Element::giveParallelMode(), oofem::TimeStep::givePreviousStep(), oofem::Element::giveRotationMatrix(), oofem::Element::isActivated(), oofem::FloatMatrix::isNotEmpty(), oofem::TimeStep::isTheFirstStep(), oofem::FloatArray::resize(), oofem::FloatArray::rotatedWith(), oofem::FloatArray::subtract(), timer, and oofem::FloatArray::zero().
Referenced by oofem::StaticStructural::solveYourselfAt().
| void oofem::EngngModel::assemblePrescribedExtrapolatedForces | ( | FloatArray & | answer, |
| TimeStep * | tStep, | ||
| CharType | type, | ||
| Domain * | domain ) |
Definition at line 1614 of file engngm.C.
References oofem::FloatArray::assemble(), oofem::FloatArray::beProductOf(), oofem::Element::computeVectorOfPrescribed(), oofem::Element_remote, oofem::Element::giveCharacteristicMatrix(), oofem::Domain::giveElement(), oofem::Element::giveLocationArray(), oofem::Domain::giveNumber(), giveNumberOfDomainEquations(), oofem::Domain::giveNumberOfElements(), oofem::Element::giveParallelMode(), oofem::Element::giveRotationMatrix(), oofem::Element::isActivated(), oofem::FloatMatrix::isNotEmpty(), oofem::FloatArray::resize(), oofem::FloatArray::rotatedWith(), timer, and oofem::FloatArray::zero().
Referenced by oofem::NonLinearStatic::proceedStep().
| void oofem::EngngModel::assembleVector | ( | FloatArray & | answer, |
| TimeStep * | tStep, | ||
| const VectorAssembler & | va, | ||
| ValueModeType | mode, | ||
| const UnknownNumberingScheme & | s, | ||
| Domain * | domain, | ||
| FloatArray * | eNorms = NULL ) |
Assembles characteristic vector of required type from dofManagers, element, and active boundary conditions, into given vector. This routine is simple a convenient call to all three subroutines, since this is most likely what any engineering model will want to do. The return value is used to normalize the residual when checking for convergence in nonlinear problems. For parallel problems, the returned norm is also summed over all processes.
| answer | Assembled vector. |
| mode | Mode of unknown (total, incremental, rate of change). |
| tStep | Time step, when answer is assembled. |
| va | Determines what vector is assembled. |
| s | Determines the equation numbering scheme. |
| domain | Domain to assemble from. |
| eNorms | If non-NULL, squared norms of each internal force will be added to this, split up into dof IDs. |
Definition at line 1106 of file engngm.C.
References assembleVectorFromBC(), assembleVectorFromDofManagers(), assembleVectorFromElements(), comm, oofem::Domain::giveMaxDofID(), oofem::Domain::giveNumber(), giveParallelContext(), isParallel(), oofem::FloatArray::resize(), and oofem::FloatArray::zero().
Referenced by oofem::NonLinearStatic::assembleIncrementalReferenceLoadVectors(), oofem::DIIDynamic::assembleLoadVector(), oofem::StaticStructural::computeExternalLoadReactionContribution(), oofem::StructuralEngngModel::computeExternalLoadReactionContribution(), oofem::PrescribedGenStrainShell7::computeField(), oofem::PrescribedGradient::computeField(), oofem::PrescribedGradientBCPeriodic::computeField(), oofem::TransportGradientDirichlet::computeField(), oofem::TransportGradientPeriodic::computeField(), oofem::MixedGradientPressureDirichlet::computeFields(), oofem::NlDEIDynamic::computeLoadVector(), oofem::StructuralEngngModel::computeReaction(), oofem::PrescribedDispSlipBCDirichletRC::computeReinfStress(), oofem::PrescribedDispSlipBCDirichletRC::computeStress(), oofem::PrescribedDispSlipBCDirichletRC::computeTransferStress(), oofem::TransientTransportProblem::printOutputAt(), oofem::NonLinearDynamic::proceedStep(), oofem::DEIDynamic::solveYourselfAt(), oofem::DGProblem::solveYourselfAt(), oofem::FreeWarping::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::MPMProblem::solveYourselfAt(), oofem::Pdelta::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::StaticStructural::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::MPMProblem::updateComponent(), oofem::StaticStructural::updateComponent(), oofem::StationaryTransportProblem::updateComponent(), oofem::StokesFlow::updateComponent(), oofem::SUPG::updateComponent(), oofem::TransientTransportProblem::updateComponent(), oofem::MPMProblem::updateInternalRHS(), oofem::StaticStructural::updateInternalRHS(), oofem::StationaryTransportProblem::updateInternalRHS(), oofem::StokesFlow::updateInternalRHS(), oofem::StructuralEngngModel::updateInternalRHS(), oofem::SUPG::updateInternalRHS(), and oofem::TransientTransportProblem::updateInternalRHS().
| void oofem::EngngModel::assembleVectorFromBC | ( | FloatArray & | answer, |
| TimeStep * | tStep, | ||
| const VectorAssembler & | va, | ||
| ValueModeType | mode, | ||
| const UnknownNumberingScheme & | s, | ||
| Domain * | domain, | ||
| FloatArray * | eNorms = NULL ) |
Assembles characteristic vector of required type from boundary conditions.
| answer | Assembled vector. |
| tStep | Time step, when answer is assembled. |
| mode | Mode of unknown (total, incremental, rate of change). |
| va | Determines what vector is assembled. |
| s | Determines the equation numbering scheme. |
| domain | Domain to assemble from. |
| eNorms | Norms for each dofid (optional). |
Definition at line 1191 of file engngm.C.
References oofem::FloatArray::assemble(), oofem::VectorAssembler::assembleFromActiveBC(), oofem::FloatArray::assembleSquared(), oofem::IntArray::at(), oofem::FloatArray::clear(), oofem::Element::computeDofTransformationMatrix(), oofem::DofManager::computeM2LTransformation(), oofem::EdgeLoadBGT, oofem::Domain::giveBc(), oofem::GeneralBoundaryCondition::giveBCGeoType(), oofem::Element::giveBoundaryEdgeNodes(), oofem::Set::giveBoundaryList(), oofem::Element::giveBoundarySurfaceNodes(), oofem::GeneralBoundaryCondition::giveDofIDs(), oofem::Domain::giveDofManager(), oofem::Set::giveEdgeList(), oofem::Domain::giveElement(), oofem::Set::giveElementList(), oofem::DofManager::giveLocationArray(), oofem::Set::giveNodeList(), oofem::Domain::giveNumberOfBoundaryConditions(), oofem::Element::giveRotationMatrix(), oofem::Domain::giveSet(), oofem::GeneralBoundaryCondition::giveSetNumber(), oofem::IntArray::giveSize(), oofem::Element::isActivated(), oofem::GeneralBoundaryCondition::isImposed(), oofem::FloatArray::isNotEmpty(), oofem::VectorAssembler::locationFromElement(), oofem::VectorAssembler::locationFromElementNodes(), oofem::FloatArray::rotatedWith(), oofem::SurfaceLoadBGT, timer, oofem::VectorAssembler::vectorFromEdgeLoad(), oofem::VectorAssembler::vectorFromLoad(), oofem::VectorAssembler::vectorFromNodeLoad(), and oofem::VectorAssembler::vectorFromSurfaceLoad().
Referenced by assembleVector().
| void oofem::EngngModel::assembleVectorFromDofManagers | ( | FloatArray & | answer, |
| TimeStep * | tStep, | ||
| const VectorAssembler & | va, | ||
| ValueModeType | mode, | ||
| const UnknownNumberingScheme & | s, | ||
| Domain * | domain, | ||
| FloatArray * | eNorms = NULL ) |
Assembles characteristic vector of required type from dofManagers into given vector.
| answer | Assembled vector. |
| mode | Mode of unknown (total, incremental, rate of change). |
| tStep | Time step, when answer is assembled. |
| va | Determines what vector is assembled. |
| s | Determines the equation numbering scheme. |
| domain | Domain to assemble from. |
| eNorms | Norms for each dofid (optional). |
Definition at line 1136 of file engngm.C.
References oofem::FloatArray::assemble(), oofem::FloatArray::assembleSquared(), oofem::FloatArray::clear(), oofem::DofManager::computeM2LTransformation(), oofem::DofManager_shared, oofem::DofManager::giveCompleteLocationArray(), oofem::DofManager::giveCompleteMasterDofIDArray(), oofem::GeneralBoundaryCondition::giveDofIDs(), oofem::Domain::giveDofManager(), oofem::Domain::giveLoad(), oofem::DofManager::giveLoadArray(), oofem::DofManager::giveLocationArray(), oofem::Domain::giveNumberOfDofManagers(), oofem::DofManager::giveParallelMode(), oofem::DofManager::givePartitionsConnectivitySize(), oofem::IntArray::giveSize(), oofem::FloatArray::isNotEmpty(), oofem::FloatArray::rotatedWith(), timer, oofem::FloatArray::times(), and oofem::VectorAssembler::vectorFromNodeLoad().
Referenced by assembleVector(), oofem::NLTransientTransportProblem::solveYourselfAt(), and oofem::NonStationaryTransportProblem::solveYourselfAt().
| void oofem::EngngModel::assembleVectorFromElements | ( | FloatArray & | answer, |
| TimeStep * | tStep, | ||
| const VectorAssembler & | va, | ||
| ValueModeType | mode, | ||
| const UnknownNumberingScheme & | s, | ||
| Domain * | domain, | ||
| FloatArray * | eNorms = NULL ) |
Assembles characteristic vector of required type from elements into given vector.
| answer | Assembled vector. |
| tStep | Time step, when answer is assembled. |
| mode | Mode of unknown (total, incremental, rate of change). |
| va | Determines what vector is assembled. |
| s | Determines the equation numbering scheme. |
| domain | Domain to assemble from. |
| eNorms | Norms for each dofid (optional). |
Definition at line 1351 of file engngm.C.
References oofem::FloatArray::assemble(), oofem::FloatArray::assembleSquared(), oofem::IntArray::at(), oofem::FloatArray::clear(), oofem::Element::computeDofTransformationMatrix(), oofem::Element_remote, exchangeRemoteElementData(), oofem::Element::giveBodyLoadList(), oofem::Element::giveBoundaryEdgeNodes(), oofem::Element::giveBoundaryLoadList(), oofem::Element::giveBoundarySurfaceNodes(), oofem::Domain::giveElement(), oofem::Domain::giveLoad(), oofem::Domain::giveNumberOfElements(), oofem::Element::giveParallelMode(), oofem::Element::giveRotationMatrix(), oofem::IntArray::giveSize(), oofem::Element::isActivated(), oofem::IntArray::isEmpty(), oofem::FloatArray::isNotEmpty(), isParallel(), oofem::VectorAssembler::locationFromElement(), oofem::VectorAssembler::locationFromElementNodes(), OOFEM_ERROR, RemoteElementExchangeTag, oofem::FloatArray::rotatedWith(), timer, oofem::VectorAssembler::vectorFromEdgeLoad(), oofem::VectorAssembler::vectorFromElement(), oofem::VectorAssembler::vectorFromLoad(), and oofem::VectorAssembler::vectorFromSurfaceLoad().
Referenced by assembleVector(), oofem::CBS::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), and oofem::StaticStructural::solveYourselfAt().
|
virtual |
Recovers the load balance between processors, if needed. Uses load balancer monitor and load balancer instances to decide if rebalancing is needed (monitor) and to repartition the domain (load balancer). Method is responsible for packing all relevant data (the use of dof dictionaries is assumed to store e-model dof related staff, which can later help in renumbering after rebalancing) and to send/receive all data. Then the local update and renumbering is necessary to get consistent data structure.
Definition at line 2238 of file engngm.C.
References oofem::DofManager_local, oofem::DofManager_shared, force_load_rebalance_in_first_step, forceEquationNumbering(), giveDomain(), giveExportModuleManager(), giveLoadBalancer(), giveLoadBalancerMonitor(), giveRank(), oofem::TimeStep::isNotTheLastStep(), oofem::TimeStep::isTheFirstStep(), lb, lbm, OOFEM_LOG_INFO, OOFEM_WARNING, packMigratingData(), timer, and unpackMigratingData().
Referenced by oofem::AdditiveManufacturingProblem::solveYourself(), solveYourself(), oofem::StaggeredProblem::solveYourself(), and oofem::AdaptiveNonLinearStatic::solveYourselfAt().
|
inlinevirtual |
Allows programmer to test some receiver's internal data, before computation begins.
Reimplemented in oofem::CBS, oofem::DGProblem, oofem::FluidMaterialEvaluator, oofem::MPMProblem, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::StructuralEngngModel, oofem::StructuralMaterialEvaluator, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 1091 of file engngm.h.
Referenced by checkProblemConsistency().
|
virtual |
Allows programmer to test problem its internal data, before computation begins.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::ProblemSequence, and oofem::StaggeredProblem.
Definition at line 2047 of file engngm.C.
References checkConsistency(), domainList, OOFEM_LOG_DEBUG, and VERBOSE_PRINTS.
|
virtual |
Prints the ouput of the solution step (using virtual this->printOutputAtservice) to the stream detemined using this->giveOutputStream() method and calls exportModuleManager to do output.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::EigenValueDynamic, oofem::FluidMaterialEvaluator, oofem::LinearStability, oofem::StaggeredProblem, oofem::StokesFlow, and oofem::StructuralMaterialEvaluator.
Definition at line 756 of file engngm.C.
References exportModuleManager, giveOutputStream(), printOutputAt(), and suppressOutput.
Referenced by terminate(), and oofem::NonLinearStatic::terminate().
|
virtual |
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::ProblemSequence, and oofem::StaggeredProblem.
Definition at line 2125 of file engngm.C.
References gc, giveCurrentStep(), giveDomain(), and oofem::Domain::giveElements().
Referenced by drawYourself().
|
virtual |
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::ProblemSequence, and oofem::StaggeredProblem.
Definition at line 2134 of file engngm.C.
References gc, giveCurrentStep(), oofem::Domain::giveDofManagers(), and giveDomain().
Referenced by drawYourself().
|
virtual |
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::ProblemSequence, and oofem::StaggeredProblem.
Definition at line 2113 of file engngm.C.
References drawElements(), drawNodes(), gc, oofem::OGC_essentialBC, oofem::OGC_naturalBC, oofem::OGC_nodeAnnotation, oofem::OGC_nodeGeometry, oofem::OGC_nodeScalarPlot, and oofem::OGC_nodeVectorPlot.
| std::string oofem::EngngModel::errorInfo | ( | const char * | func | ) | const |
Returns string for prepending output (used by error reporting macros).
Definition at line 1926 of file engngm.C.
References giveClassName(), isParallel(), and rank.
|
inlinevirtual |
Determines the space necessary for send/receive buffer. It uses related communication map pattern to determine the maximum size needed.
| commMap | Communication map used to send/receive messages. |
| buff | Communication buffer. |
| packUnpackType | Determines the type of packed quantity, used by receiver to estimate the size of pack/unpack buffer accordingly. |
Reimplemented in oofem::FreeWarping, oofem::LinearStatic, oofem::NlDEIDynamic, oofem::NonLinearDynamic, oofem::NonLinearStatic, and oofem::StaticStructural.
| int oofem::EngngModel::exchangeRemoteElementData | ( | int | ExchangeTag | ) |
Exchanges necessary remote element data with remote partitions. The receiver's nonlocalExt flag must be set. Uses receiver nonlocCommunicator to perform the task using packRemoteElementData and unpackRemoteElementData receiver's services.
| ExchangeTag | Exchange tag used by communicator. |
Definition at line 2200 of file engngm.C.
References giveRank(), isParallel(), nonlocalExt, nonlocCommunicator, OOFEM_ERROR, and VERBOSEPARALLEL_PRINT.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), and assembleVectorFromElements().
|
virtual |
Forces equation renumbering on all domains associated to engng model. All equation numbers in all domains for all dofManagers are invalidated, and new equation numbers are generated starting from 1 on each domain. It will update numberOfEquations variable accordingly. Should be used at startup to force equation numbering and therefore sets numberOfEquations. Must be used if model supports changes of static system to assign new valid equation numbers to dofManagers.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::DGProblem, oofem::FluidModel, oofem::MPMProblem, oofem::StaggeredProblem, oofem::StaticStructural, and oofem::TransientTransportProblem.
Definition at line 534 of file engngm.C.
References domainNeqs, domainPrescribedNeqs, equationNumberingCompleted, forceEquationNumbering(), giveNumberOfDomains(), numberOfEquations, numberOfPrescribedEquations, OOFEM_LOG_DEBUG, and parallelContextList.
Referenced by oofem::StaticStructural::forceEquationNumbering(), oofem::StationaryMPMSProblem::solveYourselfAt(), and oofem::TestProblem::solveYourselfAt().
|
virtual |
Forces equation renumbering on given domain. All equation numbers in all dofManagers are invalidated, and new equation numbers are generated starting from domainNeqs entry corresponding to given domain. It will update numberOfEquations variable accordingly. Should be used at startup to force equation numbering and therefore sets numberOfEquations. Must be used if model supports changes of static system to assign new valid equation numbers to dofManagers.
Reimplemented in oofem::FluidModel, oofem::PFEM, and oofem::StokesFlow.
Definition at line 469 of file engngm.C.
References oofem::SloanGraph::askNewOptimalNumbering(), domainNeqs, domainPrescribedNeqs, oofem::Domain::giveBcs(), giveCurrentStep(), oofem::Domain::giveDofManagers(), giveDomain(), oofem::Domain::giveElements(), oofem::SloanGraph::giveOptimalProfileSize(), oofem::SloanGraph::initialize(), OOFEM_LOG_DEBUG, OOFEM_LOG_INFO, profileOpt, timer, and oofem::SloanGraph::tryParameters().
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), balanceLoad(), forceEquationNumbering(), giveNumberOfDomainEquations(), oofem::XfemSolverInterface::propagateXfemInterfaces(), solveYourself(), and oofem::IncrementalLinearStatic::solveYourselfAt().
| void oofem::EngngModel::giveAnalysisTime | ( | int & | rhrs, |
| int & | rmin, | ||
| int & | rsec, | ||
| int & | uhrs, | ||
| int & | umin, | ||
| int & | usec ) |
Returns the real and user time for the analysis.
Definition at line 2011 of file engngm.C.
References timer.
Referenced by terminateAnalysis().
|
pure virtual |
Returns class name of the receiver.
Implemented in oofem::AdaptiveLinearStatic, oofem::AdaptiveNonLinearStatic, oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DEIDynamic, oofem::DGProblem, oofem::DIIDynamic, oofem::DummyEngngModel, oofem::EigenValueDynamic, oofem::FluidMaterialEvaluator, oofem::FluidStructureProblem, oofem::FreeWarping, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NLTransientTransportProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::Pdelta, oofem::PFEM, oofem::ProblemSequence, oofem::QClinearStatic, oofem::StaggeredProblem, oofem::StaticStructural, oofem::StationaryMPMSProblem, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::StokesFlowVelocityHomogenization, oofem::StructuralMaterialEvaluator, oofem::SUPG, oofem::TestProblem, and oofem::TransientTransportProblem.
Referenced by errorInfo(), and printYourself().
|
inline |
Context requesting service.
Definition at line 1174 of file engngm.h.
Referenced by oofem::LEPlic::doLagrangianPhase(), oofem::DGProblem::giveField(), oofem::TransientTransportProblem::giveField(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::CBS::initializeFrom(), oofem::DGProblem::initializeFrom(), oofem::MPMProblem::initializeFrom(), oofem::StationaryTransportProblem::initializeFrom(), oofem::SUPG::initializeFrom(), oofem::TransientTransportProblem::initializeFrom(), and instanciateYourself().
| std::string oofem::EngngModel::giveContextFileName | ( | int | tStepNumber, |
| int | stepVersion ) const |
Returns the filename for the context file for the given step and version
| tStepNumber | Solution step number to store/restore. |
| stepVersion | Version of step. |
Definition at line 1907 of file engngm.C.
References coreOutputFileName.
Referenced by oofem::HuertaErrorEstimator::estimateError(), oofem::AdaptiveNonLinearStatic::initializeAdaptive(), and saveStepContext().
|
inline |
Returns domain context output mode.
Definition at line 402 of file engngm.h.
References contextOutputMode.
Referenced by saveStepContext().
|
inline |
Returns domain context output step.
Definition at line 406 of file engngm.h.
References contextOutputStep.
| MetaStep * oofem::EngngModel::giveCurrentMetaStep | ( | ) |
Returns current meta step.
Definition at line 1900 of file engngm.C.
References giveCurrentStep(), and giveMetaStep().
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::NonLinearDynamic::proceedStep(), restoreContext(), oofem::MicroMaterial::setMacroProperties(), oofem::EigenValueDynamic::solveYourself(), oofem::LinearStability::solveYourself(), oofem::CBS::solveYourselfAt(), oofem::DGProblem::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::MPMProblem::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::StationaryMPMSProblem::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::CBS::updateDomainLinks(), oofem::DGProblem::updateDomainLinks(), oofem::FreeWarping::updateDomainLinks(), oofem::LinearStatic::updateDomainLinks(), oofem::MPMProblem::updateDomainLinks(), oofem::NonLinearDynamic::updateDomainLinks(), oofem::NonLinearStatic::updateDomainLinks(), oofem::NonStationaryTransportProblem::updateDomainLinks(), oofem::StaticStructural::updateDomainLinks(), oofem::StationaryTransportProblem::updateDomainLinks(), oofem::SUPG::updateDomainLinks(), and oofem::TransientTransportProblem::updateDomainLinks().
|
inlinevirtual |
Returns number of iterations that was required to reach equilibrium - used for adaptive step length in staggered problem
Reimplemented in oofem::NLTransientTransportProblem, and oofem::NonLinearStatic.
Definition at line 579 of file engngm.h.
Referenced by oofem::AdditiveManufacturingProblem::giveDeltaT(), and oofem::StaggeredProblem::giveDeltaT().
|
inlinevirtual |
Returns current time step.
| force | when set to true then current step of receiver is returned instead of master (default) |
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::StaggeredProblem, and oofem::StaticStructural.
Definition at line 717 of file engngm.h.
References currentStep, and master.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::FE2FluidMaterial::computeDeviatoricStress3D(), oofem::NonLinearStatic::computeExternalLoadReactionContribution(), oofem::DIIDynamic::determineConstants(), drawElements(), drawNodes(), oofem::HuertaErrorEstimator::estimateError(), forceEquationNumbering(), oofem::FluidModel::forceEquationNumbering(), oofem::PFEM::forceEquationNumbering(), giveCurrentMetaStep(), oofem::DGProblem::giveField(), oofem::MPMProblem::giveField(), oofem::StationaryTransportProblem::giveField(), oofem::TransientTransportProblem::giveField(), oofem::AdaptiveNonLinearStatic::giveUnknownComponent(), oofem::DEIDynamic::giveUnknownComponent(), oofem::DIIDynamic::giveUnknownComponent(), oofem::FreeWarping::giveUnknownComponent(), oofem::LinearStatic::giveUnknownComponent(), oofem::NlDEIDynamic::giveUnknownComponent(), oofem::NLTransientTransportProblem::giveUnknownComponent(), oofem::NonLinearDynamic::giveUnknownComponent(), oofem::NonLinearStatic::giveUnknownComponent(), oofem::TestProblem::giveUnknownComponent(), oofem::PFEM::giveUnknownDictHashIndx(), oofem::SUPG::giveUnknownDictHashIndx(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), packRemoteElementData(), oofem::Subdivision::packRemoteElements(), oofem::PLMaterialForce::propagateInterface(), saveContext(), saveStepContext(), oofem::EigenValueDynamic::setActiveVector(), oofem::LinearStability::setActiveVector(), oofem::PatchIntegrationRule::SetUpPointsOnTriangle(), oofem::PatchIntegrationRule::SetUpPointsOnWedge(), oofem::HuertaErrorEstimator::setupRefinedProblemEpilog2(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::AdditiveManufacturingProblem::solveYourself(), solveYourself(), oofem::LinearStability::solveYourself(), oofem::StaggeredProblem::solveYourself(), oofem::AdaptiveNonLinearStatic::solveYourselfAt(), oofem::CBS::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), unpackRemoteElementData(), and oofem::XfemStructuralElementInterface::XfemElementInterface_updateIntegrationRule().
|
inline |
|
inline |
Definition at line 367 of file engngm.h.
References simulationDescription.
| Domain * oofem::EngngModel::giveDomain | ( | int | n | ) |
Service for accessing particular problem domain. Generates error if no such domain is defined.
| n | Pointer to n-th domain is returned. |
Definition at line 1936 of file engngm.C.
References domainList, and OOFEM_ERROR.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::AdditiveManufacturingProblem::add_element_if_not_exists2(), oofem::AdditiveManufacturingProblem::add_node_if_not_exists2(), oofem::AdditiveManufacturingProblem::add_sm_element_if_not_exists2(), oofem::AdditiveManufacturingProblem::add_sm_node_if_not_exists2(), oofem::CBS::applyIC(), oofem::DGProblem::applyIC(), oofem::MPMProblem::applyIC(), oofem::NLTransientTransportProblem::applyIC(), oofem::NonStationaryTransportProblem::applyIC(), oofem::PFEM::applyIC(), oofem::SUPG::applyIC(), oofem::TransientTransportProblem::applyIC(), oofem::StokesFlowVelocityHomogenization::applyPressureGradient(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::NonStationaryTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::AdaptiveNonLinearStatic::assembleInitialLoadVector(), balanceLoad(), oofem::CompCol::buildInternalStructure(), oofem::DynCompCol::buildInternalStructure(), oofem::DynCompRow::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::Skyline::buildInternalStructure(), oofem::SkylineUnsym::buildInternalStructure(), oofem::SymCompCol::buildInternalStructure(), oofem::StructuralEngngModel::buildReactionTable(), oofem::CBS::checkConsistency(), oofem::FluidMaterialEvaluator::checkConsistency(), oofem::NonStationaryTransportProblem::checkConsistency(), oofem::PFEM::checkConsistency(), oofem::StationaryTransportProblem::checkConsistency(), oofem::StokesFlow::checkConsistency(), oofem::StructuralEngngModel::checkConsistency(), oofem::StructuralMaterialEvaluator::checkConsistency(), oofem::SUPG::checkConsistency(), oofem::TransientTransportProblem::checkConsistency(), oofem::SolutionbasedShapeFunction::computeBaseFunctionValueAt(), oofem::FreeWarping::computeCenterOfGravity(), oofem::SolutionbasedShapeFunction::computeCorrectionFactors(), oofem::StaticStructural::computeExternalLoadReactionContribution(), oofem::StructuralEngngModel::computeExternalLoadReactionContribution(), oofem::NlDEIDynamic::computeLoadVector(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::StructuralEngngModel::computeReaction(), oofem::FreeWarping::computeResultAtCenterOfGravity(), oofem::StokesFlowVelocityHomogenization::computeSeepage(), oofem::StokesFlowVelocityHomogenization::computeTangent(), oofem::InteractionLoad::computeValueAt(), oofem::DGProblem::constructBoundaryEntities(), oofem::StructuralFE2MaterialStatus::copyStateVariables(), oofem::NonStationaryTransportProblem::copyUnknownsInDictionary(), oofem::QClinearStatic::createInterpolationMeshNodes(), oofem::PFEM::deactivateTooCloseParticles(), oofem::FluidMaterialEvaluator::doStepOutput(), oofem::LinearStability::doStepOutput(), oofem::StokesFlow::doStepOutput(), oofem::StructuralMaterialEvaluator::doStepOutput(), drawElements(), drawNodes(), oofem::FreeWarping::estimateMaxPackSize(), oofem::LinearStatic::estimateMaxPackSize(), oofem::NlDEIDynamic::estimateMaxPackSize(), oofem::NonLinearDynamic::estimateMaxPackSize(), oofem::NonLinearStatic::estimateMaxPackSize(), oofem::StaticStructural::estimateMaxPackSize(), oofem::SUPG::evaluateElementStabilizationCoeffs(), forceEquationNumbering(), oofem::FluidModel::forceEquationNumbering(), oofem::PFEM::forceEquationNumbering(), oofem::QClinearStatic::generateInterpolationMesh(), oofem::StokesFlowVelocityHomogenization::giveAreaOfRVE(), oofem::InteractionPFEMParticle::giveCoupledVelocities(), oofem::DGProblem::giveDeltaT(), oofem::MPMProblem::giveDeltaT(), oofem::TransientTransportProblem::giveDeltaT(), oofem::AdditiveManufacturingProblem::giveDtFunction(), oofem::NonLinearStatic::giveDtFunction(), oofem::NonStationaryTransportProblem::giveDtFunction(), oofem::StaggeredProblem::giveDtFunction(), giveField(), oofem::AdaptiveNonLinearStatic::giveLoadBalancer(), oofem::NonLinearDynamic::giveLoadBalancer(), oofem::NonLinearStatic::giveLoadBalancer(), oofem::CBS::giveNextStep(), oofem::PFEM::giveNextStep(), oofem::SUPG::giveNextStep(), oofem::CBS::giveNumericalMethod(), oofem::DGProblem::giveNumericalMethod(), oofem::DIIDynamic::giveNumericalMethod(), oofem::EigenValueDynamic::giveNumericalMethod(), oofem::FreeWarping::giveNumericalMethod(), oofem::IncrementalLinearStatic::giveNumericalMethod(), oofem::LinearStability::giveNumericalMethod(), oofem::LinearStatic::giveNumericalMethod(), oofem::MPMProblem::giveNumericalMethod(), oofem::NlDEIDynamic::giveNumericalMethod(), oofem::NonLinearDynamic::giveNumericalMethod(), oofem::NonLinearStatic::giveNumericalMethod(), oofem::NonStationaryTransportProblem::giveNumericalMethod(), oofem::PFEM::giveNumericalMethod(), oofem::StationaryMPMSProblem::giveNumericalMethod(), oofem::StationaryTransportProblem::giveNumericalMethod(), oofem::StokesFlow::giveNumericalMethod(), oofem::SUPG::giveNumericalMethod(), oofem::TestProblem::giveNumericalMethod(), oofem::TransientTransportProblem::giveNumericalMethod(), oofem::LinearStability::giveNumericalMethodForLinStaticProblem(), oofem::InteractionPFEMParticle::givePrescribedUnknownVector(), oofem::SolutionbasedShapeFunction::giveValueAtPoint(), oofem::Natural2GlobalOrdering::init(), oofem::Natural2LocalOrdering::init(), oofem::oofegGraphicContext::init(), oofem::AdaptiveNonLinearStatic::initializeAdaptive(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::CBS::initializeFrom(), initializeFrom(), oofem::Integral::initializeFrom(), oofem::SUPG::initializeFrom(), oofem::SolutionbasedShapeFunction::initializeSurfaceData(), oofem::DIIDynamic::initializeYourself(), oofem::NonLinearDynamic::initializeYourself(), oofem::StokesFlowVelocityHomogenization::integrateNMatrix(), oofem::QClinearStatic::loadInterpolationMesh(), operator=(), packDofManagers(), oofem::NonLinearDynamic::packMigratingData(), oofem::NonLinearStatic::packMigratingData(), packRemoteElementData(), oofem::DGProblem::postInitialize(), oofem::QClinearStatic::postInitialize(), oofem::StationaryMPMSProblem::postInitialize(), oofem::TestProblem::postInitialize(), oofem::PFEM::preInitializeNextStep(), oofem::AdaptiveLinearStatic::printOutputAt(), oofem::DGProblem::printOutputAt(), oofem::EigenValueDynamic::printOutputAt(), oofem::FreeWarping::printOutputAt(), oofem::LinearStability::printOutputAt(), oofem::MPMProblem::printOutputAt(), oofem::NlDEIDynamic::printOutputAt(), oofem::NonLinearDynamic::printOutputAt(), oofem::NonLinearStatic::printOutputAt(), oofem::StructuralEngngModel::printOutputAt(), oofem::TransientTransportProblem::printOutputAt(), oofem::StructuralEngngModel::printReactionForces(), oofem::NonLinearDynamic::proceedStep(), oofem::NonLinearStatic::proceedStep(), oofem::XfemSolverInterface::propagateXfemInterfaces(), oofem::DGProblem::requiresEquationRenumbering(), oofem::MPMProblem::requiresEquationRenumbering(), oofem::StaticStructural::requiresEquationRenumbering(), oofem::TransientTransportProblem::requiresEquationRenumbering(), oofem::oofegGraphicContext::setActiveProblem(), oofem::SolutionbasedShapeFunction::setLoads(), oofem::ElementCommunicator::setUpCommunicationMaps(), oofem::FETICommunicator::setUpCommunicationMaps(), oofem::NodeCommunicator::setUpCommunicationMaps(), oofem::NonLinearDynamic::showSparseMtrxStructure(), oofem::NonLinearStatic::showSparseMtrxStructure(), oofem::StructuralEngngModel::showSparseMtrxStructure(), oofem::AdditiveManufacturingProblem::solveYourself(), oofem::EigenValueDynamic::solveYourself(), oofem::FluidMaterialEvaluator::solveYourself(), oofem::StructuralMaterialEvaluator::solveYourself(), oofem::AdaptiveNonLinearStatic::solveYourselfAt(), oofem::CBS::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::DGProblem::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::FluidStructureProblem::solveYourselfAt(), oofem::FreeWarping::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::MPMProblem::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::Pdelta::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::QClinearStatic::solveYourselfAt(), oofem::StaticStructural::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::TestProblem::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::LinearStability::terminateLinStatic(), unpackDofManagers(), oofem::NonLinearDynamic::unpackMigratingData(), oofem::NonLinearStatic::unpackMigratingData(), unpackRemoteElementData(), oofem::NonLinearDynamic::updateComponent(), oofem::StationaryTransportProblem::updateComponent(), oofem::FreeWarping::updateComputedResults(), oofem::SUPG::updateDofUnknownsDictionary_corrector(), oofem::SUPG::updateDofUnknownsDictionary_predictor(), oofem::AdaptiveLinearStatic::updateDomainLinks(), oofem::AdaptiveNonLinearStatic::updateDomainLinks(), oofem::CBS::updateDomainLinks(), oofem::DGProblem::updateDomainLinks(), oofem::FreeWarping::updateDomainLinks(), oofem::LinearStatic::updateDomainLinks(), oofem::MPMProblem::updateDomainLinks(), oofem::NonLinearDynamic::updateDomainLinks(), oofem::NonLinearStatic::updateDomainLinks(), oofem::NonStationaryTransportProblem::updateDomainLinks(), oofem::StaticStructural::updateDomainLinks(), oofem::StationaryTransportProblem::updateDomainLinks(), oofem::TransientTransportProblem::updateDomainLinks(), oofem::SUPG::updateElementsForNewInterfacePosition(), oofem::NonLinearDynamic::updateInternalRHS(), oofem::StationaryTransportProblem::updateInternalRHS(), oofem::StationaryTransportProblem::updateMatrix(), oofem::SUPG::updateSolutionVectors(), oofem::SUPG::updateSolutionVectors_predictor(), oofem::FreeWarping::updateStiffnessMatrix(), and oofem::AdaptiveLinearStatic::updateYourself().
|
inlinevirtual |
Service for accessing ErrorEstimator corresponding to particular domain
Definition at line 372 of file engngm.h.
References defaultErrEstimator.
Referenced by oofem::NonLinearDynamic::unpackMigratingData(), and oofem::NonLinearStatic::unpackMigratingData().
| std::string oofem::EngngModel::giveDomainFileName | ( | int | domainNum, |
| int | domainSerNum ) const |
Returns the filename for the given domain (used by adaptivity and restore)
Definition at line 1917 of file engngm.C.
References coreOutputFileName.
Referenced by oofem::AdaptiveNonLinearStatic::initializeAdaptive().
|
inlinevirtual |
Only relevant for eigen value analysis. Otherwise returns zero.
Reimplemented in oofem::EigenValueDynamic, and oofem::LinearStability.
Definition at line 556 of file engngm.h.
Referenced by oofem::EigenValueErrorCheckingRule::check(), and oofem::EigenValueErrorCheckingRule::getValue().
|
inlinevirtual |
Returns end of time interest (time corresponding to end of time integration).
Reimplemented in oofem::IncrementalLinearStatic, and oofem::StaticStructural.
|
inline |
Returns reference to itself -> required by communicator.h.
Definition at line 1213 of file engngm.h.
References EngngModel().
|
inlinevirtual |
Returns the Equation scaling flag, which is used to indicate that governing equation(s) are scaled, or non-dimensionalized.
Reimplemented in oofem::CBS, and oofem::SUPG.
|
inline |
Returns receiver's export module manager.
Definition at line 791 of file engngm.h.
References exportModuleManager.
Referenced by balanceLoad(), oofem::AdditiveManufacturingProblem::solveYourself(), oofem::StokesFlow::solveYourselfAt(), and updateDomainLinks().
Returns the smart pointer to requested field, Null otherwise. The return value uses shared_ptr, as some registered fields may be owned (and maintained) by emodel, while some may be created on demand and thus reliable reference counting mechanism is essential.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::DGProblem, oofem::MPMProblem, oofem::StaticStructural, oofem::StationaryTransportProblem, and oofem::TransientTransportProblem.
Definition at line 545 of file engngm.h.
Referenced by oofem::SADGBoundaryElement::giveCharacteristicMatrix().
|
virtual |
Definition at line 2106 of file engngm.C.
References giveDomain(), and oofem::NodalRecoveryModel::NRM_ZienkiewiczZhu.
|
inlinevirtual |
Returns final time of the simulation
Reimplemented in oofem::DGProblem, and oofem::MPMProblem.
Definition at line 801 of file engngm.h.
References timeStepController.
|
inlinevirtual |
Indicates type of non linear computation (total or updated formulation). This is used for example on Nodal level to update coordinates if updated formulation is done, or on element level, when non linear contributions are computed.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DEIDynamic, oofem::DGProblem, oofem::DIIDynamic, oofem::FluidStructureProblem, oofem::FreeWarping, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NLTransientTransportProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::QClinearStatic, oofem::StaggeredProblem, oofem::StationaryMPMSProblem, oofem::StationaryTransportProblem, oofem::SUPG, oofem::TestProblem, and oofem::TransientTransportProblem.
Definition at line 1165 of file engngm.h.
References nonLinFormulation.
Referenced by oofem::GradientDamageElement::computeStiffnessMatrix_du(), oofem::GradDpElement::computeStiffnessMatrix_ku(), oofem::GradientDamageElement::computeStiffnessMatrix_ud(), oofem::GradDpElement::computeStiffnessMatrix_uk(), oofem::GradDpElement::computeStiffnessMatrix_uu(), oofem::GradientDamageElement::computeStiffnessMatrix_uu(), oofem::GradientDamageElement::computeStressVector_and_localDamageDrivingVariable(), oofem::GradDpElement::computeStressVectorAndLocalCumulatedStrain(), oofem::GradientDamageElement::giveInternalForcesVector_u(), and oofem::GradDpElement::giveLocalInternalForcesVector().
|
inlinevirtual |
return time at the begining of analysis
Reimplemented in oofem::AdaptiveNonLinearStatic, oofem::NlDEIDynamic, and oofem::NonLinearStatic.
Definition at line 797 of file engngm.h.
Referenced by solveYourself().
|
inlinevirtual |
Returns reference to receiver's load balancer.
Reimplemented in oofem::AdaptiveNonLinearStatic, oofem::NonLinearDynamic, and oofem::NonLinearStatic.
Definition at line 1206 of file engngm.h.
Referenced by balanceLoad(), and updateAttributes().
|
inlinevirtual |
Returns reference to receiver's load balancer monitor.
Reimplemented in oofem::AdaptiveNonLinearStatic, oofem::NonLinearDynamic, and oofem::NonLinearStatic.
Definition at line 1208 of file engngm.h.
Referenced by balanceLoad(), and updateAttributes().
|
inlinevirtual |
Returns the current load level.
Reimplemented in oofem::NonLinearStatic, and oofem::StaticStructural.
Definition at line 553 of file engngm.h.
Referenced by oofem::LoadLevelErrorCheckingRule::check(), oofem::MatlabExportModule::doOutputReactionForces(), and oofem::LoadLevelErrorCheckingRule::getValue().
|
inline |
|
inlinevirtual |
Returns material interface representation for given domain
Reimplemented in oofem::SUPG.
|
inline |
Returns the i-th meta step.
Definition at line 773 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::assembleInitialLoadVector(), giveCurrentMetaStep(), oofem::NonLinearDynamic::giveNextStep(), oofem::NonLinearStatic::proceedStep(), restoreContext(), saveContext(), oofem::MicroMaterial::setMacroProperties(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::AdditiveManufacturingProblem::solveYourself(), oofem::EigenValueDynamic::solveYourself(), solveYourself(), oofem::StaggeredProblem::solveYourself(), oofem::FreeWarping::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::Pdelta::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::NonLinearStatic::updateAttributes(), oofem::StaticStructural::updateAttributes(), oofem::NonLinearStatic::updateComponent(), oofem::NonLinearStatic::updateLoadVectors(), and oofem::NonLinearStatic::updateMatrix().
|
inlinevirtual |
Increases number of equations of receiver's domain and returns newly created equation number. Used mainly by DofManagers to allocate their corresponding equation number if it is not currently allocated. The DofIDItem parameter allows to distinguish between several possible governing equations, that can be numbered separately.
Reimplemented in oofem::CBS, and oofem::PFEM.
Definition at line 813 of file engngm.h.
References domainNeqs.
Referenced by oofem::ActiveDof::askNewEquationNumber(), and oofem::MasterDof::askNewEquationNumber().
|
inlinevirtual |
Increases number of prescribed equations of receiver's domain and returns newly created equation number. Used mainly by DofManagers to allocate their corresponding equation number if it is not currently allocated. The DofIDItem parameter allows to distinguish between several possible governing equations, that can be numbered separately.
Reimplemented in oofem::CBS, and oofem::PFEM.
Definition at line 821 of file engngm.h.
References domainPrescribedNeqs.
Referenced by oofem::ActiveDof::askNewEquationNumber(), and oofem::MasterDof::askNewEquationNumber().
|
inlinevirtual |
Returns next time step (next to current step) of receiver.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DEIDynamic, oofem::DGProblem, oofem::DIIDynamic, oofem::DummyEngngModel, oofem::EigenValueDynamic, oofem::FluidMaterialEvaluator, oofem::FreeWarping, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NLTransientTransportProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::StaggeredProblem, oofem::StationaryMPMSProblem, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::StructuralMaterialEvaluator, oofem::SUPG, oofem::TestProblem, and oofem::TransientTransportProblem.
Definition at line 747 of file engngm.h.
Referenced by oofem::MicroMaterial::setMacroProperties(), oofem::AdditiveManufacturingProblem::solveYourself(), solveYourself(), and oofem::StaggeredProblem::solveYourself().
|
virtual |
Returns number of equations for given domain in active (current time step) time step. The numbering scheme determines which system the result is requested for.
Reimplemented in oofem::CBS, and oofem::PFEM.
Definition at line 452 of file engngm.C.
References domainNeqs, domainPrescribedNeqs, equationNumberingCompleted, forceEquationNumbering(), and oofem::UnknownNumberingScheme::isDefault().
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::NonStationaryTransportProblem::applyIC(), oofem::SUPG::applyIC(), oofem::DIIDynamic::assembleDirichletBcRhsVector(), assembleExtrapolatedForces(), oofem::NonLinearStatic::assembleIncrementalReferenceLoadVectors(), oofem::AdaptiveNonLinearStatic::assembleInitialLoadVector(), oofem::DIIDynamic::assembleLoadVector(), assemblePrescribedExtrapolatedForces(), oofem::CompCol::buildInternalStructure(), oofem::DynCompCol::buildInternalStructure(), oofem::DynCompRow::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::Skyline::buildInternalStructure(), oofem::SkylineUnsym::buildInternalStructure(), oofem::SpoolesSparseMtrx::buildInternalStructure(), oofem::SymCompCol::buildInternalStructure(), oofem::StructuralEngngModel::buildReactionTable(), oofem::StaticStructural::computeExternalLoadReactionContribution(), oofem::StructuralEngngModel::computeExternalLoadReactionContribution(), oofem::PrescribedGenStrainShell7::computeField(), oofem::PrescribedGradient::computeField(), oofem::TransportGradientDirichlet::computeField(), oofem::MixedGradientPressureDirichlet::computeFields(), oofem::NlDEIDynamic::computeLoadVector(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::StructuralEngngModel::computeReaction(), oofem::PrescribedDispSlipBCDirichletRC::computeStress(), oofem::StokesFlowVelocityHomogenization::computeTangent(), oofem::Natural2GlobalOrdering::init(), oofem::Natural2LocalOrdering::init(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::DIIDynamic::initializeYourself(), oofem::NonLinearDynamic::initializeYourself(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::LSPrimaryVariableMapper::mapPrimaryVariables(), oofem::TransientTransportProblem::printOutputAt(), oofem::NonLinearDynamic::proceedStep(), oofem::NonLinearStatic::proceedStep(), solveYourself(), oofem::FreeWarping::solveYourself(), oofem::LinearStatic::solveYourself(), oofem::NlDEIDynamic::solveYourself(), oofem::NonLinearDynamic::solveYourself(), oofem::NonLinearStatic::solveYourself(), oofem::StaticStructural::solveYourself(), oofem::DEIDynamic::solveYourselfAt(), oofem::DGProblem::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::FreeWarping::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::MPMProblem::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::Pdelta::solveYourselfAt(), oofem::StaticStructural::solveYourselfAt(), oofem::StationaryMPMSProblem::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::TestProblem::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::DIIDynamic::timesMtrx(), oofem::NonLinearDynamic::timesMtrx(), oofem::NonLinearDynamic::unpackMigratingData(), oofem::NonLinearStatic::unpackMigratingData(), and oofem::StructuralEngngModel::updateInternalRHS().
|
inline |
Returns number of domains in problem.
Definition at line 365 of file engngm.h.
References domainList.
Referenced by forceEquationNumbering(), oofem::oofegGraphicContext::init(), initParallelContexts(), and oofem::oofegGraphicContext::setActiveProblem().
|
inlinevirtual |
Returns number of first time step used by receiver.
| force | when set to true then receiver reply is returned instead of master (default) |
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::DEIDynamic, oofem::NlDEIDynamic, and oofem::StaggeredProblem.
Definition at line 763 of file engngm.h.
References master.
Referenced by oofem::DIIDynamic::giveNextStep(), oofem::EigenValueDynamic::giveNextStep(), oofem::FreeWarping::giveNextStep(), oofem::LinearStability::giveNextStep(), oofem::NonLinearDynamic::giveNextStep(), oofem::NonLinearStatic::giveNextStep(), oofem::NonStationaryTransportProblem::giveNextStep(), oofem::PFEM::giveNextStep(), oofem::StationaryMPMSProblem::giveNextStep(), oofem::StationaryTransportProblem::giveNextStep(), oofem::NonStationaryTransportProblem::giveSolutionStepWhenIcApply(), oofem::AdaptiveNonLinearStatic::giveTimeStepLoadLevel(), oofem::DGProblem::postInitialize(), and oofem::PFEM::solveYourselfAt().
|
inline |
Return number of meta steps.
Definition at line 771 of file engngm.h.
Referenced by oofem::AdditiveManufacturingProblem::solveYourself(), and oofem::StaggeredProblem::solveYourself().
|
inline |
Returns the number of collaborating processes.
Definition at line 1156 of file engngm.h.
References numProcs.
Referenced by oofem::Natural2GlobalOrdering::init(), oofem::NonlocalMaterialWTP::init(), oofem::NodalAveragingRecoveryModel::initCommMaps(), oofem::SPRNodalRecoveryModel::initCommMaps(), oofem::ZZNodalRecoveryModel::initCommMaps(), oofem::DirectErrorIndicatorRC::initializeFrom(), oofem::FreeWarping::initializeFrom(), oofem::LinearStatic::initializeFrom(), oofem::NlDEIDynamic::initializeFrom(), oofem::NonLinearDynamic::initializeFrom(), oofem::NonLinearStatic::initializeFrom(), oofem::QClinearStatic::initializeFrom(), oofem::StaticStructural::initializeFrom(), oofem::NonlocalMaterialWTP::migrate(), and oofem::LoadBalancer::migrateLoad().
|
inlinevirtual |
Returns number of slave problems.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::FluidStructureProblem, oofem::ProblemSequence, and oofem::StaggeredProblem.
|
inline |
Returns total number of steps.
| force | when set to true then receiver reply is returned instead of master (default) |
Definition at line 777 of file engngm.h.
References master, and timeStepController.
Referenced by oofem::StaticStructural::giveEndOfTimeOfInterest(), oofem::AdaptiveNonLinearStatic::giveTimeStepLoadLevel(), printYourself(), and oofem::AdaptiveNonLinearStatic::updateYourself().
|
inline |
Returns the time step number, when initial conditions should apply.
Definition at line 787 of file engngm.h.
Referenced by oofem::DummyEngngModel::giveNextStep(), oofem::FluidMaterialEvaluator::giveNextStep(), oofem::IncrementalLinearStatic::giveNextStep(), oofem::LinearStatic::giveNextStep(), oofem::StokesFlow::giveNextStep(), oofem::StructuralMaterialEvaluator::giveNextStep(), oofem::TestProblem::giveNextStep(), oofem::AdditiveManufacturingProblem::giveSolutionStepWhenIcApply(), oofem::CBS::giveSolutionStepWhenIcApply(), oofem::DGProblem::giveSolutionStepWhenIcApply(), oofem::MPMProblem::giveSolutionStepWhenIcApply(), oofem::NonLinearStatic::giveSolutionStepWhenIcApply(), oofem::NonStationaryTransportProblem::giveSolutionStepWhenIcApply(), oofem::PFEM::giveSolutionStepWhenIcApply(), oofem::StaggeredProblem::giveSolutionStepWhenIcApply(), oofem::SUPG::giveSolutionStepWhenIcApply(), oofem::TransientTransportProblem::giveSolutionStepWhenIcApply(), oofem::DIIDynamic::initializeYourself(), and oofem::NonLinearDynamic::initializeYourself().
|
inlinevirtual |
Returns reference to receiver's numerical method.
Reimplemented in oofem::CBS, oofem::DEIDynamic, oofem::DGProblem, oofem::DIIDynamic, oofem::EigenValueDynamic, oofem::FreeWarping, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::StaticStructural, oofem::StationaryMPMSProblem, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::SUPG, oofem::TestProblem, and oofem::TransientTransportProblem.
Definition at line 789 of file engngm.h.
Referenced by restoreContext(), saveContext(), and updateAttributes().
|
inline |
Returns base output file name to which extensions, like .out .vtu .osf should be added.
Definition at line 386 of file engngm.h.
References dataOutputFileName.
Referenced by oofem::BeamElementErrorCheckingRule::check(), oofem::EigenValueErrorCheckingRule::check(), oofem::ElementErrorCheckingRule::check(), oofem::InternalElementDofManErrorCheckingRule::check(), oofem::LoadLevelErrorCheckingRule::check(), oofem::NodeErrorCheckingRule::check(), oofem::ReactionErrorCheckingRule::check(), oofem::BeamElementErrorCheckingRule::getValue(), oofem::ElementErrorCheckingRule::getValue(), oofem::FluidMaterialEvaluator::solveYourself(), and oofem::StructuralMaterialEvaluator::solveYourself().
| FILE * oofem::EngngModel::giveOutputStream | ( | ) |
Returns file descriptor of output file.
Definition at line 1994 of file engngm.C.
References OOFEM_ERROR, and outputStream.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::EigenValueDynamic::doStepOutput(), doStepOutput(), oofem::LinearStability::doStepOutput(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::AdditiveManufacturingProblem::solveYourself(), solveYourself(), oofem::StaggeredProblem::solveYourself(), terminate(), and terminateAnalysis().
|
inline |
|
virtual |
Returns the parallel context corresponding to given domain (n) and unknown type Default implementation returns i-th context from parallelContextList.
Definition at line 1961 of file engngm.C.
References OOFEM_ERROR, and parallelContextList.
Referenced by assembleVector(), and oofem::PetscSparseMtrx::buildInternalStructure().
|
inlinevirtual |
Returns previous time step.
| force | when set to true then previous step of receiver is returned instead of master (default) |
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::StaggeredProblem, and oofem::StaticStructural.
Definition at line 738 of file engngm.h.
References master, and previousStep.
Referenced by oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::NLTransientTransportProblem::giveUnknownComponent(), oofem::PFEM::giveUnknownDictHashIndx(), oofem::SUPG::giveUnknownDictHashIndx(), and oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom().
|
inline |
Definition at line 625 of file engngm.h.
References communicator, nonlocCommunicator, PC_default, and PC_nonlocal.
Referenced by oofem::Subdivision::packRemoteElements().
|
inline |
Returns domain mode.
Definition at line 440 of file engngm.h.
References pMode.
Referenced by instanciateYourself().
|
inline |
Returns scale in multiscale simulation.
Definition at line 447 of file engngm.h.
References pScale.
Referenced by oofem::StaticStructural::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), and oofem::Tr21Stokes::Tr21Stokes().
|
inline |
Returns domain rank in a group of collaborating processes (0..groupSize-1).
Definition at line 1154 of file engngm.h.
References rank.
Referenced by balanceLoad(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::T3DInterface::createInput(), oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::LoadBalancer::deleteRemoteElements(), oofem::HuertaErrorEstimator::estimateError(), exchangeRemoteElementData(), oofem::Natural2GlobalOrdering::init(), oofem::NonlocalMaterialWTP::init(), oofem::NodalAveragingRecoveryModel::initCommMaps(), oofem::SPRNodalRecoveryModel::initCommMaps(), oofem::ZZNodalRecoveryModel::initCommMaps(), oofem::DirectErrorIndicatorRC::initializeFrom(), oofem::FreeWarping::initializeFrom(), oofem::LinearStatic::initializeFrom(), oofem::NlDEIDynamic::initializeFrom(), oofem::NonLinearDynamic::initializeFrom(), oofem::NonLinearStatic::initializeFrom(), oofem::QClinearStatic::initializeFrom(), oofem::StaticStructural::initializeFrom(), oofem::ParallelOrdering::isLocal(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::LoadBalancer::packMigratingData(), oofem::NonlocalMaterialWTP::packMigratingElementDependencies(), oofem::NonlocalMaterialWTP::packRemoteElements(), oofem::LoadBalancer::printStatistics(), oofem::FreeWarping::solveYourself(), oofem::LinearStatic::solveYourself(), oofem::NlDEIDynamic::solveYourself(), oofem::NonLinearDynamic::solveYourself(), oofem::NonLinearStatic::solveYourself(), oofem::StaticStructural::solveYourself(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::LoadBalancer::unpackMigratingData(), oofem::NonlocalMaterialWTP::unpackMigratingElementDependencies(), oofem::NonlocalMaterialWTP::unpackRemoteElements(), oofem::Subdivision::unpackRemoteElements(), and updateSharedDofManagers().
|
inline |
|
inlinevirtual |
Returns i-th slave problem.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::ProblemSequence, and oofem::StaggeredProblem.
Definition at line 1178 of file engngm.h.
References EngngModel().
| double oofem::EngngModel::giveSolutionStepTime | ( | ) |
Returns the user time of the current simulation step in seconds.
Definition at line 2005 of file engngm.C.
References timer.
Referenced by oofem::EigenValueDynamic::solveYourself(), and solveYourself().
|
inlinevirtual |
Returns the solution step when Initial Conditions (IC) apply.
| force | when set to true then receiver reply is returned instead of master (default) |
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DGProblem, oofem::MPMProblem, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::StaggeredProblem, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 753 of file engngm.h.
References master, and stepWhenIcApply.
|
inline |
|
inline |
Definition at line 369 of file engngm.h.
References suppressOutput.
Referenced by oofem::Domain::Domain().
|
inline |
Returns reference to receiver timer (EngngModelTimer).
Definition at line 793 of file engngm.h.
References timer.
Referenced by oofem::LoadBalancer::printStatistics().
|
inline |
|
inlinevirtual |
Returns requested unknown. Unknown at give time step is characterized by its type and mode and by its equation number. This function is used by Dofs, when they are requested for their associated unknowns.
Reimplemented in oofem::AdaptiveNonLinearStatic, oofem::CBS, oofem::DEIDynamic, oofem::DGProblem, oofem::DIIDynamic, oofem::EigenValueDynamic, oofem::FreeWarping, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NLTransientTransportProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::StaticStructural, oofem::StationaryMPMSProblem, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::SUPG, oofem::TestProblem, and oofem::TransientTransportProblem.
|
inlinevirtual |
This method is responsible for computing unique dictionary id (ie hash value) from given valueModeType and time step. This function is used by particular dofs to access unknown identified by given parameters from its dictionary using computed index. Usually the hash algorithm should produce index that depend on time step relatively to actual one to avoid storage of complete history.
Reimplemented in oofem::CBS, oofem::DGProblem, oofem::EigenValueDynamic, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::MPMProblem, oofem::NLTransientTransportProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::StaticStructural, oofem::SUPG, and oofem::TransientTransportProblem.
|
inlinevirtual |
Returns the scale factor for given variable type.
Reimplemented in oofem::CBS, and oofem::SUPG.
Definition at line 1183 of file engngm.h.
Referenced by oofem::PFEM::giveNextStep().
|
virtual |
Initializes the receiver state. Default implementation calls initModuleManager::doInit service to invoke initialization by individual init modules.
Definition at line 2082 of file engngm.C.
References initModuleManager.
Referenced by oofem::DEIDynamic::solveYourselfAt().
|
virtual |
Definition at line 1728 of file engngm.C.
References oofem::Domain::giveBc(), oofem::Domain::giveNumberOfBoundaryConditions(), oofem::ContactBoundaryCondition::initForNewIteration(), and updateSolution().
Referenced by oofem::StaticStructural::solveYourselfAt().
|
inlinevirtual |
Initializes the newly generated discretization state according to previous solution. This process should typically include restoring old solution, instanciating newly generated domain(s) and by mapping procedure.
Reimplemented in oofem::AdaptiveLinearStatic, oofem::AdaptiveNonLinearStatic, oofem::AdditiveManufacturingProblem, oofem::FluidStructureProblem, and oofem::StaggeredProblem.
| void oofem::EngngModel::initializeCommMaps | ( | bool | forceInit = false | ) |
Definition at line 2147 of file engngm.C.
References communicator, nonlocalExt, nonlocCommunicator, and OOFEM_ERROR.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::FreeWarping::solveYourself(), oofem::LinearStatic::solveYourself(), oofem::NlDEIDynamic::solveYourself(), oofem::NonLinearDynamic::solveYourself(), oofem::NonLinearStatic::solveYourself(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::NonLinearDynamic::unpackMigratingData(), and oofem::NonLinearStatic::unpackMigratingData().
|
virtual |
Initializes receiver according to object description in input reader. InitString can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record.
Reimplemented in oofem::AdaptiveLinearStatic, oofem::AdaptiveNonLinearStatic, oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DEIDynamic, oofem::DGProblem, oofem::DIIDynamic, oofem::DummyEngngModel, oofem::EigenValueDynamic, oofem::FluidMaterialEvaluator, oofem::FluidStructureProblem, oofem::FreeWarping, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NLTransientTransportProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::Pdelta, oofem::PFEM, oofem::ProblemSequence, oofem::QClinearStatic, oofem::StaggeredProblem, oofem::StaticStructural, oofem::StationaryMPMSProblem, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::StructuralMaterialEvaluator, oofem::SUPG, oofem::TestProblem, and oofem::TransientTransportProblem.
Definition at line 292 of file engngm.C.
References _IFT_EngngModel_contextoutputstep, _IFT_EngngModel_eetype, _IFT_EngngModel_forceloadBalancingFlag, _IFT_EngngModel_loadBalancingFlag, _IFT_EngngModel_nmsteps, _IFT_EngngModel_nonLinFormulation, _IFT_EngngModel_nsteps, _IFT_EngngModel_parallelflag, _IFT_EngngModel_profileOpt, _IFT_EngngModel_renumberFlag, _IFT_EngngModel_suppressOutput, oofem::classFactory, oofem::InputRecord::clone(), contextOutputStep, dataOutputFileName, defaultErrEstimator, force_load_rebalance_in_first_step, giveDomain(), oofem::DataReader::giveGroupRecords(), oofem::InputRecord::giveReader(), oofem::InputRecord::hasField(), IR_GIVE_OPTIONAL_FIELD, oofem::DataReader::IR_mstepRec, isParallel(), loadBalancingFlag, nMetaSteps, nonLinFormulation, numberOfSteps, numProcs, OOFEM_ERROR, outputStream, parallelFlag, PRG_HEADER, processor_name, profileOpt, rank, renumberFlag, setUDContextOutputMode(), simulationDescription, oofem::DataReader::GroupRecords::size(), startTime, and suppressOutput.
Referenced by oofem::StationaryMPMSProblem::initializeFrom(), oofem::TestProblem::initializeFrom(), and instanciateYourself().
|
virtual |
Provides the opportunity to initialize state variables stored in element integration points according to initial conditions using function initializeYourself() on element level. Should be called when current time step is time step when IC will apply (see EngngModel::giveNumberOfTimeStepWhenIcApply) somewhere from solveYourselfAt function). Implementation must be provided. Default implementation is empty.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::DIIDynamic, oofem::FluidStructureProblem, oofem::NonLinearDynamic, and oofem::StaggeredProblem.
Definition at line 561 of file engngm.C.
References domainList.
Referenced by solveYourself().
|
inline |
Update e-model attributes attributes according to step metaStep attributes. Calls updateAttributes. At the end the meta step input reader finish() service is called in order to allow for unread attribute check.
Definition at line 677 of file engngm.h.
Referenced by oofem::AdditiveManufacturingProblem::solveYourself(), oofem::StaggeredProblem::solveYourself(), oofem::StokesFlow::solveYourselfAt(), and oofem::SUPG::solveYourselfAt().
| void oofem::EngngModel::initParallel | ( | ) |
Request domain rank and problem size.
Definition at line 2089 of file engngm.C.
References comm, numProcs, OOFEM_ERROR, OOFEM_LOG_RELEVANT, processor_name, and rank.
Referenced by setParallelMode().
|
virtual |
Creates parallel contexts. Must be implemented by derived classes since the governing equation type is required for context creation.
Definition at line 1971 of file engngm.C.
References giveNumberOfDomains(), and parallelContextList.
Referenced by Instanciate_init().
|
virtual |
Initializes solution of new time step. Default implementation resets all internal history variables (in integration points of elements) to previously reached equilibrium values. Can be used for time step restart.
Definition at line 1702 of file engngm.C.
References domainList, and oofem::Element_remote.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::AdaptiveNonLinearStatic::initializeAdaptive(), restoreContext(), and solveYourself().
| void oofem::EngngModel::Instanciate_init | ( | ) |
Initialization of the receiver state (opening the default output stream, empty domain creation, initialization of parallel context, etc) before Initialization form DataReader. Called at the beginning of instanciateYourself.
| dataOutputFileName | Name of default output stream |
Definition at line 184 of file engngm.C.
References domainList, domainNeqs, domainPrescribedNeqs, initParallelContexts(), and ndomains.
Referenced by instanciateYourself().
|
virtual |
Instanciate default metastep, if nmsteps is zero.
Reimplemented in oofem::AdditiveManufacturingProblem, and oofem::ProblemSequence.
Definition at line 405 of file engngm.C.
References metaStepList, nMetaSteps, numberOfSteps, and OOFEM_ERROR.
Referenced by instanciateYourself().
| int oofem::EngngModel::instanciateDomains | ( | DataReader & | dr | ) |
Instanciate problem domains by calling their instanciateYourself() service.
Definition at line 366 of file engngm.C.
References domainList, oofem::DataReader::giveInputRecord(), oofem::DataReader::IR_domainRec, and postInitialize().
Referenced by instanciateYourself().
| int oofem::EngngModel::instanciateMetaSteps | ( | DataReader & | dr | ) |
Instanciate problem meta steps by calling their instanciateYourself() service.
Definition at line 382 of file engngm.C.
References oofem::DataReader::giveGroupRecords(), oofem::DataReader::IR_mstepRec, metaStepList, nMetaSteps, and numberOfSteps.
|
virtual |
Initializes whole problem according to its description stored in inputStream. Prints header, opens the outFileName, instanciate itself the receiver using using virtual initializeFrom service and instanciates all problem domains.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::ProblemSequence, and oofem::StaggeredProblem.
Definition at line 201 of file engngm.C.
References oofem::_postProcessor, coreOutputFileName, dataOutputFileName, exportModuleManager, giveContext(), giveProblemMode(), oofem::DataReader::giveReferenceName(), oofem::DataReader::giveTopInputRecord(), oofem::DataReader::hasFlattenedStructure(), initializeFrom(), initModuleManager, Instanciate_init(), instanciateDefaultMetaStep(), instanciateDomains(), oofem::DataReader::IR_expModuleRec, monitorManager, nMetaSteps, OOFEM_ERROR, OOFEM_LOG_DEBUG, oofem::InputRecord::ptr(), referenceFileName, simulationDescription, startTime, timer, and timeStepController.
|
inlinevirtual |
Reimplemented in oofem::QClinearStatic.
|
inlinevirtual |
Reimplemented in oofem::QClinearStatic.
Definition at line 1214 of file engngm.h.
Referenced by oofem::QuasicontinuumVTKXMLExportModule::initRegionNodeNumbering().
|
inline |
Returns true if receiver in parallel mode.
Definition at line 1152 of file engngm.h.
References parallelFlag.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), assembleVector(), assembleVectorFromElements(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::BeamElementErrorCheckingRule::check(), oofem::ElementErrorCheckingRule::check(), oofem::InternalElementDofManErrorCheckingRule::check(), oofem::NodeErrorCheckingRule::check(), oofem::ReactionErrorCheckingRule::check(), oofem::T3DInterface::createInput(), errorInfo(), exchangeRemoteElementData(), oofem::BeamElementErrorCheckingRule::getValue(), oofem::ElementErrorCheckingRule::getValue(), oofem::InternalElementDofManErrorCheckingRule::getValue(), oofem::NodeErrorCheckingRule::getValue(), oofem::ReactionErrorCheckingRule::getValue(), oofem::DGProblem::giveNumericalMethod(), oofem::FreeWarping::giveNumericalMethod(), oofem::LinearStatic::giveNumericalMethod(), oofem::TestProblem::giveNumericalMethod(), oofem::AdditiveManufacturingProblem::initializeFrom(), initializeFrom(), oofem::FreeWarping::initializeFrom(), oofem::LinearStatic::initializeFrom(), oofem::NonLinearDynamic::initializeFrom(), oofem::NonLinearStatic::initializeFrom(), oofem::QClinearStatic::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), oofem::StaticStructural::initializeFrom(), oofem::FreeWarping::solveYourself(), oofem::LinearStatic::solveYourself(), oofem::NlDEIDynamic::solveYourself(), oofem::NonLinearDynamic::solveYourself(), oofem::NonLinearStatic::solveYourself(), oofem::StaticStructural::solveYourself(), oofem::NonLinearDynamic::solveYourselfAt(), and updateSharedDofManagers().
| void oofem::EngngModel::letOutputBaseFileNameBe | ( | const std ::string & | src | ) |
Sets the base output file name.
| src | New output file name. |
Definition at line 1980 of file engngm.C.
References dataOutputFileName, OOFEM_ERROR, outputStream, and suppressOutput.
|
inlinevirtual |
Temporary method for allowing code to seamlessly convert from the old to new way of handling DOF values. (the new way expects the field to store all values, regardless of if they are computed, from BC, or IC.) This is used by MasterDof
Reimplemented in oofem::CBS, oofem::DGProblem, oofem::EigenValueDynamic, oofem::LinearStability, oofem::MPMProblem, oofem::StaticStructural, oofem::StokesFlow, and oofem::TransientTransportProblem.
|
delete |
References EngngModel(), giveDomain(), and setDomain().
| void oofem::EngngModel::outputElements | ( | FILE * | file, |
| Domain & | domain, | ||
| TimeStep * | tStep, | ||
| int | setNum ) |
Outputs all elements in the given set.
| file | Output stream. |
| domain | Domain. |
| tStep | Time step. |
| setNum | Set number. If zero, outputs all elements. |
Definition at line 852 of file engngm.C.
References oofem::Element_remote, oofem::Domain::giveElement(), oofem::Set::giveElementList(), oofem::Domain::giveElements(), oofem::Domain::giveSet(), and oofem::Element::printOutputAt().
Referenced by printOutputAt().
Outputs all nodes in the given set.
| file | Output stream. |
| domain | Domain. |
| tStep | Time step. |
| setNum | Set number. If zero, outputs all elements. |
Definition at line 825 of file engngm.C.
References oofem::DofManager_null, oofem::Domain::giveDofManager(), oofem::Domain::giveDofManagers(), oofem::Set::giveNodeList(), oofem::Domain::giveSet(), and oofem::DofManager::printOutputAt().
Referenced by printOutputAt().
| int oofem::EngngModel::packDofManagers | ( | ArrayWithNumbering * | src, |
| ProcessCommunicator & | processComm ) |
Packing function for vector values of DofManagers. Packs vector values of shared/remote DofManagers into send communication buffer of given process communicator.
| processComm | Task communicator. |
| src | Source vector + equation numbering. |
Definition at line 2339 of file engngm.C.
References oofem::EngngModel::ArrayWithNumbering::array, oofem::FloatArray::at(), oofem::Domain::giveDofManager(), giveDomain(), oofem::ProcessCommunicator::giveProcessCommunicatorBuff(), oofem::ProcessCommunicator::giveToSendMap(), oofem::EngngModel::ArrayWithNumbering::numbering, and oofem::ProcessCommunicatorBuff::write().
|
inlineprotectedvirtual |
Packs receiver data when rebalancing load. When rebalancing happens, the local numbering will be lost on majority of processors. Instead of identifying values of solution vectors that have to be send/received and then performing renumbering, all solution vectors are assumed to be stored in dof dictionaries before data migration. Then dofs will take care themselves for packing and unpacking. After data migration and local renumbering, the solution vectors will be restored from dof dictionary data back.
Reimplemented in oofem::NonLinearDynamic, and oofem::NonLinearStatic.
Definition at line 1077 of file engngm.h.
Referenced by balanceLoad().
| int oofem::EngngModel::packRemoteElementData | ( | ProcessCommunicator & | processComm | ) |
Packs data of local element to be received by their remote counterpart on remote partitions. Remote elements are introduced when nonlocal constitutive models are used, in order to allow local averaging procedure (remote elements, which are involved in averaging on local partition are mirrored on this local partition) instead of implementing inefficient fine-grain communication. Remote element data are exchanged only if necessary and once for all of them. Current implementation calls packUnknowns service for all elements listed in given process communicator send map.
| processComm | Corresponding process communicator. |
Definition at line 2300 of file engngm.C.
References giveCurrentStep(), giveDomain(), oofem::Domain::giveElement(), oofem::ProcessCommunicator::giveProcessCommunicatorBuff(), oofem::ProcessCommunicatorBuff::giveSendBuff(), oofem::ProcessCommunicator::giveToSendMap(), and oofem::Element::packUnknowns().
|
virtual |
Performs post-initialization for all the problem contents (which is called after initializeFrom). Currently, it calls Domain::postInitialize for all problem domains.
Reimplemented in oofem::DGProblem, oofem::QClinearStatic, oofem::StationaryMPMSProblem, and oofem::TestProblem.
Definition at line 2072 of file engngm.C.
References domainList, and timeStepController.
Referenced by instanciateDomains(), oofem::StationaryMPMSProblem::postInitialize(), and oofem::TestProblem::postInitialize().
|
inlinevirtual |
Does a pre-initialization of the next time step (implement if necessarry).
Reimplemented in oofem::FluidStructureProblem, and oofem::PFEM.
Definition at line 749 of file engngm.h.
Referenced by oofem::AdditiveManufacturingProblem::solveYourself(), solveYourself(), and oofem::StaggeredProblem::solveYourself().
DOF printing routine. Called by DofManagers to print Dof specific part. Dof class provides component printing routines, but emodel is responsible for what will be printed at DOF level.
| stream | output stream |
| iDof | dof to be processed |
| tStep | solution step |
Reimplemented in oofem::CBS, oofem::DEIDynamic, oofem::DIIDynamic, oofem::FluidStructureProblem, oofem::NlDEIDynamic, oofem::NonLinearDynamic, oofem::PFEM, and oofem::SUPG.
Definition at line 884 of file engngm.C.
References oofem::Dof::printSingleOutputAt().
Referenced by oofem::ClonedDofManager::printOutputAt(), oofem::DofManager::printOutputAt(), and oofem::qcNode::printOutputAt().
|
virtual |
Prints output of receiver to output domain stream, for given time step. Corresponding function for element gauss points is invoked (gaussPoint::printOutputAt).
Reimplemented in oofem::AdaptiveLinearStatic, oofem::AdditiveManufacturingProblem, oofem::DGProblem, oofem::EigenValueDynamic, oofem::FreeWarping, oofem::LinearStability, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::StaggeredProblem, oofem::StructuralEngngModel, and oofem::TransientTransportProblem.
Definition at line 781 of file engngm.C.
References domainList, oofem::TimeStep::giveTargetTime(), and oofem::VST_Time.
Referenced by doStepOutput().
|
virtual |
Definition at line 806 of file engngm.C.
References oofem::IntArray::at(), domainList, oofem::IntArray::giveSize(), outputElements(), and outputNodes().
| void oofem::EngngModel::printYourself | ( | ) |
Prints state of receiver. Useful for debugging.
Definition at line 877 of file engngm.C.
References giveClassName(), giveNumberOfSteps(), and numberOfEquations.
|
inlinevirtual |
Returns true if equation renumbering is required for given solution step. This may of course change the number of equation and in general there is no guarantee that for a certain dof the same equation will be assigned. So the use of DOF unknowns dictionaries is generally recommended.
Reimplemented in oofem::DGProblem, oofem::IncrementalLinearStatic, oofem::MPMProblem, oofem::NonStationaryTransportProblem, oofem::StaticStructural, and oofem::TransientTransportProblem.
Definition at line 915 of file engngm.h.
References renumberFlag.
Referenced by oofem::AdditiveManufacturingProblem::solveYourself(), solveYourself(), and oofem::StaggeredProblem::solveYourself().
|
inlinevirtual |
Indicates if EngngModel requires Dofs dictionaries to be updated. If EngngModel does not support changes of static system, the dof forwards the requests for its unknowns to EngngModel, where unknowns are naturally kept. This is possible, because dof equation number is same during whole solution. But when changes of static system are allowed, several problem arise. For example by solving simple incremental static with allowed static changes, the incremental displacement vector of structure can not be added to total displacement vector of structure, because equation numbers may have changed, and one can not simply add these vector to obtain new total displacement vector, because incompatible displacement will be added. To solve this problem, unknown dictionary at dof level has been assumed. Dof then keeps its unknowns in its own private dictionary. After computing increment of solution, engngModel updates for each dof its unknowns in its dictionary (using updateUnknownsDictionary function). For aforementioned example engngModel updates incremental values but also total value by asking dof for previous total value (dof will use its dictionary, does not asks back EngngModel) adds corresponding increment and updates total value in dictionary.
Reimplemented in oofem::DGProblem, oofem::IncrementalLinearStatic, oofem::MPMProblem, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::StaticStructural, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 908 of file engngm.h.
Referenced by oofem::EigenValueDynamic::printOutputAt(), and oofem::StructuralEngngModel::updateInternalState().
|
inlinevirtual |
|
inlinevirtual |
This method is called when the restart of the analysis is perfomed, e.g., du to the convergence problems, and does all the necesary steps for the restart. These steps are handled by the individual engineering models
Reimplemented in oofem::StaticStructural.
Definition at line 477 of file engngm.h.
Referenced by solveYourself().
|
virtual |
Restores the state of model from output stream. Restores not only the receiver state, but also same function is invoked for all DofManagers and Elements in associated domain. Note that by restoring element context also contexts of all associated integration points (and material statuses) are restored. Each context is associated with unique time step. Only one context per time step is allowed. Restore context function will restore such context, which is related (through its step number) to time step number and version given in obj parameter. Restoring context will change current time step in order to correspond to newly restored context.
| stream | Context file. |
| mode | Determines amount of info in stream. |
| ContextIOERR | exception if error encountered. |
Reimplemented in oofem::AdaptiveLinearStatic, oofem::AdaptiveNonLinearStatic, oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DGProblem, oofem::DIIDynamic, oofem::EigenValueDynamic, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::ProblemSequence, oofem::StaggeredProblem, oofem::StaticStructural, oofem::StationaryTransportProblem, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 1814 of file engngm.C.
References oofem::CIO_IOERR, oofem::CIO_OK, currentStep, domainList, domainNeqs, domainPrescribedNeqs, giveCurrentMetaStep(), giveMetaStep(), giveNumericalMethod(), initStepIncrements(), nMetaSteps, numberOfEquations, numberOfPrescribedEquations, previousStep, oofem::DataStream::read(), renumberFlag, oofem::NumericalMethod::restoreContext(), THROW_CIOERR, updateAttributes(), and updateDomainLinks().
Referenced by oofem::HuertaErrorEstimator::estimateError().
|
virtual |
Stores the state of model to output stream. Stores not only the receiver state, but also same function is invoked for all DofManagers and Elements in associated domain. Note that by storing element context also contexts of all associated integration points (and material statuses) are stored.
| stream | Context stream. |
| mode | Determines amount of info in stream. |
| ContextIOERR | If error encountered. |
Reimplemented in oofem::AdaptiveNonLinearStatic, oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DGProblem, oofem::DIIDynamic, oofem::EigenValueDynamic, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::ProblemSequence, oofem::StaggeredProblem, oofem::StaticStructural, oofem::StationaryTransportProblem, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 1755 of file engngm.C.
References oofem::CIO_IOERR, oofem::CIO_OK, domainList, domainNeqs, domainPrescribedNeqs, giveCurrentStep(), giveMetaStep(), giveNumericalMethod(), numberOfEquations, numberOfPrescribedEquations, renumberFlag, oofem::NumericalMethod::saveContext(), THROW_CIOERR, and oofem::DataStream::write().
Referenced by saveStepContext().
| void oofem::EngngModel::saveStepContext | ( | TimeStep * | tStep, |
| ContextMode | mode ) |
Saves context of given solution step, if required (determined using this->giveContextOutputMode() method).
Definition at line 768 of file engngm.C.
References oofem::COM_Always, oofem::COM_Required, oofem::COM_UserDefined, giveContextFileName(), giveContextOutputMode(), giveCurrentStep(), oofem::TimeStep::giveNumber(), and saveContext().
Referenced by terminate(), and oofem::NonLinearStatic::terminate().
|
inlinevirtual |
Only relevant for eigen value analysis. Otherwise does noting.
Reimplemented in oofem::EigenValueDynamic, and oofem::LinearStability.
|
inline |
Sets context output mode of receiver.
| contextMode | domain context mode. |
Definition at line 411 of file engngm.h.
References contextOutputMode.
Referenced by oofem::AdaptiveNonLinearStatic::solveYourselfAt().
|
inline |
| void oofem::EngngModel::setDomain | ( | int | i, |
| Domain * | ptr, | ||
| bool | iDeallocateOld = true ) |
Sets i-th domain of receiver. Given domain is assumed to be owned (and deleted) by receiver. The old domain, if defined, will be deleted.
| i | Domain index. |
| ptr | Pointer to valid domain instance. |
Definition at line 1948 of file engngm.C.
References domainList, and OOFEM_ERROR.
Referenced by operator=().
|
inline |
Definition at line 375 of file engngm.h.
References domainNeqs, and numberOfEquations.
| void oofem::EngngModel::setParallelMode | ( | bool | newParallelFlag | ) |
Sets the problem to run in parallel (or not).
| parallelFlag | Determines parallel mode. |
Definition at line 174 of file engngm.C.
References initParallel(), and parallelFlag.
|
inline |
|
inline |
|
inlinevirtual |
Sets the renumber flag to true.
Reimplemented in oofem::AdditiveManufacturingProblem, and oofem::StaggeredProblem.
|
inline |
Sets user defined context output mode (it sets contextOutputMode to contextOutputMode), setting contextOutputStep to given value.
| cStep | new context output step |
Definition at line 418 of file engngm.h.
References oofem::COM_UserDefined, contextOutputMode, and contextOutputStep.
Referenced by initializeFrom().
|
inlinevirtual |
Shows the sparse structure of required matrix, type == 1 stiffness.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::FluidStructureProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::ProblemSequence, oofem::StaggeredProblem, and oofem::StructuralEngngModel.
Definition at line 1226 of file engngm.h.
References gc.
|
virtual |
Starts solution process. Implementation should invoke for each time step solveYourselfAt function with time step as parameter. Time steps are created using giveNextStep function (this will set current time step to newly created, and updates previous step).
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::DIIDynamic, oofem::EigenValueDynamic, oofem::FluidMaterialEvaluator, oofem::FreeWarping, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::NlDEIDynamic, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::ProblemSequence, oofem::QClinearStatic, oofem::StaggeredProblem, oofem::StaticStructural, and oofem::StructuralMaterialEvaluator.
Definition at line 574 of file engngm.C.
References adaptTimeStep(), balanceLoad(), forceEquationNumbering(), giveCurrentStep(), giveInitialTime(), giveMetaStep(), giveNextStep(), giveNumberOfDomainEquations(), giveOutputStream(), giveSolutionStepTime(), initializeYourself(), initStepIncrements(), loadBalancingFlag, OOFEM_ERROR, OOFEM_LOG_DEBUG, OOFEM_LOG_INFO, preInitializeNextStep(), requiresEquationRenumbering(), restartYourself(), solveYourselfAt(), suppressOutput, terminate(), timer, timeStepController, updateYourself(), and oofem::ConvergenceException::what().
|
inlinevirtual |
Solves problem for given time step. Should assemble characteristic matrices and vectors if necessary and solve problem using appropriate numerical method. After finishing solution, this->updateYourself function for updating solution state and then this->terminate function (for updating nodal and element values) should be called.
Reimplemented in oofem::AdaptiveNonLinearStatic, oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DEIDynamic, oofem::DGProblem, oofem::DIIDynamic, oofem::DummyEngngModel, oofem::FluidStructureProblem, oofem::FreeWarping, oofem::IncrementalLinearStatic, oofem::LinearStability, oofem::LinearStatic, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NLTransientTransportProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::Pdelta, oofem::PFEM, oofem::QClinearStatic, oofem::StaggeredProblem, oofem::StaticStructural, oofem::StationaryMPMSProblem, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::SUPG, oofem::TestProblem, and oofem::TransientTransportProblem.
Definition at line 484 of file engngm.h.
Referenced by oofem::FE2FluidMaterial::computeDeviatoricStress3D(), oofem::StructuralSlipFE2Material::giveHomogenizedFields(), oofem::XfemSolverInterface::propagateXfemInterfaces(), and solveYourself().
|
virtual |
Terminates the solution of time step. Default implementation calls prinOutput() service and if specified, context of whole domain is stored and output for given time step is printed.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::NonLinearStatic, oofem::StaggeredProblem, oofem::StaticStructural, and oofem::StructuralEngngModel.
Definition at line 741 of file engngm.C.
References CM_Definition, CM_State, doStepOutput(), exportModuleManager, giveOutputStream(), monitorManager, saveStepContext(), suppressOutput, and oofem::Monitor::TimeStepTermination.
Referenced by oofem::EigenValueDynamic::solveYourself(), and solveYourself().
| void oofem::EngngModel::terminateAnalysis | ( | ) |
Performs analysis termination after finishing analysis.
Definition at line 2022 of file engngm.C.
References exportModuleManager, giveAnalysisTime(), giveOutputStream(), OOFEM_LOG_FORCED, suppressOutput, and timer.
Referenced by oofem::AdaptiveNonLinearStatic::solveYourselfAt().
| int oofem::EngngModel::unpackDofManagers | ( | ArrayWithNumbering * | dest, |
| ProcessCommunicator & | processComm ) |
Unpacking function for vector values of DofManagers . Unpacks vector of shared/remote DofManagers from receive communication buffer of given process communicator.
| processComm | Task communicator. |
| dest | Destination vector + equation numbering. |
Definition at line 2367 of file engngm.C.
References oofem::EngngModel::ArrayWithNumbering::array, oofem::FloatArray::at(), oofem::DofManager_remote, oofem::DofManager_shared, oofem::Domain::giveDofManager(), giveDomain(), oofem::DofManager::giveParallelMode(), oofem::ProcessCommunicator::giveProcessCommunicatorBuff(), oofem::ProcessCommunicator::giveToRecvMap(), oofem::EngngModel::ArrayWithNumbering::numbering, OOFEM_ERROR, and oofem::ProcessCommunicatorBuff::read().
|
inlineprotectedvirtual |
Unpacks receiver data when rebalancing load. When rebalancing happens, the local numbering will be lost on majority of processors. Instead of identifying values of solution vectors that have to be send/received and then performing renumbering, all solution vectors are assumed to be stored in dof dictionaries before data migration. Then dofs will take care themselves for packing and unpacking. After data migration and local renumbering, the solution vectors will be restored from dof dictionary data back.
Reimplemented in oofem::NonLinearDynamic, and oofem::NonLinearStatic.
Definition at line 1084 of file engngm.h.
Referenced by balanceLoad().
| int oofem::EngngModel::unpackRemoteElementData | ( | ProcessCommunicator & | processComm | ) |
Unpacks data for remote elements (which are mirrors of remote partition's local elements). Remote elements are introduced when nonlocal constitutive models are used, in order to allow local averaging procedure (remote elements, which are involved in averaging on local partition are mirrored on this local partition) instead of implementing inefficient fine-grain communication. Remote element data are exchanged only if necessary and once for all of them. Current implementation calls unpackAndUpdateUnknowns service for all elements listed in given process communicator receive map.
| processComm | Corresponding process communicator. |
Definition at line 2317 of file engngm.C.
References oofem::Element_remote, giveCurrentStep(), giveDomain(), oofem::Domain::giveElement(), oofem::Element::giveParallelMode(), oofem::ProcessCommunicator::giveProcessCommunicatorBuff(), oofem::ProcessCommunicatorBuff::giveRecvBuff(), oofem::ProcessCommunicator::giveToRecvMap(), OOFEM_ERROR, and oofem::Element::unpackAndUpdateUnknowns().
|
virtual |
Update receiver attributes according to step metaStep attributes. Allows the certain parameters or attributes to be updated for particular metastep. The metastep provides the attributes record, from which the corresponding attributes can be read. The service takes a MetaStep parameter. It is recommended, to implement this service in such way, that multiple calls for steps belonging to same MetaStep does not change response. The default implementation updates the numerical method attributes.
| mStep | Meta step. |
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::StaggeredProblem, and oofem::StaticStructural.
Definition at line 669 of file engngm.C.
References oofem::MetaStep::giveAttributesRecord(), giveLoadBalancer(), giveLoadBalancerMonitor(), oofem::MetaStep::giveNumber(), giveNumericalMethod(), and timeStepController.
Referenced by restoreContext(), oofem::EigenValueDynamic::solveYourself(), and oofem::LinearStability::solveYourself().
|
virtual |
Reimplemented in oofem::DGProblem, oofem::MPMProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::StaticStructural, oofem::StationaryMPMSProblem, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 1674 of file engngm.C.
References OOFEM_ERROR.
|
inlinevirtual |
Updates necessary values in Dofs unknown dictionaries.
Reimplemented in oofem::IncrementalLinearStatic, oofem::NLTransientTransportProblem, oofem::PFEM, and oofem::SUPG.
Definition at line 922 of file engngm.h.
Referenced by oofem::EigenValueDynamic::printOutputAt(), and oofem::StructuralEngngModel::updateInternalState().
|
virtual |
Updates domain links after the domains of receiver have changed. Used mainly after restoring context - the domains may change and this service is then used to update domain variables in all components belonging to receiver like error estimators, solvers, etc, having domains as attributes.
Reimplemented in oofem::AdaptiveLinearStatic, oofem::AdaptiveNonLinearStatic, oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DGProblem, oofem::FreeWarping, oofem::LinearStatic, oofem::MPMProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::NonStationaryTransportProblem, oofem::StaggeredProblem, oofem::StaticStructural, oofem::StationaryTransportProblem, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 1749 of file engngm.C.
References giveExportModuleManager().
Referenced by restoreContext().
|
virtual |
Updates the solution (guess) according to the new values. Callback for nonlinear solvers (e.g. Newton-Raphson).
| solutionVector | New solution. |
| tStep | Time when component is updated. |
| d | Domain. |
| eNorm | Optional per-element norm (for normalization). |
Reimplemented in oofem::DGProblem, oofem::MPMProblem, oofem::NonLinearDynamic, oofem::StaticStructural, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::StructuralEngngModel, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 1688 of file engngm.C.
References OOFEM_ERROR.
|
virtual |
Updates the solution (guess) according to the new values. Callback for nonlinear solvers (e.g. Newton-Raphson).
| solutionVector | New solution. |
| tStep | Time when component is updated. |
| d | Domain. |
Reimplemented in oofem::DGProblem, oofem::MPMProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::StaticStructural, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 1695 of file engngm.C.
References OOFEM_ERROR.
| int oofem::EngngModel::updateSharedDofManagers | ( | FloatArray & | answer, |
| const UnknownNumberingScheme & | s, | ||
| int | ExchangeTag ) |
Exchanges necessary remote DofManagers data.
| answer | Array with collected values. |
| ExchangeTag | Exchange tag used by communicator. |
Definition at line 2162 of file engngm.C.
References oofem::EngngModel::ArrayWithNumbering::array, communicator, giveRank(), isParallel(), oofem::EngngModel::ArrayWithNumbering::numbering, OOFEM_ERROR, and VERBOSEPARALLEL_PRINT.
Referenced by oofem::NonLinearStatic::assembleIncrementalReferenceLoadVectors(), oofem::DIIDynamic::assembleLoadVector(), oofem::NlDEIDynamic::computeLoadVector(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::StructuralEngngModel::computeReaction(), oofem::NonLinearDynamic::proceedStep(), oofem::DEIDynamic::solveYourselfAt(), oofem::FreeWarping::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::MPMProblem::solveYourselfAt(), oofem::Pdelta::solveYourselfAt(), oofem::StaticStructural::solveYourselfAt(), oofem::StationaryMPMSProblem::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::NonLinearDynamic::timesMtrx(), oofem::MPMProblem::updateComponent(), oofem::StaticStructural::updateComponent(), oofem::StationaryMPMSProblem::updateComponent(), oofem::StationaryTransportProblem::updateComponent(), oofem::StokesFlow::updateComponent(), oofem::SUPG::updateComponent(), oofem::TransientTransportProblem::updateComponent(), oofem::MPMProblem::updateInternalRHS(), oofem::StaticStructural::updateInternalRHS(), oofem::StationaryTransportProblem::updateInternalRHS(), oofem::StokesFlow::updateInternalRHS(), oofem::StructuralEngngModel::updateInternalRHS(), oofem::SUPG::updateInternalRHS(), and oofem::TransientTransportProblem::updateInternalRHS().
|
virtual |
Updates the solution (guess) according to the new values. Callback for nonlinear solvers (e.g. Newton-Raphson), and are called before new internal forces are computed.
| solutionVector | New solution. |
| tStep | Time when component is updated. |
| d | Domain. |
Reimplemented in oofem::DGProblem, oofem::MPMProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, oofem::StaticStructural, oofem::StationaryMPMSProblem, oofem::StationaryTransportProblem, oofem::StokesFlow, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 1681 of file engngm.C.
References OOFEM_ERROR.
Referenced by initForNewIteration().
|
virtual |
Updates internal state after finishing time step. (for example total values may be updated according to previously solved increments). Then element values are also updated (together with related integration points and material statuses).
Reimplemented in oofem::AdaptiveLinearStatic, oofem::AdaptiveNonLinearStatic, oofem::AdditiveManufacturingProblem, oofem::CBS, oofem::DGProblem, oofem::DIIDynamic, oofem::EigenValueDynamic, oofem::LinearStability, oofem::MPMProblem, oofem::NlDEIDynamic, oofem::NLTransientTransportProblem, oofem::NonLinearDynamic, oofem::NonStationaryTransportProblem, oofem::PFEM, oofem::StaggeredProblem, oofem::StokesFlow, oofem::StructuralEngngModel, oofem::SUPG, and oofem::TransientTransportProblem.
Definition at line 692 of file engngm.C.
References domainList, oofem::Element_remote, and VERBOSE_PRINT0.
Referenced by solveYourself().
|
inlinevirtual |
Returns nonzero if nonlocal stiffness option activated.
Reimplemented in oofem::AdditiveManufacturingProblem, oofem::FluidStructureProblem, oofem::NonLinearDynamic, oofem::NonLinearStatic, and oofem::StaggeredProblem.
Definition at line 1150 of file engngm.h.
Referenced by oofem::SkylineUnsym::buildInternalStructure().
|
protected |
Communication object for this engineering model.
Definition at line 299 of file engngm.h.
Referenced by assembleVector(), EngngModel(), and initParallel().
|
protected |
Common Communicator buffer.
Definition at line 313 of file engngm.h.
Referenced by EngngModel(), oofem::FreeWarping::initializeFrom(), oofem::LinearStatic::initializeFrom(), oofem::NlDEIDynamic::initializeFrom(), oofem::NonLinearDynamic::initializeFrom(), oofem::NonLinearStatic::initializeFrom(), oofem::QClinearStatic::initializeFrom(), oofem::StaticStructural::initializeFrom(), and ~EngngModel().
|
protected |
Definition at line 315 of file engngm.h.
Referenced by EngngModel(), giveProblemCommunicator(), initializeCommMaps(), oofem::FreeWarping::initializeFrom(), oofem::LinearStatic::initializeFrom(), oofem::NlDEIDynamic::initializeFrom(), oofem::NonLinearDynamic::initializeFrom(), oofem::NonLinearStatic::initializeFrom(), oofem::QClinearStatic::initializeFrom(), oofem::StaticStructural::initializeFrom(), oofem::StaticStructural::solveYourself(), updateSharedDofManagers(), and ~EngngModel().
|
protected |
Context.
Definition at line 277 of file engngm.h.
Referenced by EngngModel(), oofem::FluidStructureProblem::showSparseMtrxStructure(), and ~EngngModel().
|
protected |
Domain context output mode.
Definition at line 256 of file engngm.h.
Referenced by EngngModel(), giveContextOutputMode(), oofem::AdditiveManufacturingProblem::instanciateSlaveProblems(), oofem::StaggeredProblem::instanciateSlaveProblems(), oofem::ProblemSequence::instanciateYourself(), setContextOutputMode(), and setUDContextOutputMode().
|
protected |
Definition at line 257 of file engngm.h.
Referenced by EngngModel(), giveContextOutputStep(), initializeFrom(), and setUDContextOutputMode().
|
protected |
String with core output file name.
Definition at line 250 of file engngm.h.
Referenced by giveContextFileName(), giveDomainFileName(), and instanciateYourself().
|
protected |
Current time step.
Definition at line 241 of file engngm.h.
Referenced by giveCurrentStep(), oofem::AdditiveManufacturingProblem::giveDeltaT(), oofem::StaggeredProblem::giveDeltaT(), oofem::AdditiveManufacturingProblem::giveNextStep(), oofem::CBS::giveNextStep(), oofem::DEIDynamic::giveNextStep(), oofem::DGProblem::giveNextStep(), oofem::DIIDynamic::giveNextStep(), oofem::DummyEngngModel::giveNextStep(), oofem::EigenValueDynamic::giveNextStep(), oofem::FluidMaterialEvaluator::giveNextStep(), oofem::FreeWarping::giveNextStep(), oofem::IncrementalLinearStatic::giveNextStep(), oofem::LinearStability::giveNextStep(), oofem::LinearStatic::giveNextStep(), oofem::MPMProblem::giveNextStep(), oofem::NlDEIDynamic::giveNextStep(), oofem::NLTransientTransportProblem::giveNextStep(), oofem::NonLinearDynamic::giveNextStep(), oofem::NonLinearStatic::giveNextStep(), oofem::NonStationaryTransportProblem::giveNextStep(), oofem::PFEM::giveNextStep(), oofem::StaggeredProblem::giveNextStep(), oofem::StationaryMPMSProblem::giveNextStep(), oofem::StationaryTransportProblem::giveNextStep(), oofem::StokesFlow::giveNextStep(), oofem::StructuralMaterialEvaluator::giveNextStep(), oofem::SUPG::giveNextStep(), oofem::TestProblem::giveNextStep(), oofem::TransientTransportProblem::giveNextStep(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), and restoreContext().
|
protected |
Path to output stream.
Definition at line 248 of file engngm.h.
Referenced by giveOutputBaseFileName(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::EigenValueDynamic::initializeFrom(), initializeFrom(), oofem::IncrementalLinearStatic::initializeFrom(), oofem::LinearStability::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), oofem::AdditiveManufacturingProblem::instanciateYourself(), instanciateYourself(), oofem::ProblemSequence::instanciateYourself(), oofem::StaggeredProblem::instanciateYourself(), and letOutputBaseFileNameBe().
|
protected |
Error estimator. Useful for adaptivity, or simply printing errors output.
Definition at line 285 of file engngm.h.
Referenced by giveDomainErrorEstimator(), oofem::AdaptiveNonLinearStatic::initializeFrom(), initializeFrom(), oofem::AdaptiveLinearStatic::printOutputAt(), oofem::AdaptiveNonLinearStatic::solveYourselfAt(), oofem::AdaptiveLinearStatic::updateDomainLinks(), oofem::AdaptiveNonLinearStatic::updateDomainLinks(), and oofem::AdaptiveLinearStatic::updateYourself().
|
protected |
List of problem domains.
Definition at line 217 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), checkProblemConsistency(), oofem::NLTransientTransportProblem::createPreviousSolutionInDofUnknownsDictionary(), giveDomain(), giveNumberOfDomains(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), initializeYourself(), initStepIncrements(), Instanciate_init(), instanciateDomains(), oofem::DGProblem::postInitialize(), postInitialize(), printOutputAt(), printOutputAt(), restoreContext(), saveContext(), setDomain(), oofem::CBS::updateInternalState(), oofem::NLTransientTransportProblem::updateInternalState(), oofem::NonStationaryTransportProblem::updateInternalState(), oofem::PFEM::updateInternalState(), oofem::StokesFlow::updateInternalState(), oofem::StructuralEngngModel::updateInternalState(), oofem::SUPG::updateInternalState(), updateYourself(), and oofem::NonStationaryTransportProblem::updateYourself().
|
protected |
Number of equations per domain.
Definition at line 225 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), EngngModel(), forceEquationNumbering(), forceEquationNumbering(), oofem::FluidModel::forceEquationNumbering(), oofem::PFEM::forceEquationNumbering(), giveNewEquationNumber(), giveNumberOfDomainEquations(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), Instanciate_init(), restoreContext(), saveContext(), and setNumberOfEquations().
|
protected |
Number of prescribed equations per domain.
Definition at line 227 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), EngngModel(), forceEquationNumbering(), forceEquationNumbering(), oofem::FluidModel::forceEquationNumbering(), oofem::PFEM::forceEquationNumbering(), giveNewPrescribedEquationNumber(), giveNumberOfDomainEquations(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), Instanciate_init(), restoreContext(), and saveContext().
|
protected |
Equation numbering completed flag.
Definition at line 233 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), EngngModel(), forceEquationNumbering(), oofem::StokesFlow::forceEquationNumbering(), oofem::CBS::giveNumberOfDomainEquations(), giveNumberOfDomainEquations(), and oofem::PFEM::giveNumberOfDomainEquations().
|
protected |
Export module manager.
Definition at line 260 of file engngm.h.
Referenced by oofem::EigenValueDynamic::doStepOutput(), doStepOutput(), oofem::LinearStability::doStepOutput(), EngngModel(), giveExportModuleManager(), instanciateYourself(), terminate(), and terminateAnalysis().
|
protected |
Debug flag forcing load balancing after first step.
Definition at line 309 of file engngm.h.
Referenced by balanceLoad(), EngngModel(), and initializeFrom().
|
protected |
Initialization module manager.
Definition at line 262 of file engngm.h.
Referenced by EngngModel(), init(), and instanciateYourself().
|
protected |
Load Balancer.
Definition at line 304 of file engngm.h.
Referenced by balanceLoad(), EngngModel(), oofem::AdaptiveNonLinearStatic::giveLoadBalancer(), oofem::NonLinearDynamic::giveLoadBalancer(), and oofem::NonLinearStatic::giveLoadBalancer().
|
protected |
Definition at line 305 of file engngm.h.
Referenced by balanceLoad(), EngngModel(), oofem::AdaptiveNonLinearStatic::giveLoadBalancerMonitor(), oofem::NonLinearDynamic::giveLoadBalancerMonitor(), and oofem::NonLinearStatic::giveLoadBalancerMonitor().
|
protected |
If set to true, load balancing is active.
Definition at line 307 of file engngm.h.
Referenced by EngngModel(), oofem::AdaptiveNonLinearStatic::giveLoadBalancer(), oofem::NonLinearDynamic::giveLoadBalancer(), oofem::NonLinearStatic::giveLoadBalancer(), oofem::AdaptiveNonLinearStatic::giveLoadBalancerMonitor(), oofem::NonLinearDynamic::giveLoadBalancerMonitor(), oofem::NonLinearStatic::giveLoadBalancerMonitor(), initializeFrom(), oofem::AdditiveManufacturingProblem::solveYourself(), solveYourself(), and oofem::StaggeredProblem::solveYourself().
|
protected |
Master e-model; if defined receiver is in maintained (slave) mode.
Definition at line 274 of file engngm.h.
Referenced by oofem::AdaptiveLinearStatic::AdaptiveLinearStatic(), oofem::DEIDynamic::DEIDynamic(), oofem::EigenValueDynamic::EigenValueDynamic(), EngngModel(), oofem::FluidModel::FluidModel(), giveCurrentStep(), oofem::StaticStructural::giveCurrentStep(), giveNumberOfFirstStep(), giveNumberOfSteps(), givePreviousStep(), oofem::StaticStructural::givePreviousStep(), oofem::CBS::giveSolutionStepWhenIcApply(), oofem::DGProblem::giveSolutionStepWhenIcApply(), giveSolutionStepWhenIcApply(), oofem::MPMProblem::giveSolutionStepWhenIcApply(), oofem::NonLinearStatic::giveSolutionStepWhenIcApply(), oofem::NonStationaryTransportProblem::giveSolutionStepWhenIcApply(), oofem::PFEM::giveSolutionStepWhenIcApply(), oofem::SUPG::giveSolutionStepWhenIcApply(), oofem::TransientTransportProblem::giveSolutionStepWhenIcApply(), oofem::LinearStability::LinearStability(), oofem::DGProblem::postInitialize(), oofem::ProblemSequence::ProblemSequence(), oofem::StaticStructural::StaticStructural(), oofem::TransientTransportProblem::TransientTransportProblem(), and ~EngngModel().
|
protected |
List of problem metasteps.
Definition at line 237 of file engngm.h.
Referenced by instanciateDefaultMetaStep(), instanciateMetaSteps(), and oofem::DGProblem::postInitialize().
|
protected |
Monitor manager.
Definition at line 264 of file engngm.h.
Referenced by EngngModel(), instanciateYourself(), and terminate().
|
protected |
Number of receiver domains.
Definition at line 215 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::AdditiveManufacturingProblem::AdditiveManufacturingProblem(), oofem::CBS::CBS(), oofem::DEIDynamic::DEIDynamic(), oofem::DGProblem::DGProblem(), oofem::DIIDynamic::DIIDynamic(), oofem::DummyEngngModel::DummyEngngModel(), oofem::EigenValueDynamic::EigenValueDynamic(), EngngModel(), oofem::FluidMaterialEvaluator::FluidMaterialEvaluator(), oofem::FluidStructureProblem::FluidStructureProblem(), oofem::FreeWarping::FreeWarping(), oofem::IncrementalLinearStatic::IncrementalLinearStatic(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), Instanciate_init(), oofem::LinearStability::LinearStability(), oofem::LinearStatic::LinearStatic(), oofem::MPMProblem::MPMProblem(), oofem::NlDEIDynamic::NlDEIDynamic(), oofem::NonLinearDynamic::NonLinearDynamic(), oofem::Pdelta::Pdelta(), oofem::PFEM::PFEM(), oofem::StaggeredProblem::StaggeredProblem(), oofem::StaticStructural::StaticStructural(), oofem::StationaryMPMSProblem::StationaryMPMSProblem(), oofem::StationaryTransportProblem::StationaryTransportProblem(), oofem::StokesFlow::StokesFlow(), oofem::StructuralMaterialEvaluator::StructuralMaterialEvaluator(), oofem::SUPG::SUPG(), oofem::TestProblem::TestProblem(), and oofem::TransientTransportProblem::TransientTransportProblem().
|
protected |
Number of meta steps.
Definition at line 235 of file engngm.h.
Referenced by EngngModel(), oofem::NonLinearDynamic::giveNextStep(), oofem::DummyEngngModel::initializeFrom(), initializeFrom(), oofem::LinearStability::initializeFrom(), instanciateDefaultMetaStep(), instanciateMetaSteps(), instanciateYourself(), and restoreContext().
|
protected |
Type of non linear formulation (total or updated formulation).
Definition at line 283 of file engngm.h.
Referenced by EngngModel(), giveFormulation(), oofem::NLTransientTransportProblem::giveFormulation(), oofem::NonLinearDynamic::giveFormulation(), oofem::NonLinearStatic::giveFormulation(), and initializeFrom().
|
protected |
Flag indicating if nonlocal extension active, which will cause data to be sent between shared elements before computing the internal forces.
Definition at line 293 of file engngm.h.
Referenced by EngngModel(), exchangeRemoteElementData(), initializeCommMaps(), oofem::NlDEIDynamic::initializeFrom(), oofem::NonLinearDynamic::initializeFrom(), oofem::NonLinearStatic::initializeFrom(), oofem::StaticStructural::initializeFrom(), and oofem::StaticStructural::solveYourself().
|
protected |
NonLocal Communicator. Necessary when nonlocal constitutive models are used.
Definition at line 318 of file engngm.h.
Referenced by EngngModel(), exchangeRemoteElementData(), giveProblemCommunicator(), initializeCommMaps(), oofem::NlDEIDynamic::initializeFrom(), oofem::NonLinearDynamic::initializeFrom(), oofem::NonLinearStatic::initializeFrom(), oofem::StaticStructural::initializeFrom(), oofem::StaticStructural::solveYourself(), and ~EngngModel().
|
protected |
Receivers id.
Definition at line 245 of file engngm.h.
Referenced by oofem::Domain::Domain(), and EngngModel().
|
protected |
Total number of equation in current time step.
Definition at line 221 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), EngngModel(), forceEquationNumbering(), printYourself(), restoreContext(), saveContext(), and setNumberOfEquations().
|
protected |
Total number or prescribed equations in current time step.
Definition at line 223 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), EngngModel(), forceEquationNumbering(), restoreContext(), and saveContext().
|
protected |
Total number of time steps.
Definition at line 219 of file engngm.h.
Referenced by oofem::EigenValueDynamic::EigenValueDynamic(), EngngModel(), oofem::DGProblem::giveFinalTime(), oofem::MPMProblem::giveFinalTime(), oofem::AdditiveManufacturingProblem::giveNextStep(), oofem::StaggeredProblem::giveNextStep(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::DummyEngngModel::initializeFrom(), oofem::EigenValueDynamic::initializeFrom(), initializeFrom(), oofem::FluidMaterialEvaluator::initializeFrom(), oofem::IncrementalLinearStatic::initializeFrom(), oofem::LinearStability::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), oofem::StaticStructural::initializeFrom(), oofem::StructuralMaterialEvaluator::initializeFrom(), oofem::AdditiveManufacturingProblem::instanciateDefaultMetaStep(), instanciateDefaultMetaStep(), instanciateMetaSteps(), oofem::LinearStability::LinearStability(), oofem::FluidMaterialEvaluator::solveYourself(), oofem::StructuralMaterialEvaluator::solveYourself(), and oofem::NlDEIDynamic::solveYourselfAt().
|
protected |
Total number of collaborating processes.
Definition at line 291 of file engngm.h.
Referenced by EngngModel(), giveNumberOfProcesses(), oofem::AdditiveManufacturingProblem::initializeFrom(), initializeFrom(), oofem::StaggeredProblem::initializeFrom(), and initParallel().
|
protected |
Output stream.
Definition at line 252 of file engngm.h.
Referenced by EngngModel(), giveOutputStream(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::EigenValueDynamic::initializeFrom(), initializeFrom(), oofem::IncrementalLinearStatic::initializeFrom(), oofem::LinearStability::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), letOutputBaseFileNameBe(), and ~EngngModel().
|
protected |
List where parallel contexts are stored.
Definition at line 323 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), forceEquationNumbering(), giveParallelContext(), and initParallelContexts().
|
protected |
Flag indicating that the receiver runs in parallel.
Definition at line 281 of file engngm.h.
Referenced by EngngModel(), initializeFrom(), isParallel(), and setParallelMode().
|
protected |
Domain mode.
Definition at line 267 of file engngm.h.
Referenced by EngngModel(), giveProblemMode(), oofem::AdditiveManufacturingProblem::instanciateSlaveProblems(), oofem::StaggeredProblem::instanciateSlaveProblems(), oofem::ProblemSequence::instanciateYourself(), and setProblemMode().
|
protected |
Previous time step.
Definition at line 243 of file engngm.h.
Referenced by oofem::AdditiveManufacturingProblem::giveNextStep(), oofem::CBS::giveNextStep(), oofem::DEIDynamic::giveNextStep(), oofem::DGProblem::giveNextStep(), oofem::DIIDynamic::giveNextStep(), oofem::DummyEngngModel::giveNextStep(), oofem::EigenValueDynamic::giveNextStep(), oofem::FluidMaterialEvaluator::giveNextStep(), oofem::FreeWarping::giveNextStep(), oofem::IncrementalLinearStatic::giveNextStep(), oofem::LinearStability::giveNextStep(), oofem::LinearStatic::giveNextStep(), oofem::MPMProblem::giveNextStep(), oofem::NlDEIDynamic::giveNextStep(), oofem::NLTransientTransportProblem::giveNextStep(), oofem::NonLinearDynamic::giveNextStep(), oofem::NonLinearStatic::giveNextStep(), oofem::NonStationaryTransportProblem::giveNextStep(), oofem::PFEM::giveNextStep(), oofem::StaggeredProblem::giveNextStep(), oofem::StationaryMPMSProblem::giveNextStep(), oofem::StationaryTransportProblem::giveNextStep(), oofem::StokesFlow::giveNextStep(), oofem::StructuralMaterialEvaluator::giveNextStep(), oofem::SUPG::giveNextStep(), oofem::TestProblem::giveNextStep(), oofem::TransientTransportProblem::giveNextStep(), givePreviousStep(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), and restoreContext().
|
protected |
Processor name.
Definition at line 296 of file engngm.h.
Referenced by oofem::AdditiveManufacturingProblem::initializeFrom(), initializeFrom(), oofem::StaggeredProblem::initializeFrom(), and initParallel().
|
protected |
Profile optimized numbering flag (using Sloan's algorithm).
Definition at line 231 of file engngm.h.
Referenced by EngngModel(), forceEquationNumbering(), and initializeFrom().
|
protected |
Multiscale mode.
Definition at line 269 of file engngm.h.
Referenced by EngngModel(), oofem::NonLinearStatic::giveDeltaT(), oofem::NonLinearDynamic::giveNextStep(), giveProblemScale(), and setProblemScale().
|
protected |
Domain rank in a group of collaborating processes (0..groupSize-1).
Definition at line 289 of file engngm.h.
Referenced by EngngModel(), errorInfo(), giveRank(), oofem::AdditiveManufacturingProblem::initializeFrom(), initializeFrom(), oofem::StaggeredProblem::initializeFrom(), and initParallel().
|
protected |
String with reference file name.
Definition at line 254 of file engngm.h.
Referenced by EngngModel(), giveReferenceFileName(), and instanciateYourself().
|
protected |
Renumbering flag (renumbers equations after each step, necessary if Dirichlet BCs change).
Definition at line 229 of file engngm.h.
Referenced by EngngModel(), oofem::AdditiveManufacturingProblem::initializeFrom(), initializeFrom(), oofem::StaggeredProblem::initializeFrom(), requiresEquationRenumbering(), oofem::SUPG::requiresUnknownsDictionaryUpdate(), restoreContext(), and saveContext().
|
protected |
Definition at line 339 of file engngm.h.
Referenced by giveDescription(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::EigenValueDynamic::initializeFrom(), initializeFrom(), oofem::IncrementalLinearStatic::initializeFrom(), oofem::LinearStability::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), and instanciateYourself().
|
protected |
Solution start time.
Definition at line 271 of file engngm.h.
Referenced by giveStartTime(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::EigenValueDynamic::initializeFrom(), initializeFrom(), oofem::IncrementalLinearStatic::initializeFrom(), oofem::LinearStability::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), and instanciateYourself().
|
protected |
Solution step when IC (initial conditions) apply.
Definition at line 239 of file engngm.h.
Referenced by oofem::PFEM::applyIC(), oofem::AdditiveManufacturingProblem::giveSolutionStepWhenIcApply(), oofem::CBS::giveSolutionStepWhenIcApply(), oofem::DGProblem::giveSolutionStepWhenIcApply(), giveSolutionStepWhenIcApply(), oofem::MPMProblem::giveSolutionStepWhenIcApply(), oofem::NonLinearStatic::giveSolutionStepWhenIcApply(), oofem::NonStationaryTransportProblem::giveSolutionStepWhenIcApply(), oofem::PFEM::giveSolutionStepWhenIcApply(), oofem::StaggeredProblem::giveSolutionStepWhenIcApply(), oofem::SUPG::giveSolutionStepWhenIcApply(), oofem::TransientTransportProblem::giveSolutionStepWhenIcApply(), oofem::DIIDynamic::initializeYourself(), oofem::NonLinearDynamic::initializeYourself(), oofem::CBS::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), and oofem::PFEM::solveYourselfAt().
|
protected |
Flag for suppressing output to file.
Definition at line 337 of file engngm.h.
Referenced by oofem::EigenValueDynamic::doStepOutput(), doStepOutput(), oofem::LinearStability::doStepOutput(), EngngModel(), giveSuppressOutput(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::DummyEngngModel::initializeFrom(), oofem::EigenValueDynamic::initializeFrom(), initializeFrom(), oofem::IncrementalLinearStatic::initializeFrom(), oofem::LinearStability::initializeFrom(), oofem::StaggeredProblem::initializeFrom(), oofem::StructuralMaterialEvaluator::initializeFrom(), letOutputBaseFileNameBe(), oofem::AdditiveManufacturingProblem::solveYourself(), solveYourself(), oofem::StaggeredProblem::solveYourself(), terminate(), and terminateAnalysis().
|
protected |
E-model timer.
Definition at line 279 of file engngm.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), assemble(), assemble(), oofem::NonLinearDynamic::assemble(), assembleExtrapolatedForces(), assemblePrescribedExtrapolatedForces(), assembleVectorFromBC(), assembleVectorFromDofManagers(), assembleVectorFromElements(), balanceLoad(), oofem::DGProblem::constructBoundaryEntities(), forceEquationNumbering(), giveAnalysisTime(), giveSolutionStepTime(), giveTimer(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), instanciateYourself(), oofem::EigenValueDynamic::printOutputAt(), oofem::AdditiveManufacturingProblem::solveYourself(), oofem::EigenValueDynamic::solveYourself(), solveYourself(), oofem::FluidMaterialEvaluator::solveYourself(), oofem::LinearStability::solveYourself(), oofem::StaggeredProblem::solveYourself(), oofem::StructuralMaterialEvaluator::solveYourself(), oofem::SUPG::solveYourselfAt(), terminateAnalysis(), oofem::NonLinearDynamic::updateComponent(), oofem::NonLinearDynamic::updateInternalRHS(), and oofem::NonLinearDynamic::updateMatrix().
|
protected |
Time Step controller is responsible for collecting data from analysis, elements, and materials, and select the appropriate timestep size for the next step, or reduce the step in case of convergence problems.
Definition at line 287 of file engngm.h.
Referenced by oofem::StaticStructural::adaptTimeStep(), EngngModel(), oofem::StaticStructural::giveCurrentStep(), giveFinalTime(), giveNumberOfSteps(), oofem::StaticStructural::givePreviousStep(), instanciateYourself(), postInitialize(), solveYourself(), and updateAttributes().