Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Classes | Public Member Functions | List of all members
serac::HeatTransfer< order, dim, Parameters< parameter_space... >, std::integer_sequence< int, parameter_indices... > >::ThermalMaterialIntegrand< MaterialType > Struct Template Reference

Functor representing the integrand of a thermal material. Material type must be a functor as well. More...

#include <heat_transfer.hpp>

Public Member Functions

 ThermalMaterialIntegrand (MaterialType material)
 Construct a ThermalMaterialIntegrand functor with material model of type MaterialType. More...
 
template<typename X , typename T , typename dT_dt , typename... Params>
auto operator() (double, X x, T temperature, dT_dt dtemp_dt, Params... params) const
 Evaluate integrand.
 

Detailed Description

template<int order, int dim, typename... parameter_space, int... parameter_indices>
template<typename MaterialType>
struct serac::HeatTransfer< order, dim, Parameters< parameter_space... >, std::integer_sequence< int, parameter_indices... > >::ThermalMaterialIntegrand< MaterialType >

Functor representing the integrand of a thermal material. Material type must be a functor as well.

Definition at line 378 of file heat_transfer.hpp.

Constructor & Destructor Documentation

◆ ThermalMaterialIntegrand()

template<int order, int dim, typename... parameter_space, int... parameter_indices>
template<typename MaterialType >
serac::HeatTransfer< order, dim, Parameters< parameter_space... >, std::integer_sequence< int, parameter_indices... > >::ThermalMaterialIntegrand< MaterialType >::ThermalMaterialIntegrand ( MaterialType  material)
inline

Construct a ThermalMaterialIntegrand functor with material model of type MaterialType.

Parameters
[in]materialA functor representing the material model. Should be a functor, or a class/struct with public operator() method. Must NOT be a generic lambda, or serac will not compile due to static asserts below.

Definition at line 384 of file heat_transfer.hpp.


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