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::ParameterizedFlux Struct Reference

Constant thermal flux boundary 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 T2 &, const double, const T3 &, const T4 &parameter) const
 Evaluation function for the thermal flux on a boundary. More...
 

Static Public Member Functions

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

Public Attributes

double flux_offset_ = 0.0
 The constant flux applied to the boundary.
 

Detailed Description

Constant thermal flux boundary model.

Definition at line 186 of file parameterized_thermal_material.hpp.

Member Function Documentation

◆ numParameters()

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

The number of parameters in the model.

Returns
The number of parameters in the model

Definition at line 212 of file parameterized_thermal_material.hpp.

◆ operator()()

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

Evaluation function for the thermal flux on a boundary.

Template Parameters
T1Type of the position vector
T2Type of the normal vector
T3Type of the temperature on the boundary
T4Type of the parameter
Parameters
parameterThe user-defined parameter value
Returns
The flux applied to the boundary

Definition at line 201 of file parameterized_thermal_material.hpp.


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