KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | List of all members
Kratos::AdaptiveTimeIncrementor Class Reference

#include <adaptive_time_incrementor.h>

Inheritance diagram for Kratos::AdaptiveTimeIncrementor:
Collaboration diagram for Kratos::AdaptiveTimeIncrementor:

Public Member Functions

 AdaptiveTimeIncrementor (double StartTime, double EndTime, double StartIncrement, std::size_t MaxNumOfCycles=10, double ReductionFactor=0.5, double IncreaseFactor=2.0, double MaxTimeStepFactor=1000.0, std::size_t MinNumOfIterations=3, std::size_t MaxNumOfIterations=15)
 
bool WantNextStep (const TimeStepEndState &rPreviousState) const override
 
bool WantRetryStep (std::size_t CycleNumber, const TimeStepEndState &rPreviousState) const override
 
double GetIncrement () const override
 
void PostTimeStepExecution (const TimeStepEndState &rResultantState) override
 
- Public Member Functions inherited from Kratos::TimeIncrementor
virtual ~TimeIncrementor ()=default
 

Constructor & Destructor Documentation

◆ AdaptiveTimeIncrementor()

Kratos::AdaptiveTimeIncrementor::AdaptiveTimeIncrementor ( double  StartTime,
double  EndTime,
double  StartIncrement,
std::size_t  MaxNumOfCycles = 10,
double  ReductionFactor = 0.5,
double  IncreaseFactor = 2.0,
double  MaxTimeStepFactor = 1000.0,
std::size_t  MinNumOfIterations = 3,
std::size_t  MaxNumOfIterations = 15 
)

Member Function Documentation

◆ GetIncrement()

double Kratos::AdaptiveTimeIncrementor::GetIncrement ( ) const
overridevirtual

◆ PostTimeStepExecution()

void Kratos::AdaptiveTimeIncrementor::PostTimeStepExecution ( const TimeStepEndState rResultantState)
overridevirtual

◆ WantNextStep()

bool Kratos::AdaptiveTimeIncrementor::WantNextStep ( const TimeStepEndState rPreviousState) const
overridevirtual

◆ WantRetryStep()

bool Kratos::AdaptiveTimeIncrementor::WantRetryStep ( std::size_t  CycleNumber,
const TimeStepEndState rPreviousState 
) const
overridevirtual

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