Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Public Member Functions | Public Attributes | List of all members
smith::ConstantTimeStepEstimator Class Reference

TimeStepEstimator which uses a simple and fixed timestep. More...

#include <timestep_estimator.hpp>

Collaboration diagram for smith::ConstantTimeStepEstimator:
Collaboration graph
[legend]

Public Member Functions

 ConstantTimeStepEstimator (double dt)
 Constructor. More...
 
DoubleState dt ([[maybe_unused]] const FieldState &shape_disp, [[maybe_unused]] const std::vector< FieldState > &states, [[maybe_unused]] const std::vector< FieldState > &params) const override
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
- Public Member Functions inherited from smith::TimestepEstimator
virtual ~TimestepEstimator ()
 destructor
 
virtual DoubleState dt (const FieldState &shape_disp, const std::vector< FieldState > &states, const std::vector< FieldState > &params) const =0
 Interface method for estimating the stable timestep give the current state and parameters.
 

Public Attributes

double dt_
 fixed timestep
 

Detailed Description

TimeStepEstimator which uses a simple and fixed timestep.

Definition at line 32 of file timestep_estimator.hpp.

Constructor & Destructor Documentation

◆ ConstantTimeStepEstimator()

smith::ConstantTimeStepEstimator::ConstantTimeStepEstimator ( double  dt)
inline

Constructor.

Parameters
dtfixed timestep to use throughout the simulation

Definition at line 36 of file timestep_estimator.hpp.


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