Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Classes | Namespaces
time_discretized_weak_form.hpp File Reference

Wraps FunctionalWeakForm to provide TimeInfo (time, dt, cycle) to integrands instead of just time. More...

#include "smith/physics/functional_weak_form.hpp"
#include "smith/physics/mesh.hpp"
#include "smith/differentiable_numerics/field_state.hpp"
#include "smith/differentiable_numerics/time_integration_rule.hpp"
Include dependency graph for time_discretized_weak_form.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  smith::TimeDiscretizedWeakForm< spatial_dim, OutputSpace, Parameters< InputSpaces... > >
 A time-discretized weak form that provides TimeInfo to integrands. More...
 
class  smith::SecondOrderTimeDiscretizedWeakForms
 A container holding the weak forms useful for second-order time-discretized systems. More...
 
class  smith::SecondOrderTimeDiscretizedWeakForm< spatial_dim, OutputSpace, Parameters< TrialInputSpace, InputSpaces... > >
 Convenience wrapper for second-order-in-time systems using an implicit Newmark rule. More...
 

Namespaces

 smith
 Accelerator functionality.
 

Detailed Description

Wraps FunctionalWeakForm to provide TimeInfo (time, dt, cycle) to integrands instead of just time.

This class provides a thin wrapper around FunctionalWeakForm that automatically converts the time parameter into a TimeInfo struct containing time, timestep size (dt), and cycle number. This allows physics systems to access timestep information needed for time integration.

Key features:

Definition in file time_discretized_weak_form.hpp.