Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
serac::heat_transfer::ParameterizedSource Struct Reference

Parameterized thermal source model. More...

#include <parameterized_thermal_material.hpp>

Public Member Functions

template<typename T1 , typename T2 , typename T3 , typename T4 >
SERAC_HOST_DEVICE auto operator() (const T1 &, const double, const T2 &, const T3 &, const T4 &parameter) const
 Evaluation function for the constant thermal source model. More...
 

Static Public Member Functions

static constexpr int numParameters ()
 The number of parameters in the model. More...
 

Public Attributes

double source_offset_ = 0.0
 The constant source offset.
 

Detailed Description

Parameterized thermal source model.

Definition at line 156 of file parameterized_thermal_material.hpp.

Member Function Documentation

◆ numParameters()

static constexpr int serac::heat_transfer::ParameterizedSource::numParameters ( )
inlinestaticconstexpr

The number of parameters in the model.

Returns
The number of parameters in the model

Definition at line 182 of file parameterized_thermal_material.hpp.

◆ operator()()

template<typename T1 , typename T2 , typename T3 , typename T4 >
SERAC_HOST_DEVICE auto serac::heat_transfer::ParameterizedSource::operator() ( const T1 &  ,
const double  ,
const T2 &  ,
const T3 &  ,
const T4 &  parameter 
) const
inline

Evaluation function for the constant thermal source model.

Template Parameters
T1type of the position vector
T2type of the temperature
T3type of the temperature gradient
T4type of the parameter
Parameters
parameteruser-defined parameter
Returns
The thermal source value

Definition at line 171 of file parameterized_thermal_material.hpp.


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