WarpX
|
Get temperature at a point on the grid. More...
#include <GetTemperature.H>
Public Member Functions | |
GetTemperature (TemperatureProperties const &temp) noexcept | |
Construct the functor with information provided by temp. More... | |
AMREX_GPU_HOST_DEVICE amrex::Real | operator() (amrex::Real const x, amrex::Real const y, amrex::Real const z) const noexcept |
Functor call. Returns the value of temperature at the location (x,y,z) More... | |
Public Attributes | |
TemperatureInitType | m_type |
amrex::Real | m_temperature |
amrex::ParserExecutor< 3 > | m_temperature_parser |
Get temperature at a point on the grid.
Functor to return temperature at a point on the grid, either constant (m_temperature) or a spatially varying value computed using the parser function (m_temperature_parser). It provides the temperature information held by the TemperatureProperties instance passed to the constructor.
|
explicitnoexcept |
Construct the functor with information provided by temp.
[in] | temp | const reference to the TemperatureProperties object that will be used to populate the functor |
|
inlinenoexcept |
Functor call. Returns the value of temperature at the location (x,y,z)
[in] | x | x-coordinate of given location |
[in] | y | y-coordinate of given location |
[in] | z | z-cooridnate of given location |
amrex::Real GetTemperature::m_temperature |
amrex::ParserExecutor<3> GetTemperature::m_temperature_parser |
TemperatureInitType GetTemperature::m_type |