Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Public Types | Public Member Functions | Public Attributes | List of all members
smith::TimeInfoMaterial< Material > Struct Template Reference

Adapter that lets a material without time information satisfy the TimeInfo material interface. More...

#include <make_time_info_material.hpp>

Public Types

using State = typename Material::State
 State type forwarded from the wrapped material.
 

Public Member Functions

template<typename StateType , typename GradUType , typename GradVType , typename... Args>
SMITH_HOST_DEVICE auto operator() (const TimeInfo &, StateType &&state, GradUType &&grad_u, const GradVType &, Args &&... args) const
 Evaluate the wrapped material, ignoring TimeInfo and velocity gradient.
 

Public Attributes

Material material
 Wrapped material.
 
double density
 Density forwarded for solid mechanics inertial terms.
 

Detailed Description

template<typename Material>
struct smith::TimeInfoMaterial< Material >

Adapter that lets a material without time information satisfy the TimeInfo material interface.

Definition at line 18 of file make_time_info_material.hpp.


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