|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
encodes rules for time discretizing first order odes (involving first time derivatives). When solving f(u, u_dot, t) = 0 this class provides the current discrete approximation for u and u_dot as a function of (u^{n+1}, u^n). More...
#include <time_integration_rule.hpp>

Public Member Functions | |
| BackwardEulerFirstOrderTimeIntegrationRule () | |
| Constructor. | |
| int | num_args () const override |
| get the number of states required by the rule | |
| template<typename T1 , typename T2 > | |
| SMITH_HOST_DEVICE auto | value (const TimeInfo &, const T1 &field_new, const T2 &) const |
| evaluate value of the ode state as used by the integration rule | |
| template<typename T1 , typename T2 > | |
| SMITH_HOST_DEVICE auto | dot (const TimeInfo &t, const T1 &field_new, const T2 &field_old) const |
| evaluate time derivative discretization of the ode state as used by the integration rule | |
| template<typename T1 , typename T2 > | |
| SMITH_HOST_DEVICE auto | interpolate (const TimeInfo &t, const T1 &field_new, const T2 &field_old) const |
| interpolate all derived quantities in one call | |
| FieldState | corrected_value (const TimeInfo &t, const std::vector< FieldState > &states) const override |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| FieldState | corrected_dot (const TimeInfo &t, const std::vector< FieldState > &states) const override |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| FieldState | corrected_ddot (const TimeInfo &, const std::vector< FieldState > &states) 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::TimeIntegrationRule | |
| virtual | ~TimeIntegrationRule () |
| destructor | |
| virtual bool | requiresInitialAccelerationSolve () const |
| whether this rule needs a cycle-zero initial acceleration solve | |
Static Public Attributes | |
| static constexpr int | num_states = 2 |
| number of states required by this rule (compile-time) | |
encodes rules for time discretizing first order odes (involving first time derivatives). When solving f(u, u_dot, t) = 0 this class provides the current discrete approximation for u and u_dot as a function of (u^{n+1}, u^n).
Definition at line 51 of file time_integration_rule.hpp.