#include <tutorials/adv-2/src/ThermalRadiation.hpp>
Definition at line 18 of file ThermalRadiation.hpp.
◆ GetRadiationParameters()
◆ getParameters()
Definition at line 22 of file ThermalRadiation.hpp.
28 auto cubit_meshset_ptr =
29 m_field.
getInterface<MeshsetsManager>()->getCubitMeshsetPtr(ms_id,
31 std::vector<double> block_data;
32 CHKERR cubit_meshset_ptr->getAttributes(block_data);
33 if (block_data.size() < 3) {
35 "Expected that radiation block has three attributes "
36 "(Stefan–Boltzmann "
37 "constant, emissivity parameter, and ambient temperature)");
39 stefan_boltzmann_constant = block_data[0];
40 emissivity_parameter = block_data[1];
41 ambient_temperature = block_data[2];
45 <<
"Stefan–Boltzmann constant " << stefan_boltzmann_constant;
47 <<
"Emissivity parameter " << emissivity_parameter;
49 <<
"Ambient temperature " << ambient_temperature;
51 ents = boost::make_shared<Range>();
52 CHKERR m_field.
get_moab().get_entities_by_handle(cubit_meshset_ptr->meshset,
The documentation for this struct was generated from the following file: