|
OOFEM
2.1
|
Class representing solution step. More...
#include <timestep.h>
Collaboration diagram for oofem::TimeStep:Public Member Functions | |
| TimeStep (int n, EngngModel *e, int mn, double tt, double dt, StateCounterType counter, TimeDiscretizationType td=TD_Unspecified) | |
| Creates a new solution step. | |
| TimeStep (const TimeStep &) | |
| TimeStep (EngngModel *e) | |
| TimeStep & | operator= (const TimeStep &) |
| int | giveNumber () |
| Returns receiver's number. | |
| void | setNumber (int i) |
| Set receiver's number. | |
| int | giveVersion () |
| Returns receiver's version. | |
| int | giveMetaStepNumber () |
| Returns receiver's meta step number. | |
| const char * | giveClassName () const |
| Returns class name of receiver. | |
| TimeStep * | givePreviousStep () |
| Returns pointer to previous solution step. | |
| double | giveTargetTime () |
| Returns target time. | |
| double | giveIntrinsicTime () |
| Returns intrinsic time, e.g. time in which constitutive model is evaluated. | |
| double | giveTimeIncrement () |
| Returns solution step associated time increment. | |
| void | setTimeIncrement (double newDt) |
| Sets solution step time increment. | |
| void | setTime (double newt) |
| Sets target and intrinsic time to be equal. | |
| void | setTargetTime (double newt) |
| Sets only target time. | |
| void | setIntrinsicTime (double newt) |
| Sets only intrinsic time. | |
| void | setTimeDiscretization (TimeDiscretizationType td) |
| Sets time discretization. | |
| bool | isNotTheLastStep () |
| Check if solution step is not the last step. | |
| bool | isTheFirstStep () |
| Check if receiver is first step. | |
| bool | isTheCurrentTimeStep () |
| Check if receiver is current solution step. | |
| bool | isIcApply () |
| Check if receiver is solution step when initial conditions should apply. | |
| StateCounterType | giveSolutionStateCounter () |
| Returns current solution state counter. | |
| void | incrementStateCounter () |
| Updates solution state counter. | |
| void | incrementVersion () |
| Increments receiver's version. | |
| TimeDiscretizationType | giveTimeDiscretization () |
| Returns time discretization. | |
| IRResultType | initializeFrom (InputRecord *ir) |
| contextIOResultType | saveContext (DataStream *stream, ContextMode mode, void *obj=NULL) |
| Stores receiver state to output stream. | |
| contextIOResultType | restoreContext (DataStream *stream, ContextMode mode, void *obj=NULL) |
| Restores the receiver state previously written in stream. | |
Protected Attributes | |
| EngngModel * | eModel |
| Engineering model reference. | |
| double | targetTime |
| Current target time, which represents time at the end of a time step. | |
| double | intrinsicTime |
| Current intrinsic time, which may represents imposing time of boundary condition or time entering constitutive laws. | |
| double | deltaT |
| Current intrinsic time increment. | |
| StateCounterType | solutionStateCounter |
| Solution state counter. | |
| int | number |
| Receiver's number. | |
| int | version |
| Receiver's version, used for special applications; default set to 0. | |
| int | mstepNumber |
| Corresponding meta step number. | |
| TimeDiscretizationType | timeDiscretization |
| Time discretization. | |
Class representing solution step.
The timeStep instance may represent either time step, load increment, or load case depending on used Engineering model. See corresponding EngngModel reference for details. TimeStep maintains a reference to corresponding Engineering model class instance.
The class hold target time, which may represent the end of time interval. In addition, there is intrinsic time, which is normally set the same as target time. Intrinsic (assembly) time is used especially in constitutive laws, where the material law is not meant to be evaluated at target time. Also, imposing boundary conditions occurs at intrinsic time by default. This reflects changes of static system and proper equation numbering during each timeStep.
Some components (typically integration points real stresses or integration points nonlocal values) are computationally very demanding. Because in typical code, there are number of requests for same value during the computation process, it may be efficient to store these values and compute them only once. The principal problem is to recognize, when is necessary to re-compute these stored values to reflect newly reached state. This cannot be determined form solution step "time", because solution step may represent for example load increment, inside which typically many iterations are needed to reach convergence. For this purpose, a concept of solution state counters is provided. Whenever the solution state changes, the engineering model updates the solution state counter. The solution state counter is guaranteed to grow up smoothly (it newer decreases) during solution process. Other components of program (integration points) can then store their computationally expensive values but have to store also corresponding solution state counter value valid when these were computed. Then, easy check is done for finding differences between frozen solution state counter and their value with current solution state requested from solution step and recompute the values if necessary.
Definition at line 78 of file timestep.h.
| oofem::TimeStep::TimeStep | ( | int | n, |
| EngngModel * | e, | ||
| int | mn, | ||
| double | tt, | ||
| double | dt, | ||
| StateCounterType | counter, | ||
| TimeDiscretizationType | td = TD_Unspecified |
||
| ) |
Creates a new solution step.
| n | Solution step number. |
| e | Reference to corresponding engng model. |
| mn | Meta step number. |
| tt | Intrinsic time. |
| dt | Intrinsic time increment. |
| counter | Solution state counter. |
| td | Time discretization. |
Definition at line 48 of file timestep.C.
| oofem::TimeStep::TimeStep | ( | const TimeStep & | src | ) |
Definition at line 67 of file timestep.C.
References deltaT, eModel, intrinsicTime, mstepNumber, number, solutionStateCounter, targetTime, and version.
Definition at line 55 of file timestep.C.
References deltaT, eModel, intrinsicTime, mstepNumber, number, solutionStateCounter, targetTime, and version.
| const char* oofem::TimeStep::giveClassName | ( | ) | const [inline] |
Returns class name of receiver.
Definition at line 132 of file timestep.h.
| double oofem::TimeStep::giveIntrinsicTime | ( | ) | [inline] |
Returns intrinsic time, e.g. time in which constitutive model is evaluated.
Definition at line 138 of file timestep.h.
References intrinsicTime.
Referenced by oofem::MacroLSpace::computeStiffnessMatrix(), oofem::StructuralMaterial::computeStressIndependentStrainVector(), oofem::VTKXMLExportModule::doOutput(), oofem::LoadTimeFunction::evaluate(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::HydratingConcreteMatStatus::GivePower(), oofem::Material::isActivated(), oofem::HydratingConcreteMatStatus::printOutputAt(), oofem::NonLinearStatic::proceedStep(), and oofem::HydratingConcreteMatStatus::updateYourself().
| int oofem::TimeStep::giveMetaStepNumber | ( | ) | [inline] |
Returns receiver's meta step number.
Definition at line 127 of file timestep.h.
References mstepNumber.
Referenced by oofem::AdaptiveNonLinearStatic::assembleInitialLoadVector(), oofem::NonLinearStatic::giveNextStep(), oofem::NonLinearDynamic::giveNextStep(), oofem::NonLinearStatic::proceedStep(), oofem::EngngModel::restoreContext(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::StaggeredProblem::solveYourself(), oofem::EngngModel::solveYourself(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::EigenValueDynamic::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::NonLinearStatic::updateComponent(), and oofem::NonLinearStatic::updateLoadVectors().
| int oofem::TimeStep::giveNumber | ( | ) | [inline] |
Returns receiver's number.
Definition at line 121 of file timestep.h.
References number.
Referenced by oofem::PrimaryField::advanceSolution(), oofem::AdaptiveNonLinearStatic::assembleInitialLoadVector(), oofem::MacroLSpace::computeStiffnessMatrix(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::DIIDynamic::determineConstants(), oofem::NonLinearDynamic::determineConstants(), oofem::LEPlic::doInterfaceRemapping(), oofem::VTKXMLExportModule::doOutput(), oofem::HuertaErrorEstimator::estimateError(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::StaggeredProblem::giveDeltaT(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::StationaryTransportProblem::giveNextStep(), oofem::DarcyFlow::giveNextStep(), oofem::DEIDynamic::giveNextStep(), oofem::IncrementalLinearStatic::giveNextStep(), oofem::LinearStatic::giveNextStep(), oofem::DIIDynamic::giveNextStep(), oofem::NonStationaryTransportProblem::giveNextStep(), oofem::EigenValueDynamic::giveNextStep(), oofem::LinearStability::giveNextStep(), oofem::CBS::giveNextStep(), oofem::StaggeredProblem::giveNextStep(), oofem::StokesFlow::giveNextStep(), oofem::SUPG::giveNextStep(), oofem::NonLinearStatic::giveNextStep(), oofem::NonLinearDynamic::giveNextStep(), oofem::NlDEIDynamic::giveNextStep(), oofem::ExportModule::giveOutputBaseFileName(), oofem::MatlabExportModule::giveOutputStream(), oofem::HydratingConcreteMatStatus::GivePower(), oofem::MasterDof::giveUnknown(), oofem::NLTransientTransportProblem::giveUnknownDictHashIndx(), oofem::SUPG::giveUnknownDictHashIndx(), oofem::NonLinearStatic::printOutputAt(), oofem::NonLinearDynamic::printOutputAt(), oofem::NlDEIDynamic::printOutputAt(), oofem::NonLinearStatic::proceedStep(), oofem::NonLinearDynamic::proceedStep(), oofem::PrimaryField::resolveIndx(), oofem::EngngModel::saveStepContext(), oofem::FE2FluidMaterialStatus::setTimeStep(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::CylindricalALM::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::StaggeredProblem::solveYourself(), oofem::EngngModel::solveYourself(), oofem::DarcyFlow::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::EigenValueDynamic::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::StaggeredProblem::solveYourselfAt(), oofem::CBS::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::ExportModule::testTimeStepOutput(), oofem::OutputManager::testTimeStepOutput(), oofem::NonLinearStatic::updateComponent(), oofem::HydratingHeMoMaterial::updateInternalState(), oofem::HydratingIsoHeatMaterial::updateInternalState(), oofem::NonLinearStatic::updateLoadVectors(), and oofem::AdaptiveNonLinearStatic::updateYourself().
Returns pointer to previous solution step.
Definition at line 97 of file timestep.C.
References eModel, oofem::EngngModel::givePreviousStep(), isTheCurrentTimeStep(), and OOFEM_ERROR.
Referenced by oofem::TR1_2D_SUPG_AXI::computeAccelerationTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeAccelerationTerm_MB(), oofem::SUPGElement2::computeAccelerationTerm_MB(), oofem::TR1_2D_SUPG::computeAccelerationTerm_MB(), oofem::TR1_2D_SUPG2::computeAccelerationTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeAdvectionDerivativeTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeAdvectionDerivativeTerm_MB(), oofem::SUPGElement2::computeAdvectionDerivativeTerm_MB(), oofem::TR1_2D_SUPG::computeAdvectionDerivativeTerm_MB(), oofem::TR1_2D_SUPG2::computeAdvectionDerivativeTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeAdvectionDerivativeTerm_MC(), oofem::TR1_2D_SUPG2_AXI::computeAdvectionDerivativeTerm_MC(), oofem::TR1_2D_SUPG::computeAdvectionDerivativeTerm_MC(), oofem::TR1_2D_SUPG2::computeAdvectionDerivativeTerm_MC(), oofem::TR1_2D_SUPG_AXI::computeAdvectionTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeAdvectionTerm_MB(), oofem::SUPGElement2::computeAdvectionTerm_MB(), oofem::TR1_2D_SUPG::computeAdvectionTerm_MB(), oofem::TR1_2D_SUPG2::computeAdvectionTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeAdvectionTerm_MC(), oofem::TR1_2D_SUPG2_AXI::computeAdvectionTerm_MC(), oofem::TR1_2D_SUPG::computeAdvectionTerm_MC(), oofem::TR1_2D_SUPG2::computeAdvectionTerm_MC(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MB(), oofem::SUPGElement2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2::computeBCRhsTerm_MB(), oofem::TR1_2D_CBS::computeConvectionTermsI(), oofem::TR1_2D_CBS::computeCorrectionRhs(), oofem::TR1_2D_CBS::computeDensityRhsPressureTerms(), oofem::TR1_2D_CBS::computeDensityRhsVelocityTerms(), oofem::TR1_2D_SUPG_AXI::computeDiffusionDerivativeTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeDiffusionDerivativeTerm_MB(), oofem::SUPGElement2::computeDiffusionDerivativeTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeDiffusionTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeDiffusionTerm_MB(), oofem::SUPGElement2::computeDiffusionTerm_MB(), oofem::TR1_2D_SUPG::computeHomogenizedReinforceTerm_MB(), oofem::TR1_2D_SUPG_AXI::computePressureTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computePressureTerm_MB(), oofem::SUPGElement2::computePressureTerm_MB(), oofem::TR1_2D_SUPG::computePressureTerm_MB(), oofem::TR1_2D_SUPG2::computePressureTerm_MB(), oofem::NLTransientTransportProblem::createPreviousSolutionInDofUnknownsDictionary(), oofem::LEPlic::doLagrangianPhase(), oofem::B3Material::giveShrinkageStrainVector(), oofem::B3SolidMaterial::giveShrinkageStrainVector(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::CBS::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::SUPG::updateDofUnknownsDictionary_predictor(), oofem::LevelSetPCS::updatePosition(), oofem::Tet1_3D_SUPG::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG_AXI::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG2_AXI::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG2::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG::updateStabilizationCoeffs(), and oofem::TR21_2D_SUPG::updateStabilizationCoeffs().
Returns current solution state counter.
Definition at line 175 of file timestep.h.
References solutionStateCounter.
Referenced by oofem::MMAShapeFunctProjection::__init(), oofem::ZZErrorEstimator::estimateError(), oofem::HuertaErrorEstimator::estimateError(), oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::ZZRemeshingCriteria::estimateMeshDensities(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::StructuralEngngModel::giveInternalForces(), oofem::StationaryTransportProblem::giveNextStep(), oofem::DarcyFlow::giveNextStep(), oofem::IncrementalLinearStatic::giveNextStep(), oofem::DEIDynamic::giveNextStep(), oofem::LinearStatic::giveNextStep(), oofem::DIIDynamic::giveNextStep(), oofem::NonStationaryTransportProblem::giveNextStep(), oofem::EigenValueDynamic::giveNextStep(), oofem::LinearStability::giveNextStep(), oofem::CBS::giveNextStep(), oofem::StaggeredProblem::giveNextStep(), oofem::StokesFlow::giveNextStep(), oofem::SUPG::giveNextStep(), oofem::NonLinearStatic::giveNextStep(), oofem::NonLinearDynamic::giveNextStep(), oofem::NlDEIDynamic::giveNextStep(), oofem::HellmichMaterial::initAuxStatus(), oofem::HellmichMaterial::initGpForNewStep(), oofem::HellmichMaterial::printOutputAt(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::SPRNodalRecoveryModel::recoverValues(), oofem::EngngModel::restoreContext(), oofem::HellmichMaterial::restoreIPContext(), oofem::HuertaErrorEstimator::saveContext(), oofem::HellmichMaterial::saveIPContext(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage(), oofem::HydratingHeMoMaterial::updateInternalState(), oofem::HydratingIsoHeatMaterial::updateInternalState(), oofem::StructuralEngngModel::updateInternalState(), oofem::NonStationaryTransportProblem::updateInternalState(), oofem::LIBeam3dNL2::updateTempQuaternion(), oofem::LIBeam3dNL::updateTempTriad(), and oofem::LIBeam3d2::updateTempTriad().
| double oofem::TimeStep::giveTargetTime | ( | ) | [inline] |
Returns target time.
Definition at line 136 of file timestep.h.
References targetTime.
Referenced by oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::B3SolidMaterial::computeFlowTermViscosity(), oofem::MPSMaterial::computeFlowTermViscosity(), oofem::CemhydMat::computeInternalSourceVector(), oofem::B3Material::computeShrinkageStrainVector(), oofem::B3SolidMaterial::computeShrinkageStrainVector(), oofem::B3SolidMaterial::computeSolidifiedVolume(), oofem::MPSMaterial::computeSolidifiedVolume(), oofem::MacroLSpace::computeStiffnessMatrix(), oofem::B3Material::computeTotalAverageShrinkageStrainVector(), oofem::B3SolidMaterial::computeTotalAverageShrinkageStrainVector(), oofem::TF1::computeValueAt(), oofem::UserDefinedTemperatureField::computeValueAt(), oofem::DofManExportModule::doOutput(), oofem::GPExportModule::doOutput(), oofem::HOMExportModule::doOutput(), oofem::POIExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::HydratingHeMoMaterial::giveCharacteristicValue(), oofem::HydratingIsoHeatMaterial::giveCharacteristicValue(), oofem::StaggeredProblem::giveDeltaT(), oofem::HellmichMaterial::giveEigenStrainVector(), oofem::KelvinChainMaterial::giveEModulus(), oofem::MaxwellChainMaterial::giveEModulus(), oofem::B3SolidMaterial::giveEModulus(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::DEIDynamic::giveNextStep(), oofem::DIIDynamic::giveNextStep(), oofem::NonStationaryTransportProblem::giveNextStep(), oofem::CBS::giveNextStep(), oofem::StaggeredProblem::giveNextStep(), oofem::StokesFlow::giveNextStep(), oofem::SUPG::giveNextStep(), oofem::NonLinearStatic::giveNextStep(), oofem::NonLinearDynamic::giveNextStep(), oofem::NlDEIDynamic::giveNextStep(), oofem::HydratingConcreteMatStatus::GivePower(), oofem::AbaqusUserMaterial::giveRealStressVector(), oofem::HellmichMaterial::giveTime(), oofem::NLTransientTransportProblem::giveUnknownComponent(), oofem::EigenValueDynamic::giveUnknownComponent(), oofem::LinearStability::giveUnknownComponent(), oofem::NLTransientTransportProblem::giveUnknownDictHashIndx(), oofem::HellmichMaterial::plotStressStrain(), oofem::NonLinearStatic::printOutputAt(), oofem::NonLinearDynamic::printOutputAt(), oofem::NlDEIDynamic::printOutputAt(), oofem::EngngModel::printOutputAt(), oofem::EngngModel::restoreContext(), oofem::FE2FluidMaterialStatus::setTimeStep(), oofem::HuertaErrorEstimator::setupRefinedProblemEpilog2(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::NRSolver2::solve(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::StaggeredProblem::solveYourselfAt(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::LinearStability::terminateLinStatic(), oofem::HydratingHeMoMaterial::updateInternalState(), oofem::HydratingIsoHeatMaterial::updateInternalState(), oofem::HydrationModelInterface::updateInternalState(), and oofem::MaxwellChainMaterial::updateYourself().
Returns time discretization.
Definition at line 181 of file timestep.h.
References timeDiscretization.
Referenced by oofem::DIIDynamic::determineConstants(), oofem::NonLinearDynamic::determineConstants(), oofem::DIIDynamic::giveNextStep(), oofem::NonLinearDynamic::giveNextStep(), and oofem::DIIDynamic::solveYourselfAt().
| double oofem::TimeStep::giveTimeIncrement | ( | ) | [inline] |
Returns solution step associated time increment.
Definition at line 140 of file timestep.h.
References deltaT.
Referenced by oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::KelvinChainSolidMaterial::computeBetaMu(), oofem::MPSMaterial::computeBetaMu(), oofem::TR1_2D_CBS::computeConvectionTermsI(), oofem::TR1_2D_CBS::computeCorrectionRhs(), oofem::TR1_2D_CBS::computeDensityRhsPressureTerms(), oofem::MPSMaterial::computeEquivalentTime(), oofem::B3SolidMaterial::computeFlowTermViscosity(), oofem::MPSMaterial::computeFlowTermViscosity(), oofem::HydratingHeMoMaterial::computeInternalSourceVector(), oofem::HydratingIsoHeatMaterial::computeInternalSourceVector(), oofem::HydrationModel::computeIntSource(), oofem::KelvinChainSolidMaterial::computeLambdaMu(), oofem::MPSMaterial::computeLambdaMu(), oofem::B3SolidMaterial::computeMicroPrestress(), oofem::B3SolidMaterial::computeSolidifiedVolume(), oofem::MPSMaterial::computeSolidifiedVolume(), oofem::Line2SurfaceTension::computeTangent(), oofem::TF1::computeValueAt(), oofem::UserDefinedTemperatureField::computeValueAt(), oofem::DIIDynamic::determineConstants(), oofem::NonLinearDynamic::determineConstants(), oofem::LEPlic::doLagrangianPhase(), oofem::LoadTimeFunction::evaluate(), oofem::TrabBone3D::evaluateCurrentViscousModulus(), oofem::TrabBone3D::evaluateCurrentViscousStress(), oofem::HydratingHeMoMaterial::giveCharacteristicValue(), oofem::HydratingIsoHeatMaterial::giveCharacteristicValue(), oofem::MaxwellChainMaterial::giveEigenStrainVector(), oofem::KelvinChainMaterial::giveEigenStrainVector(), oofem::B3SolidMaterial::giveEigenStrainVector(), oofem::MPSMaterial::giveEigenStrainVector(), oofem::NonStationaryTransportProblem::giveElementCharacteristicMatrix(), oofem::SUPG::giveElementCharacteristicMatrix(), oofem::KelvinChainMaterial::giveEModulus(), oofem::MaxwellChainMaterial::giveEModulus(), oofem::B3SolidMaterial::giveEModulus(), oofem::MPSMaterial::giveEModulus(), oofem::MPSMaterial::giveInitViscosity(), oofem::StokesFlow::giveNextStep(), oofem::AbaqusUserMaterial::giveRealStressVector(), oofem::ConcreteDPM2::giveRealStressVector(), oofem::HellmichMaterial::giveTimeIncrement(), oofem::NLTransientTransportProblem::giveUnknownComponent(), oofem::LevelSetPCS::redistance(), oofem::EngngModel::restoreContext(), oofem::FE2FluidMaterialStatus::setTimeStep(), oofem::NRSolver2::solve(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::CBS::solveYourselfAt(), oofem::SUPG::updateDofUnknownsDictionary_corrector(), oofem::SUPG::updateDofUnknownsDictionary_predictor(), oofem::HydratingHeMoMaterial::updateInternalState(), oofem::HydratingIsoHeatMaterial::updateInternalState(), oofem::HydrationModel::updateInternalState(), oofem::HydrationModelInterface::updateInternalState(), oofem::LevelSetPCS::updatePosition(), oofem::SUPG::updateSolutionVectors(), oofem::SUPG::updateSolutionVectors_predictor(), oofem::Tet1_3D_SUPG::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG_AXI::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG2_AXI::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG2::updateStabilizationCoeffs(), oofem::TR1_2D_SUPG::updateStabilizationCoeffs(), oofem::Quad10_2D_SUPG::updateStabilizationCoeffs(), oofem::Concrete2::updateStirrups(), oofem::KelvinChainMaterial::updateYourself(), oofem::MaxwellChainMaterial::updateYourself(), and oofem::Node::updateYourself().
| int oofem::TimeStep::giveVersion | ( | ) | [inline] |
Returns receiver's version.
Definition at line 125 of file timestep.h.
References version.
Referenced by oofem::NonLinearStatic::proceedStep().
| void oofem::TimeStep::incrementStateCounter | ( | ) | [inline] |
Updates solution state counter.
Definition at line 177 of file timestep.h.
References solutionStateCounter.
Referenced by oofem::CylindricalALM::do_lineSearch(), oofem::HuertaErrorEstimator::estimateError(), oofem::StructuralEngngModel::giveInternalForces(), oofem::LineSearchNM::solve(), oofem::NRSolver::solve(), oofem::NRSolver2::solve(), oofem::CylindricalALM::solve(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::StaggeredProblem::solveYourselfAt(), oofem::CBS::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), and oofem::NlDEIDynamic::solveYourselfAt().
| void oofem::TimeStep::incrementVersion | ( | ) | [inline] |
Increments receiver's version.
Definition at line 179 of file timestep.h.
References version.
Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap().
| IRResultType oofem::TimeStep::initializeFrom | ( | InputRecord * | ir | ) | [inline] |
Definition at line 183 of file timestep.h.
References oofem::IRRT_OK.
| bool oofem::TimeStep::isIcApply | ( | ) |
Check if receiver is solution step when initial conditions should apply.
Definition at line 127 of file timestep.C.
References eModel, oofem::EngngModel::giveNumberOfTimeStepWhenIcApply(), and number.
| bool oofem::TimeStep::isNotTheLastStep | ( | ) |
Check if solution step is not the last step.
Definition at line 110 of file timestep.C.
References eModel, oofem::EngngModel::giveNumberOfSteps(), and number.
Referenced by oofem::EngngModel::balanceLoad().
Check if receiver is current solution step.
Definition at line 138 of file timestep.C.
References eModel, and oofem::EngngModel::giveCurrentStep().
Referenced by givePreviousStep(), oofem::Node::giveUpdatedCoordinate(), and oofem::Node::giveUpdatedCoordinates().
| bool oofem::TimeStep::isTheFirstStep | ( | ) |
Check if receiver is first step.
Definition at line 117 of file timestep.C.
References eModel, oofem::EngngModel::giveNumberOfFirstStep(), and number.
Referenced by oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::EngngModel::balanceLoad(), oofem::MPSMaterial::computeEquivalentTime(), oofem::MPSMaterial::computeFlowTermViscosity(), oofem::B3SolidMaterial::computeMicroPrestress(), oofem::TF1::computeValueAt(), oofem::UserDefinedTemperatureField::computeValueAt(), oofem::LoadTimeFunction::evaluate(), oofem::Dof::giveBcValue(), oofem::MPSMaterial::giveEigenStrainVector(), oofem::MPSMaterial::giveEModulus(), oofem::B3Material::giveShrinkageStrainVector(), oofem::B3SolidMaterial::giveShrinkageStrainVector(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), and oofem::NonStationaryTransportProblem::solveYourselfAt().
Definition at line 80 of file timestep.C.
References deltaT, eModel, intrinsicTime, mstepNumber, number, solutionStateCounter, targetTime, and version.
| contextIOResultType oofem::TimeStep::restoreContext | ( | DataStream * | stream, |
| ContextMode | mode, | ||
| void * | obj = NULL |
||
| ) |
Restores the receiver state previously written in stream.
Definition at line 189 of file timestep.C.
References oofem::CIO_IOERR, oofem::CIO_OK, mstepNumber, number, oofem::DataStream::read(), THROW_CIOERR, and timeDiscretization.
Referenced by oofem::PrimaryField::restoreContext(), and oofem::EngngModel::restoreContext().
| contextIOResultType oofem::TimeStep::saveContext | ( | DataStream * | stream, |
| ContextMode | mode, | ||
| void * | obj = NULL |
||
| ) |
Stores receiver state to output stream.
Receiver should write class-id first in order to allow test whether correct data are then restored.
| stream | Output stream. |
| mode | Determines amount of info required in stream (state, definition,...). |
| obj | Special parameter, used only to send particular integration. point to material class version of this method. Except this case, obj parameter is always NULL pointer. |
| ContextIOERR | If error encountered. |
Definition at line 146 of file timestep.C.
References oofem::CIO_IOERR, oofem::CIO_OK, mstepNumber, number, THROW_CIOERR, timeDiscretization, and oofem::DataStream::write().
Referenced by oofem::PrimaryField::saveContext().
| void oofem::TimeStep::setIntrinsicTime | ( | double | newt | ) | [inline] |
Sets only intrinsic time.
Definition at line 148 of file timestep.h.
References intrinsicTime.
Referenced by oofem::MacroLSpace::computeStiffnessMatrix(), oofem::MacroLSpace::giveInternalForcesVector(), and oofem::NonStationaryTransportProblem::giveNextStep().
| void oofem::TimeStep::setNumber | ( | int | i | ) | [inline] |
Set receiver's number.
Definition at line 123 of file timestep.h.
References number.
Referenced by oofem::FE2FluidMaterialStatus::setTimeStep(), oofem::EigenValueDynamic::terminate(), and oofem::LinearStability::terminate().
| void oofem::TimeStep::setTargetTime | ( | double | newt | ) | [inline] |
Sets only target time.
Definition at line 146 of file timestep.h.
References targetTime.
Referenced by oofem::MacroLSpace::computeStiffnessMatrix(), and oofem::MacroLSpace::giveInternalForcesVector().
| void oofem::TimeStep::setTime | ( | double | newt | ) | [inline] |
Sets target and intrinsic time to be equal.
Definition at line 144 of file timestep.h.
References intrinsicTime, and targetTime.
Referenced by oofem::EigenValueDynamic::restoreContext(), oofem::LinearStability::restoreContext(), oofem::FE2FluidMaterialStatus::setTimeStep(), oofem::EigenValueDynamic::terminate(), oofem::LinearStability::terminate(), and oofem::LinearStability::terminateLinStatic().
| void oofem::TimeStep::setTimeDiscretization | ( | TimeDiscretizationType | td | ) | [inline] |
Sets time discretization.
Definition at line 150 of file timestep.h.
References timeDiscretization.
Referenced by oofem::DIIDynamic::determineConstants().
| void oofem::TimeStep::setTimeIncrement | ( | double | newDt | ) | [inline] |
Sets solution step time increment.
Definition at line 142 of file timestep.h.
References deltaT.
Referenced by oofem::MacroLSpace::computeStiffnessMatrix(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::FE2FluidMaterialStatus::setTimeStep(), oofem::DEIDynamic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), and oofem::HydrationModelInterface::updateInternalState().
double oofem::TimeStep::deltaT [protected] |
Current intrinsic time increment.
Definition at line 88 of file timestep.h.
Referenced by giveTimeIncrement(), operator=(), setTimeIncrement(), and TimeStep().
EngngModel* oofem::TimeStep::eModel [protected] |
Engineering model reference.
Definition at line 82 of file timestep.h.
Referenced by givePreviousStep(), isIcApply(), isNotTheLastStep(), isTheCurrentTimeStep(), isTheFirstStep(), operator=(), and TimeStep().
double oofem::TimeStep::intrinsicTime [protected] |
Current intrinsic time, which may represents imposing time of boundary condition or time entering constitutive laws.
Definition at line 86 of file timestep.h.
Referenced by giveIntrinsicTime(), operator=(), setIntrinsicTime(), setTime(), and TimeStep().
int oofem::TimeStep::mstepNumber [protected] |
Corresponding meta step number.
Definition at line 100 of file timestep.h.
Referenced by giveMetaStepNumber(), operator=(), restoreContext(), saveContext(), and TimeStep().
int oofem::TimeStep::number [protected] |
Receiver's number.
Definition at line 92 of file timestep.h.
Referenced by giveNumber(), isIcApply(), isNotTheLastStep(), isTheFirstStep(), operator=(), restoreContext(), saveContext(), setNumber(), and TimeStep().
Solution state counter.
Definition at line 90 of file timestep.h.
Referenced by giveSolutionStateCounter(), incrementStateCounter(), operator=(), and TimeStep().
double oofem::TimeStep::targetTime [protected] |
Current target time, which represents time at the end of a time step.
Definition at line 84 of file timestep.h.
Referenced by giveTargetTime(), operator=(), setTargetTime(), setTime(), and TimeStep().
Time discretization.
Definition at line 102 of file timestep.h.
Referenced by giveTimeDiscretization(), restoreContext(), saveContext(), and setTimeDiscretization().
int oofem::TimeStep::version [protected] |
Receiver's version, used for special applications; default set to 0.
Typically, new version of same step is generated after adaptive restart, when the restarted step is equilibrated on new domain.
Definition at line 98 of file timestep.h.
Referenced by giveVersion(), incrementVersion(), operator=(), and TimeStep().