|
OOFEM 3.0
|
#include <structengngmodel.h>
Public Member Functions | |
| StructuralEngngModel (int i, EngngModel *master=nullptr) | |
| Creates new StructuralEngngModel with number i, associated to domain d. | |
| virtual | ~StructuralEngngModel () |
| Destructor. | |
| void | updateYourself (TimeStep *tStep) override |
| int | checkConsistency () override |
| void | computeReaction (FloatArray &answer, TimeStep *tStep, int di) |
| void | terminate (TimeStep *tStep) override |
| void | buildReactionTable (IntArray &restrDofMans, IntArray &restrDofs, IntArray &eqn, TimeStep *tStep, int di) |
| void | updateInternalRHS (FloatArray &answer, TimeStep *tStep, Domain *d, FloatArray *eNorm) override |
| void | showSparseMtrxStructure (int type, oofegGraphicContext &gc, TimeStep *tStep) override |
| 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 | doStepOutput (TimeStep *tStep) |
| void | saveStepContext (TimeStep *tStep, ContextMode mode) |
| 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 | 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 | checkProblemConsistency () |
| virtual void | init () |
| virtual void | postInitialize () |
| 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) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
Protected Member Functions | |
| void | printReactionForces (TimeStep *tStep, int id, FILE *out) |
| virtual void | computeExternalLoadReactionContribution (FloatArray &reactions, TimeStep *tStep, int di) |
| void | updateInternalState (TimeStep *tStep) |
| void | printOutputAt (FILE *file, TimeStep *tStep) override |
| virtual void | packMigratingData (TimeStep *tStep) |
| virtual void | unpackMigratingData (TimeStep *tStep) |
Protected Attributes | |
| StateCounterType | internalVarUpdateStamp |
| FloatArray | internalForcesEBENorm |
| Norm of nodal internal forces evaluated on element by element basis (squared). | |
| Protected Attributes inherited from oofem::EngngModel | |
| 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. | |
| 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 |
Additional Inherited Members | |
| Public Types inherited from oofem::EngngModel | |
| 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 Types inherited from oofem::EngngModel | |
| enum | { InternalForcesExchangeTag , MassExchangeTag , LoadExchangeTag , ReactionExchangeTag , RemoteElementExchangeTag } |
| Message tags. More... | |
This class implements extension of EngngModel for structural models. Its purpose is to declare and implement general methods for computing reaction forces.
Definition at line 86 of file structengngmodel.h.
| oofem::StructuralEngngModel::StructuralEngngModel | ( | int | i, |
| EngngModel * | master = nullptr ) |
Creates new StructuralEngngModel with number i, associated to domain d.
Definition at line 93 of file structengngmodel.C.
References oofem::EngngModel::EngngModel(), internalForcesEBENorm, and internalVarUpdateStamp.
Referenced by oofem::DEIDynamic::DEIDynamic(), oofem::DIIDynamic::DIIDynamic(), oofem::FreeWarping::FreeWarping(), oofem::IncrementalLinearStatic::IncrementalLinearStatic(), oofem::LinearStability::LinearStability(), oofem::LinearStatic::LinearStatic(), oofem::NlDEIDynamic::NlDEIDynamic(), oofem::NonLinearDynamic::NonLinearDynamic(), and oofem::StaticStructural::StaticStructural().
|
virtual |
Destructor.
Definition at line 98 of file structengngmodel.C.
| void oofem::StructuralEngngModel::buildReactionTable | ( | IntArray & | restrDofMans, |
| IntArray & | restrDofs, | ||
| IntArray & | eqn, | ||
| TimeStep * | tStep, | ||
| int | di ) |
Builds the reaction force table. For each prescribed equation number it will find corresponding node and dof number. The entries in the restrDofMans, restrDofs, and eqn arrays are sorted with increasing dofman number and with increasing dof number as a second minor criterion.
| restrDofMans | Contains numbers of restrained Dofmanagers, with size equal to total number of prescribed equations. |
| restrDofs | Contains IDs of restrained Dofs, with size equal to total number of prescribed equations. |
| eqn | Contains the corresponding restrained equation numbers. |
| tStep | Time step. |
| di | Domain number. |
Definition at line 144 of file structengngmodel.C.
References oofem::IntArray::at(), oofem::Domain::giveDofManager(), oofem::EngngModel::giveDomain(), oofem::Domain::giveNumberOfDofManagers(), oofem::EngngModel::giveNumberOfDomainEquations(), oofem::IntArray::resize(), and oofem::IntArray::resizeWithValues().
Referenced by oofem::ReactionErrorCheckingRule::check(), oofem::DofManExportModule::doOutput(), oofem::MatlabExportModule::doOutputReactionForces(), oofem::ReactionErrorCheckingRule::getValue(), oofem::GnuplotExportModule::outputReactionForces(), and printReactionForces().
|
overridevirtual |
Allows programmer to test some receiver's internal data, before computation begins.
Reimplemented from oofem::EngngModel.
Definition at line 244 of file structengngmodel.C.
References oofem::EngngModel::giveDomain(), oofem::Domain::giveElements(), and OOFEM_WARNING.
|
protectedvirtual |
Computes the contribution external loading to reaction forces in given domain. Default implementations adds the contribution from computeElementLoadReactionContribution and computeElementLoadReactionContribution methods.
| reactions | Contains the computed contributions. |
| tStep | Solution step. |
| di | Domain number. |
Reimplemented in oofem::NonLinearStatic, and oofem::StaticStructural.
Definition at line 205 of file structengngmodel.C.
References oofem::EngngModel::assembleVector(), oofem::EngngModel::giveDomain(), oofem::EngngModel::giveNumberOfDomainEquations(), oofem::FloatArray::resize(), and oofem::FloatArray::zero().
Referenced by computeReaction().
| void oofem::StructuralEngngModel::computeReaction | ( | FloatArray & | answer, |
| TimeStep * | tStep, | ||
| int | di ) |
Computes reaction forces. The implementation assumes, that real stresses corresponding to reached state are already computed (uses giveInternalForcesVector structural element service with useUpdatedGpRecord = 1 parameter). To be safe, this method should be called after convergence has been reached, eq., after engngModel->updateYourself() has been called.
| answer | Reactions, the ordering of individual values follows numbering of prescribed equations. |
| tStep | Time step. |
| di | Domain number. |
Definition at line 183 of file structengngmodel.C.
References oofem::EngngModel::assembleVector(), computeExternalLoadReactionContribution(), oofem::EngngModel::giveDomain(), oofem::EngngModel::giveNumberOfDomainEquations(), oofem::EngngModel::ReactionExchangeTag, oofem::FloatArray::resize(), oofem::FloatArray::subtract(), oofem::EngngModel::updateSharedDofManagers(), and oofem::FloatArray::zero().
Referenced by oofem::ReactionErrorCheckingRule::check(), oofem::DofManExportModule::doOutput(), oofem::MatlabExportModule::doOutputReactionForces(), oofem::ReactionErrorCheckingRule::getValue(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::GnuplotExportModule::outputReactionForces(), and printReactionForces().
|
overrideprotectedvirtual |
Prints output of receiver to output domain stream, for given time step. Corresponding function for element gauss points is invoked (gaussPoint::printOutputAt).
Reimplemented from oofem::EngngModel.
Definition at line 266 of file structengngmodel.C.
References oofem::EngngModel::giveDomain(), and printReactionForces().
|
protected |
Computes and prints reaction forces, computed from nodal internal forces. Assumes, that real stresses corresponding to reached state are already computed (uses giveInternalForcesVector structural element service with useUpdatedGpRecord = 1 parameter). Only the dof managers selected for output (OutputManager) are handled.
| tStep | Time step. |
| id | Domain number. |
Definition at line 103 of file structengngmodel.C.
References oofem::FloatArray::at(), oofem::IntArray::at(), buildReactionTable(), computeReaction(), oofem::Dof::giveBcId(), oofem::Domain::giveDofManager(), oofem::DofManager::giveDofWithID(), oofem::EngngModel::giveDomain(), oofem::DofManager::giveLabel(), oofem::Domain::giveOutputManager(), oofem::IntArray::giveSize(), and oofem::OutputManager::testDofManOutput().
Referenced by oofem::LinearStability::printOutputAt(), oofem::NlDEIDynamic::printOutputAt(), oofem::NonLinearDynamic::printOutputAt(), oofem::NonLinearStatic::printOutputAt(), and printOutputAt().
|
overridevirtual |
Shows the sparse structure of required matrix, type == 1 stiffness.
Reimplemented from oofem::EngngModel.
Definition at line 320 of file structengngmodel.C.
References gc, oofem::EngngModel::giveDomain(), and oofem::Domain::giveElements().
|
overridevirtual |
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 from oofem::EngngModel.
Definition at line 139 of file structengngmodel.C.
Referenced by oofem::XfemSolverInterface::propagateXfemInterfaces(), oofem::LinearStability::solveYourself(), and oofem::StaticStructural::terminate().
|
overridevirtual |
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 from oofem::EngngModel.
Definition at line 215 of file structengngmodel.C.
References oofem::EngngModel::assembleVector(), oofem::Domain::giveNumber(), oofem::EngngModel::giveNumberOfDomainEquations(), oofem::TimeStep::giveSolutionStateCounter(), oofem::TimeStep::incrementStateCounter(), oofem::EngngModel::InternalForcesExchangeTag, internalVarUpdateStamp, OOFEM_LOG_DEBUG, oofem::FloatArray::resize(), oofem::EngngModel::updateSharedDofManagers(), and oofem::FloatArray::zero().
Referenced by oofem::NlDEIDynamic::solveYourselfAt(), oofem::NonLinearDynamic::updateComponent(), oofem::NonLinearStatic::updateComponent(), and oofem::NonLinearDynamic::updateInternalRHS().
|
protected |
Updates nodal values (calls also this->updateDofUnknownsDictionary for updating dofs unknowns dictionaries if model supports changes of static system). The element internal state update is also forced using updateInternalState service.
| tStep | Solution step. |
Definition at line 278 of file structengngmodel.C.
References oofem::EngngModel::domainList, oofem::GeneralBoundaryCondition::giveInternalDofManager(), oofem::GeneralBoundaryCondition::giveNumberOfInternalDofManagers(), oofem::TimeStep::giveSolutionStateCounter(), internalVarUpdateStamp, oofem::EngngModel::requiresUnknownsDictionaryUpdate(), and oofem::EngngModel::updateDofUnknownsDictionary().
Referenced by updateYourself().
|
overridevirtual |
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 from oofem::EngngModel.
Definition at line 236 of file structengngmodel.C.
References updateInternalState().
Referenced by oofem::XfemSolverInterface::propagateXfemInterfaces().
|
protected |
Norm of nodal internal forces evaluated on element by element basis (squared).
Definition at line 97 of file structengngmodel.h.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::NonLinearDynamic::initializeYourself(), oofem::NonLinearDynamic::proceedStep(), oofem::NonLinearStatic::proceedStep(), StructuralEngngModel(), oofem::NonLinearDynamic::updateComponent(), and oofem::NonLinearStatic::updateComponent().
|
protected |
Contains last time stamp of internal variable update. This update is made via various services (like those for computing real internal forces or updating the internal state).
Definition at line 94 of file structengngmodel.h.
Referenced by oofem::NonLinearDynamic::NonLinearDynamic(), oofem::NonLinearStatic::NonLinearStatic(), StructuralEngngModel(), oofem::StaticStructural::updateComponent(), updateInternalRHS(), and updateInternalState().