Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Public Types | Public Member Functions | List of all members
smith::TimeInfo Struct Reference

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.
 

Detailed Description

struct storing time and timestep information

Definition at line 18 of file common.hpp.

Member Enumeration Documentation

◆ EvaluationMode

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.


The documentation for this struct was generated from the following file: