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

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. More...
 
 TimeStep (const TimeStep &)
 
 TimeStep (const TimeStep &previous, double dt)
 Convenience ctor for constructing the next timestep based on the previous one. More...
 
 TimeStep (EngngModel *e)
 
TimeStepoperator= (const TimeStep &)
 
int giveNumber ()
 Returns receiver's number. More...
 
void setNumber (int i)
 Set receiver's number. More...
 
int giveVersion ()
 Returns receiver's version. More...
 
int giveMetaStepNumber ()
 Returns receiver's meta step number. More...
 
int giveSubStepNumber ()
 Returns receiver's substep number. More...
 
const char * giveClassName () const
 Returns class name of receiver. More...
 
TimeStepgivePreviousStep ()
 Returns pointer to previous solution step. More...
 
double giveTargetTime ()
 Returns target time. More...
 
double giveIntrinsicTime ()
 Returns intrinsic time, e.g. time in which constitutive model is evaluated. More...
 
double giveTimeIncrement ()
 Returns solution step associated time increment. More...
 
void setTimeIncrement (double newDt)
 Sets solution step time increment. More...
 
void setTime (double newt)
 Sets target and intrinsic time to be equal. More...
 
void setTargetTime (double newt)
 Sets only target time. More...
 
void setIntrinsicTime (double newt)
 Sets only intrinsic time. More...
 
void setTimeDiscretization (TimeDiscretizationType td)
 Sets time discretization. More...
 
bool isNotTheLastStep ()
 Check if solution step is not the last step. More...
 
bool isTheFirstStep ()
 Check if receiver is first step. More...
 
bool isTheCurrentTimeStep ()
 Check if receiver is current solution step. More...
 
bool isIcApply ()
 Check if receiver is solution step when initial conditions should apply. More...
 
StateCounterType giveSolutionStateCounter ()
 Returns current solution state counter. More...
 
void incrementStateCounter ()
 Updates solution state counter. More...
 
void incrementVersion ()
 Increments receiver's version. More...
 
void incrementSubStepNumber ()
 Increments receiver's substep number. More...
 
TimeDiscretizationType giveTimeDiscretization ()
 Returns time discretization. More...
 
IRResultType initializeFrom (InputRecord *ir)
 
contextIOResultType saveContext (DataStream &stream, ContextMode mode, void *obj=NULL)
 Stores receiver state to output stream. More...
 
contextIOResultType restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL)
 Restores the receiver state previously written in stream. More...
 
std::string errorInfo (const char *func)
 

Protected Attributes

EngngModeleModel
 Engineering model reference. More...
 
double targetTime
 Current target time, which represents time at the end of a time step. More...
 
double intrinsicTime
 Current intrinsic time, which may represents imposing time of boundary condition or time entering constitutive laws. More...
 
double deltaT
 Current intrinsic time increment. More...
 
StateCounterType solutionStateCounter
 Solution state counter. More...
 
int number
 Receiver's number. More...
 
int version
 Receiver's version, used for special applications; default set to 0. More...
 
int subStepNumber
 Receiver's substep (iteration) number. More...
 
int mStepNumber
 Corresponding meta step number. More...
 
TimeDiscretizationType timeDiscretization
 Time discretization. More...
 

Detailed Description

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 80 of file timestep.h.

Constructor & Destructor Documentation

oofem::TimeStep::TimeStep ( int  n,
EngngModel e,
int  mn,
double  tt,
double  dt,
StateCounterType  counter,
TimeDiscretizationType  td = TD_Unspecified 
)

Creates a new solution step.

Parameters
nSolution step number.
eReference to corresponding engng model.
mnMeta step number.
ttIntrinsic time.
dtIntrinsic time increment.
counterSolution state counter.
tdTime discretization.

Definition at line 48 of file timestep.C.

oofem::TimeStep::TimeStep ( const TimeStep src)
oofem::TimeStep::TimeStep ( const TimeStep previous,
double  dt 
)

Convenience ctor for constructing the next timestep based on the previous one.

Definition at line 81 of file timestep.C.

References deltaT, eModel, intrinsicTime, mStepNumber, number, solutionStateCounter, subStepNumber, targetTime, and version.

oofem::TimeStep::TimeStep ( EngngModel e)

Member Function Documentation

std :: string oofem::TimeStep::errorInfo ( const char *  func)
inline

Definition at line 217 of file timestep.h.

const char* oofem::TimeStep::giveClassName ( ) const
inline

Returns class name of receiver.

Returns
Pointer to s parameter filled with name.

Definition at line 142 of file timestep.h.

double oofem::TimeStep::giveIntrinsicTime ( )
inline

Returns intrinsic time, e.g. time in which constitutive model is evaluated.

Definition at line 148 of file timestep.h.

Referenced by oofem::LinearConstraintBC::assemble(), oofem::LinearConstraintBC::assembleVector(), oofem::MPSMaterial::computeB4AutogenousShrinkageStrainVector(), oofem::Eurocode2CreepMaterial::computeEquivalentMaturity(), oofem::MPSMaterial::computeEquivalentTime(), oofem::MPSMaterial::computeFibAutogenousShrinkageStrainVector(), oofem::MPSMaterial::computeFlowTermViscosity(), oofem::KelvinChainSolidMaterial::computeHiddenVars(), oofem::KelvinChainMaterial::computeHiddenVars(), oofem::MacroLSpace::computeStiffnessMatrix(), oofem::RheoChainMaterial::computeStressIndependentStrainVector(), oofem::StructuralMaterial::computeStressIndependentStrainVector(), oofem::LatticeDamage2d::computeStressIndependentStrainVector(), oofem::StructuralMaterial::computeStressIndependentStrainVector_3d(), oofem::HOMExportModule::doOutput(), oofem::StructuralMaterialEvaluator::doStepOutput(), oofem::FluidMaterialEvaluator::doStepOutput(), oofem::Function::evaluate(), oofem::IsotropicHeatTransferMaterial::give(), oofem::BoundaryCondition::give(), oofem::MisesMat::give(), oofem::IsotropicLinearElasticMaterial::give1dStressStiffMtrx(), oofem::RheoChainMaterial::give1dStressStiffMtrx(), oofem::RheoChainMaterial::give2dLatticeStiffMtrx(), oofem::RheoChainMaterial::give3dLatticeStiffMtrx(), oofem::OrthotropicLinearElasticMaterial::give3dLocalMaterialStiffnessMatrix(), oofem::SimpleVitrificationMaterial::give3dMaterialStiffnessMatrix(), oofem::AnisotropicLinearElasticMaterial::give3dMaterialStiffnessMatrix(), oofem::IsotropicLinearElasticMaterial::give3dMaterialStiffnessMatrix(), oofem::RheoChainMaterial::give3dMaterialStiffnessMatrix(), oofem::KelvinChainMaterial::giveEigenStrainVector(), oofem::KelvinChainSolidMaterial::giveEigenStrainVector(), oofem::MaxwellChainMaterial::giveEigenStrainVector(), oofem::MPSMaterial::giveEigenStrainVector(), oofem::KelvinChainSolidMaterial::giveEModulus(), oofem::KelvinChainMaterial::giveEModulus(), oofem::MaxwellChainMaterial::giveEModulus(), oofem::MPSMaterial::giveEModulus(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::IsotropicLinearElasticMaterial::givePlaneStrainStiffMtrx(), oofem::RheoChainMaterial::givePlaneStrainStiffMtrx(), oofem::IsotropicLinearElasticMaterial::givePlaneStressStiffMtrx(), oofem::RheoChainMaterial::givePlaneStressStiffMtrx(), oofem::HydratingConcreteMat::GivePower(), oofem::RheoChainMaterial::giveRealStressVector(), oofem::LinearElasticMaterial::giveRealStressVector_Warping(), oofem::SimpleVitrificationMaterial::giveThermalDilatationVector(), oofem::Material::isActivated(), oofem::Element::isActivated(), oofem::Element::isCast(), oofem::GeneralBoundaryCondition::isImposed(), oofem::HydratingConcreteMatStatus::printOutputAt(), oofem::NonLinearStatic::proceedStep(), oofem::StructuralMaterialEvaluator::solveYourself(), oofem::FluidMaterialEvaluator::solveYourself(), oofem::NLTransientTransportProblem::updateYourself(), and oofem::HydratingConcreteMatStatus::updateYourself().

int oofem::TimeStep::giveNumber ( )
inline

Returns receiver's number.

Definition at line 129 of file timestep.h.

Referenced by oofem::PrimaryField::advanceSolution(), oofem::AdaptiveNonLinearStatic::assembleInitialLoadVector(), oofem::NodeErrorCheckingRule::check(), oofem::ElementErrorCheckingRule::check(), oofem::BeamElementErrorCheckingRule::check(), oofem::ReactionErrorCheckingRule::check(), oofem::LoadLevelErrorCheckingRule::check(), oofem::EigenValueErrorCheckingRule::check(), oofem::WeakPeriodicBoundaryCondition::computeElementTangent(), oofem::MacroLSpace::computeStiffnessMatrix(), oofem::tet21ghostsolid::computeStiffnessMatrix(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::LEPlic::doInterfaceRemapping(), oofem::OutputExportModule::doOutput(), oofem::VTKXMLExportModule::doOutput(), oofem::ParticleTopologyDescription::doOutput(), oofem::HuertaErrorEstimator::estimateError(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::ExportModule::giveOutputBaseFileName(), oofem::MatlabExportModule::giveOutputStream(), oofem::HydratingConcreteMat::GivePower(), oofem::MasterDof::giveUnknown(), oofem::NLTransientTransportProblem::giveUnknownDictHashIndx(), oofem::TransientTransportProblem::giveUnknownDictHashIndx(), oofem::StaticStructural::giveUnknownDictHashIndx(), oofem::IncrementalLinearStatic::giveUnknownDictHashIndx(), oofem::SUPG::giveUnknownDictHashIndx(), oofem::PFEM::giveUnknownDictHashIndx(), oofem::NonLinearDynamic::printOutputAt(), oofem::NonLinearStatic::printOutputAt(), oofem::NlDEIDynamic::printOutputAt(), oofem::NonLinearStatic::proceedStep(), oofem::GeometryBasedEI::propagateFronts(), oofem::PrimaryField::resolveIndx(), oofem::EngngModel::saveStepContext(), oofem::RVEStokesFlowMaterialStatus::setTimeStep(), oofem::StructuralFE2MaterialStatus::setTimeStep(), oofem::FE2FluidMaterialStatus::setTimeStep(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::CylindricalALM::solve(), oofem::IntElLine1PF::solveForLocalDamage(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::HuertaErrorEstimator::solveRefinedWholeProblem(), oofem::StaggeredProblem::solveYourself(), oofem::DarcyFlow::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::FluidStructureProblem::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::EigenValueDynamic::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::StaticStructural::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::StaggeredProblem::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::LinearStability::terminateLinStatic(), oofem::OutputManager::testTimeStepOutput(), oofem::ExportModule::testTimeStepOutput(), oofem::NonLinearStatic::updateComponent(), oofem::HydratingHeMoMaterial::updateInternalState(), oofem::HydratingIsoHeatMaterial::updateInternalState(), oofem::NonLinearStatic::updateLoadVectors(), oofem::AdaptiveNonLinearStatic::updateYourself(), oofem::ErrorCheckingExportModule::writeCheck(), and oofem::GeometryBasedEI::writeVtkDebug().

TimeStep * oofem::TimeStep::givePreviousStep ( )

Returns pointer to previous solution step.

Definition at line 114 of file timestep.C.

References eModel, oofem::EngngModel::givePreviousStep(), isTheCurrentTimeStep(), and OOFEM_ERROR.

Referenced by oofem::DofDistributedPrimaryField::advanceSolution(), oofem::EngngModel::assembleExtrapolatedForces(), oofem::TR1_2D_SUPG_AXI::computeAccelerationTerm_MB(), oofem::SUPGElement2::computeAccelerationTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeAccelerationTerm_MB(), oofem::TR1_2D_SUPG::computeAccelerationTerm_MB(), oofem::TR1_2D_SUPG2::computeAccelerationTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeAdvectionDerivativeTerm_MB(), oofem::SUPGElement2::computeAdvectionDerivativeTerm_MB(), oofem::TR1_2D_SUPG2_AXI::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::SUPGElement2::computeAdvectionTerm_MB(), oofem::TR1_2D_SUPG2_AXI::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::SUPGElement2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2::computeBCRhsTerm_MB(), oofem::TR1_2D_CBS::computeConvectionTermsI(), oofem::TR1_2D_CBS::computeCorrectionRhs(), oofem::TR1_2D_CBS::computeDensityRhsPressureTerms(), oofem::TR1_2D_SUPG_AXI::computeDiffusionDerivativeTerm_MB(), oofem::SUPGElement2::computeDiffusionDerivativeTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeDiffusionDerivativeTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeDiffusionTerm_MB(), oofem::SUPGElement2::computeDiffusionTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeDiffusionTerm_MB(), oofem::TR1_2D_SUPG::computeHomogenizedReinforceTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeLoadVector(), oofem::SUPGElement2::computeLoadVector(), oofem::TR1_2D_SUPG::computeLoadVector(), oofem::TR1_2D_SUPG_AXI::computePressureTerm_MB(), oofem::SUPGElement2::computePressureTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computePressureTerm_MB(), oofem::TR1_2D_SUPG::computePressureTerm_MB(), oofem::TR1_2D_SUPG2::computePressureTerm_MB(), oofem::tet21ghostsolid::computeStiffnessMatrix(), oofem::NLTransientTransportProblem::createPreviousSolutionInDofUnknownsDictionary(), oofem::LEPlic::doLagrangianPhase(), oofem::tet21ghostsolid::giveInternalForcesVectorGivenSolution(), oofem::tet21ghostsolid::giveInternalForcesVectorGivenSolutionDebug(), oofem::B3Material::giveShrinkageStrainVector(), oofem::B3SolidMaterial::giveShrinkageStrainVector(), oofem::TransientTransportProblem::giveUnknownComponent(), oofem::StaticStructural::giveUnknownComponent(), oofem::tet21ghostsolid::giveUnknownData(), oofem::DofDistributedPrimaryField::giveUnknownValue(), oofem::PrimaryField::readDofManager(), oofem::StaticStructural::requiresEquationRenumbering(), oofem::TransientTransportProblem::requiresEquationRenumbering(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::StaticStructural::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::CBS::solveYourselfAt(), oofem::PrimaryField::storeDofManager(), oofem::TransientTransportProblem::updateComponent(), oofem::IncrementalLinearStatic::updateDofUnknownsDictionary(), 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().

int oofem::TimeStep::giveSubStepNumber ( )
inline
double oofem::TimeStep::giveTargetTime ( )
inline

Returns target time.

Definition at line 146 of file timestep.h.

Referenced by oofem::DofDistributedPrimaryField::applyBoundaryCondition(), oofem::PrimaryField::applyBoundaryCondition(), oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::PrescribedGradientBCNeumann::assembleVector(), oofem::TransportGradientNeumann::assembleVector(), oofem::StructuralPythonMaterial::callStressFunction(), oofem::StructuralPythonMaterial::callTangentFunction(), oofem::PrescribedGradientBCWeak::computeExtForceElContrib(), oofem::B3SolidMaterial::computeFlowTermViscosity(), oofem::MPSMaterial::computeFlowTermViscosity(), oofem::MaxwellChainMaterial::computeHiddenVars(), oofem::CemhydMat::computeInternalSourceVector(), oofem::B3Material::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::OutputExportModule::doOutput(), oofem::GnuplotExportModule::doOutput(), oofem::POIExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::MatlabExportModule::doOutput(), oofem::VTKXMLExportModule::doOutput(), oofem::Function::evaluate(), oofem::BoundaryCondition::give(), oofem::PrescribedGradientBCPeriodic::giveBcValue(), oofem::TransportGradientPeriodic::giveBcValue(), oofem::HydratingHeMoMaterial::giveCharacteristicValue(), oofem::HydratingIsoHeatMaterial::giveCharacteristicValue(), oofem::KelvinChainMaterial::giveEModulus(), oofem::MaxwellChainMaterial::giveEModulus(), oofem::B3SolidMaterial::giveEModulus(), oofem::Eurocode2CreepMaterial::giveEModulus(), oofem::AbaqusUserMaterial::giveFirstPKStressVector_3d(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::AbaqusUserElement::giveInternalForcesVector(), oofem::HydratingConcreteMat::GivePower(), oofem::AbaqusUserMaterial::giveRealStressVector_3d(), oofem::Eurocode2CreepMaterial::giveShrinkageStrainVector(), oofem::PrescribedGradientBCPeriodic::giveUnknown(), oofem::TransportGradientPeriodic::giveUnknown(), oofem::NLTransientTransportProblem::giveUnknownComponent(), oofem::EigenValueDynamic::giveUnknownComponent(), oofem::LinearStability::giveUnknownComponent(), oofem::NLTransientTransportProblem::giveUnknownDictHashIndx(), oofem::GnuplotExportModule::outputBoundaryCondition(), oofem::GnuplotExportModule::outputGradient(), oofem::GnuplotExportModule::outputInterfaceEl(), oofem::GnuplotExportModule::outputMesh(), oofem::GnuplotExportModule::outputReactionForces(), oofem::GnuplotExportModule::outputXFEM(), oofem::GnuplotExportModule::outputXFEMGeometry(), oofem::NonLinearDynamic::printOutputAt(), oofem::NonLinearStatic::printOutputAt(), oofem::NlDEIDynamic::printOutputAt(), oofem::EngngModel::printOutputAt(), oofem::RVEStokesFlowMaterialStatus::setTimeStep(), oofem::StructuralFE2MaterialStatus::setTimeStep(), oofem::FE2FluidMaterialStatus::setTimeStep(), oofem::PatchIntegrationRule::SetUpPointsOnTriangle(), oofem::PatchIntegrationRule::SetUpPointsOnWedge(), oofem::HuertaErrorEstimator::setupRefinedProblemEpilog2(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::StaggeredProblem::solveYourself(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::FluidStructureProblem::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::StaggeredProblem::solveYourselfAt(), oofem::HydratingHeMoMaterial::updateInternalState(), oofem::HydratingIsoHeatMaterial::updateInternalState(), oofem::HydrationModelInterface::updateInternalState(), oofem::NLTransientTransportProblem::updateYourself(), and oofem::XfemStructuralElementInterface::XfemElementInterface_updateIntegrationRule().

TimeDiscretizationType oofem::TimeStep::giveTimeDiscretization ( )
inline
double oofem::TimeStep::giveTimeIncrement ( )
inline

Returns solution step associated time increment.

Definition at line 150 of file timestep.h.

Referenced by oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::DofDistributedPrimaryField::applyInitialCondition(), oofem::PrimaryField::applyInitialCondition(), oofem::NLTransientTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::NonStationaryTransportProblem::assembleAlgorithmicPartOfRhs(), oofem::NonStationaryTransportProblem::assembleDirichletBcRhsVector(), oofem::MPSMaterial::computeB4AutogenousShrinkageStrainVector(), oofem::KelvinChainSolidMaterial::computeBetaMu(), oofem::MPSMaterial::computeBetaMu(), oofem::TR1_2D_CBS::computeConvectionTermsI(), oofem::TR1_2D_CBS::computeCorrectionRhs(), oofem::TR1_2D_PFEM::computeCriticalTimeStep(), oofem::TR1_2D_CBS::computeDensityRhsPressureTerms(), oofem::Eurocode2CreepMaterial::computeEquivalentMaturity(), oofem::MPSMaterial::computeEquivalentTime(), oofem::MPSMaterial::computeFibAutogenousShrinkageStrainVector(), oofem::B3SolidMaterial::computeFlowTermViscosity(), oofem::MPSMaterial::computeFlowTermViscosity(), oofem::MaxwellChainMaterial::computeHiddenVars(), oofem::KelvinChainMaterial::computeHiddenVars(), oofem::SteelRelaxMat::computeIncrOfPrestressLossAtVarStrain(), oofem::HydratingHeMoMaterial::computeInternalSourceVector(), oofem::HydratingIsoHeatMaterial::computeInternalSourceVector(), oofem::HydrationModel::computeIntSource(), oofem::KelvinChainSolidMaterial::computeLambdaMu(), oofem::MPSMaterial::computeLambdaMu(), oofem::B3SolidMaterial::computeMicroPrestress(), oofem::PhaseFieldElement::computeNStress_d(), oofem::B3SolidMaterial::computeSolidifiedVolume(), oofem::MPSMaterial::computeSolidifiedVolume(), oofem::PhaseFieldElement::computeStiffnessMatrix_dd(), oofem::IntElLine1PF::computeStiffnessMatrix_dd(), oofem::SteelRelaxMat::computeStressRelaxationStrainVector(), oofem::TF1::computeValueAt(), oofem::UserDefinedTemperatureField::computeValueAt(), oofem::DIIDynamic::determineConstants(), oofem::NonLinearDynamic::determineConstants(), oofem::LEPlic::doLagrangianPhase(), oofem::Function::evaluate(), oofem::TrabBone3D::evaluateCurrentViscousModulus(), oofem::TrabBone3D::evaluateCurrentViscousStress(), oofem::ParticleTopologyDescription::findDisplacement(), oofem::BoundaryCondition::give(), oofem::HydratingHeMoMaterial::giveCharacteristicValue(), oofem::HydratingIsoHeatMaterial::giveCharacteristicValue(), oofem::KelvinChainMaterial::giveEigenStrainVector(), oofem::MaxwellChainMaterial::giveEigenStrainVector(), oofem::B3SolidMaterial::giveEigenStrainVector(), oofem::MPSMaterial::giveEigenStrainVector(), oofem::KelvinChainMaterial::giveEModulus(), oofem::MaxwellChainMaterial::giveEModulus(), oofem::B3SolidMaterial::giveEModulus(), oofem::Eurocode2CreepMaterial::giveEModulus(), oofem::MPSMaterial::giveEModulus(), oofem::AbaqusUserMaterial::giveFirstPKStressVector_3d(), oofem::IntMatBilinearCZFagerstromRate::giveFirstPKTraction_3d(), oofem::MPSMaterial::giveInitViscosity(), oofem::AbaqusUserElement::giveInternalForcesVector(), oofem::IntElLine1PF::giveInternalForcesVectorUD(), oofem::ConcreteDPM2::giveRealStressVector_1d(), oofem::AbaqusUserMaterial::giveRealStressVector_3d(), oofem::ConcreteDPM2::giveRealStressVector_3d(), oofem::Eurocode2CreepMaterial::giveShrinkageStrainVector(), oofem::TransientTransportProblem::giveUnknownComponent(), oofem::NonLinearStatic::giveUnknownComponent(), oofem::DofDistributedPrimaryField::giveUnknownValue(), oofem::Node::giveUpdatedCoordinate(), oofem::MidpointLhsAssembler::matrixFromElement(), oofem::SUPGTangentAssembler::matrixFromElement(), oofem::LevelSetPCS::redistance(), oofem::RVEStokesFlowMaterialStatus::setTimeStep(), oofem::StructuralFE2MaterialStatus::setTimeStep(), oofem::FE2FluidMaterialStatus::setTimeStep(), oofem::IntElLine1PF::solveForLocalDamage(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::CBS::solveYourselfAt(), oofem::TransientTransportProblem::updateComponent(), 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::NLTransientTransportProblem::updateYourself(), oofem::HydratingConcreteMatStatus::updateYourself(), and oofem::Node::updateYourself().

void oofem::TimeStep::incrementSubStepNumber ( )
inline

Increments receiver's substep number.

Definition at line 194 of file timestep.h.

Referenced by oofem::DynamicRelaxationSolver::solve(), oofem::StaggeredSolver::solve(), oofem::NRSolver::solve(), and oofem::CylindricalALM::solve().

void oofem::TimeStep::incrementVersion ( )
inline

Increments receiver's version.

Definition at line 192 of file timestep.h.

Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap().

IRResultType oofem::TimeStep::initializeFrom ( InputRecord ir)
inline

Definition at line 198 of file timestep.h.

References oofem::IRRT_OK.

bool oofem::TimeStep::isIcApply ( )

Check if receiver is solution step when initial conditions should apply.

Returns
True if ic apply, false otherwise.

Definition at line 144 of file timestep.C.

References eModel, oofem::EngngModel::giveNumberOfTimeStepWhenIcApply(), and number.

Referenced by oofem::NLTransientTransportProblem::giveUnknownComponent(), oofem::TransportElement::updateInternalState(), oofem::HydratingConcreteMatStatus::updateYourself(), and oofem::CemhydMatStatus::updateYourself().

bool oofem::TimeStep::isNotTheLastStep ( )

Check if solution step is not the last step.

Returns
True if not last step, false otherwise.

Definition at line 127 of file timestep.C.

References eModel, oofem::EngngModel::giveNumberOfSteps(), and number.

Referenced by oofem::EngngModel::balanceLoad(), oofem::ErrorCheckingExportModule::doOutput(), and oofem::ErrorCheckingExportModule::writeCheck().

bool oofem::TimeStep::isTheCurrentTimeStep ( )

Check if receiver is current solution step.

Returns
True if receiver is current step, false otherwise.

Definition at line 155 of file timestep.C.

References eModel, and oofem::EngngModel::giveCurrentStep().

Referenced by oofem::StructuralFE2MaterialStatus::computeTangent(), oofem::FE2FluidMaterialStatus::computeTangents(), givePreviousStep(), oofem::Node::giveUpdatedCoordinate(), and oofem::Node::giveUpdatedCoordinates().

bool oofem::TimeStep::isTheFirstStep ( )

Check if receiver is first step.

Returns
True if receiver is the first step, false otherwise.

Definition at line 134 of file timestep.C.

References eModel, oofem::EngngModel::giveNumberOfFirstStep(), and number.

Referenced by oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::EngngModel::assembleExtrapolatedForces(), oofem::EngngModel::balanceLoad(), oofem::MPSMaterial::computeB4AutogenousShrinkageStrainVector(), oofem::LatticeTransportMaterial::computeConductivity(), oofem::ConcreteDPM2::computeDamage(), oofem::Eurocode2CreepMaterial::computeEquivalentMaturity(), oofem::MPSMaterial::computeEquivalentTime(), oofem::MPSMaterial::computeFibAutogenousShrinkageStrainVector(), oofem::MPSMaterial::computeFlowTermViscosity(), oofem::B3SolidMaterial::computeMicroPrestress(), oofem::tet21ghostsolid::computeStiffnessMatrix(), oofem::TF1::computeValueAt(), oofem::UserDefinedTemperatureField::computeValueAt(), oofem::NonLinearDynamic::determineConstants(), oofem::StructuralMaterialEvaluator::doStepOutput(), oofem::FluidMaterialEvaluator::doStepOutput(), oofem::Dof::giveBcValue(), oofem::MPSMaterial::giveEigenStrainVector(), oofem::MPSMaterial::giveEModulus(), oofem::tet21ghostsolid::giveInternalForcesVectorGivenSolution(), oofem::tet21ghostsolid::giveInternalForcesVectorGivenSolutionDebug(), oofem::LatticeDamage2d::giveRealStressVector(), oofem::B3Material::giveShrinkageStrainVector(), oofem::B3SolidMaterial::giveShrinkageStrainVector(), oofem::tet21ghostsolid::giveUnknownData(), oofem::DIIDynamic::initializeYourself(), oofem::NonLinearDynamic::initializeYourself(), oofem::StaticStructural::requiresEquationRenumbering(), oofem::TransientTransportProblem::requiresEquationRenumbering(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::FluidStructureProblem::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::CBS::solveYourselfAt(), and oofem::ErrorCheckingExportModule::writeCheck().

TimeStep & oofem::TimeStep::operator= ( const TimeStep src)
contextIOResultType oofem::TimeStep::restoreContext ( DataStream stream,
ContextMode  mode,
void *  obj = NULL 
)

Restores the receiver state previously written in stream.

See also
saveContext member function.

Definition at line 206 of file timestep.C.

References oofem::CIO_IOERR, oofem::CIO_OK, mStepNumber, number, oofem::DataStream::read(), THROW_CIOERR, and timeDiscretization.

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.

Parameters
streamOutput stream.
modeDetermines amount of info required in stream (state, definition,...).
objSpecial parameter, used only to send particular integration. point to material class version of this method. Except this case, obj parameter is always NULL pointer.
Exceptions
ContextIOERRIf error encountered.

Definition at line 163 of file timestep.C.

References oofem::CIO_IOERR, oofem::CIO_OK, mStepNumber, number, THROW_CIOERR, timeDiscretization, and oofem::DataStream::write().

void oofem::TimeStep::setIntrinsicTime ( double  newt)
inline
void oofem::TimeStep::setTargetTime ( double  newt)
inline

Sets only target time.

Definition at line 159 of file timestep.h.

Referenced by oofem::MacroLSpace::computeStiffnessMatrix(), and oofem::MacroLSpace::giveInternalForcesVector().

void oofem::TimeStep::setTimeDiscretization ( TimeDiscretizationType  td)
inline

Member Data Documentation

double oofem::TimeStep::deltaT
protected

Current intrinsic time increment.

Definition at line 90 of file timestep.h.

Referenced by operator=(), and TimeStep().

EngngModel* oofem::TimeStep::eModel
protected

Engineering model reference.

Definition at line 84 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 88 of file timestep.h.

Referenced by operator=(), and TimeStep().

int oofem::TimeStep::mStepNumber
protected

Corresponding meta step number.

Definition at line 106 of file timestep.h.

Referenced by operator=(), restoreContext(), saveContext(), and TimeStep().

int oofem::TimeStep::number
protected

Receiver's number.

Definition at line 94 of file timestep.h.

Referenced by isIcApply(), isNotTheLastStep(), isTheFirstStep(), operator=(), restoreContext(), saveContext(), and TimeStep().

StateCounterType oofem::TimeStep::solutionStateCounter
protected

Solution state counter.

Definition at line 92 of file timestep.h.

Referenced by operator=(), and TimeStep().

int oofem::TimeStep::subStepNumber
protected

Receiver's substep (iteration) number.

Definition at line 104 of file timestep.h.

Referenced by operator=(), and TimeStep().

double oofem::TimeStep::targetTime
protected

Current target time, which represents time at the end of a time step.

Definition at line 86 of file timestep.h.

Referenced by operator=(), and TimeStep().

TimeDiscretizationType oofem::TimeStep::timeDiscretization
protected

Time discretization.

Definition at line 108 of file timestep.h.

Referenced by restoreContext(), and saveContext().

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 100 of file timestep.h.

Referenced by operator=(), and TimeStep().


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

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