Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Types | Public Member Functions | Public Attributes | List of all members
serac::Thermomechanics< order, dim, parameter_space >::ThermalMaterialInterface< ThermalMechanicalMaterial > Struct Template Reference

This is an adaptor class that makes a thermomechanical material usable by the thermal module, by discarding the solid-mechanics-specific information. More...

#include <thermomechanics.hpp>

Public Types

using State = typename ThermalMechanicalMaterial::State
 internal variables for the wrapped material model
 

Public Member Functions

 ThermalMaterialInterface (const ThermalMechanicalMaterial &m)
 constructor
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename... param_types>
SERAC_HOST_DEVICE auto operator() (const T1 &, const T2 &temperature, const T3 &temperature_gradient, const T4 &displacement, param_types... parameters) const
 glue code to evaluate a thermomechanical material and extract the thermal outputs More...
 

Public Attributes

const ThermalMechanicalMaterial mat
 the wrapped material model
 

Detailed Description

template<int order, int dim, typename... parameter_space>
template<typename ThermalMechanicalMaterial>
struct serac::Thermomechanics< order, dim, parameter_space >::ThermalMaterialInterface< ThermalMechanicalMaterial >

This is an adaptor class that makes a thermomechanical material usable by the thermal module, by discarding the solid-mechanics-specific information.

Template Parameters
ThermalMechanicalMaterialthe material model being wrapped

Definition at line 273 of file thermomechanics.hpp.

Member Function Documentation

◆ operator()()

template<int order, int dim, typename... parameter_space>
template<typename ThermalMechanicalMaterial >
template<typename T1 , typename T2 , typename T3 , typename T4 , typename... param_types>
SERAC_HOST_DEVICE auto serac::Thermomechanics< order, dim, parameter_space >::ThermalMaterialInterface< ThermalMechanicalMaterial >::operator() ( const T1 &  ,
const T2 &  temperature,
const T3 &  temperature_gradient,
const T4 &  displacement,
param_types...  parameters 
) const
inline

glue code to evaluate a thermomechanical material and extract the thermal outputs

Template Parameters
T1the type of the spatial coordinate values
T2the type of the temperature value
T3the type of the temperature gradient values
T4the type of the displacement gradient values
param_typesthe types of user-specified parameters
Parameters
temperaturethe temperature at this quadrature point
temperature_gradientthe gradient w.r.t. physical coordinates of the temperature
displacementthe value and gradient w.r.t. physical coordinates of the displacement
parametersvalues and derivatives of any additional user-specified parameters

Definition at line 298 of file thermomechanics.hpp.


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