21                                                             {
   22 
   24 
   25    auto cubit_meshset_ptr =
   26        m_field.
getInterface<MeshsetsManager>()->getCubitMeshsetPtr(ms_id,
 
   28    std::vector<double> block_data;
   29    CHKERR cubit_meshset_ptr->getAttributes(block_data);
 
   30    if (block_data.size() < 3) {
   32              "Expected that radiation block has three attributes "
   33              "(Stefan–Boltzmann "
   34              "constant, emissivity parameter, and ambient temperature)");
   35    }
   36    stefan_boltzmann_constant = block_data[0];
   37    emissivity_parameter = block_data[1];
   38    ambient_temperature = block_data[2];
   39 
   42        << "Stefan–Boltzmann constant " << stefan_boltzmann_constant;
   44        << "Emissivity parameter " << emissivity_parameter;
   46        << "Ambient temperature " << ambient_temperature;
   47 
   48    ents = boost::make_shared<Range>();
   49    CHKERR m_field.
get_moab().get_entities_by_handle(cubit_meshset_ptr->meshset,
 
   50                                                     *(ents), true);
   51 
   55 
   57  }
#define MOFEM_LOG_SEVERITY_SYNC(comm, severity)
Synchronise "SYNC" on curtain severity level.
#define MOFEM_TAG_AND_LOG(channel, severity, tag)
Tag and log in channel.
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
@ MOFEM_DATA_INCONSISTENCY
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
#define MOFEM_LOG_CHANNEL(channel)
Set and reset channel.
virtual moab::Interface & get_moab()=0
virtual MPI_Comm & get_comm() const =0
MoFEMErrorCode getInterface(IFACE *&iface) const
Get interface reference to pointer of interface.