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

encodes rules for time discretizing first order odes where time derivatives are zero. When solving f(u, t) = 0 this class provides the current discrete approximation for u as a function of u^{n+1}. More...

#include <time_integration_rule.hpp>

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

Public Member Functions

 QuasiStaticRule ()
 Constructor.
 
int num_args () const override
 get the number of states required by the rule
 
template<typename T1 >
SMITH_HOST_DEVICE auto value (const TimeInfo &, const T1 &field_new) const
 evaluate value of the ode state as used by the integration rule
 
template<typename T1 >
SMITH_HOST_DEVICE auto dot (const TimeInfo &, const T1 &) const
 evaluate time derivative discretization of the ode state as used by the integration rule
 
template<typename T1 >
SMITH_HOST_DEVICE auto interpolate (const TimeInfo &t, const T1 &field_new) 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 &, 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 = 1
 number of states required by this rule (compile-time)
 

Detailed Description

encodes rules for time discretizing first order odes where time derivatives are zero. When solving f(u, t) = 0 this class provides the current discrete approximation for u as a function of u^{n+1}.

Definition at line 105 of file time_integration_rule.hpp.


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