|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
struct storing time and timestep information More...
#include <common.hpp>
Public Types | |
| enum class | EvaluationMode { Regular , CycleZero } |
| Evaluation mode for the current step. More... | |
Public Member Functions | |
| TimeInfo (double t, double t_step, size_t c=0, EvaluationMode mode=EvaluationMode::Regular) | |
| constructor | |
| double | time () const |
| accessor for the current time | |
| double | dt () const |
| accessor for dt | |
| size_t | cycle () const |
| accessor for cycle | |
| bool | isCycleZeroEvaluation () const |
| true when evaluating the startup acceleration solve. | |
| EvaluationMode | mode () const |
| accessor for residual evaluation mode. | |
struct storing time and timestep information
Definition at line 18 of file common.hpp.
|
strong |
Evaluation mode for the current step.
| Enumerator | |
|---|---|
| Regular | Normal evaluation step. |
| CycleZero | Initialization or cycle zero step. |
Definition at line 20 of file common.hpp.