Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Static Public Attributes | List of all members
geomtools::model_with_internal_mesh_data::mesh_type Struct Reference

Mesh record. More...

#include <bayeux/geomtools/model_with_internal_mesh_tools.h>

Public Member Functions

 mesh_type ()
 Default constructor. More...
 
 ~mesh_type ()
 Destructor. More...
 
void set_mother_logical (logical_volume &)
 Set the mother logical volume. More...
 
bool has_mother_logical () const
 Check if the mother logical is defined. More...
 
const logical_volumeget_mother_logical () const
 Return a const reference to the mother logical. More...
 
logical_volumegrab_mother_logical ()
 Return a mutable reference to the mother logical. More...
 
void set_label (const std::string &)
 Set the internal daughter mesh label. More...
 
const std::string & get_label () const
 Return the internal daughter mesh label. More...
 
void set_rank (int rank_)
 Set the internal daughter mesh rank. More...
 
int get_rank () const
 Return the internal daughter mesh rank. More...
 
void set_model (const i_model &)
 Set the geometry model of the mesh node. More...
 
const i_modelget_model () const
 Return the geometry model of the mesh node. More...
 
void set_mesh_placement_config (const datatools::properties &)
 
const datatools::propertiesget_mesh_placement_config () const
 
void reset_mesh_placement ()
 
const regular_3d_mesh_placementget_mesh_placement () const
 
const physical_volumeget_physical_volume () const
 
physical_volumegrab_physical_volume ()
 
bool is_initialized () const
 Check initialization flag. More...
 
void initialize ()
 Initialization. More...
 
void reset ()
 Reset. More...
 

Static Public Attributes

static const int INVALID_RANK = -1
 Invalid mesh rank. More...
 

Detailed Description

Mesh record.

Constructor & Destructor Documentation

◆ mesh_type()

geomtools::model_with_internal_mesh_data::mesh_type::mesh_type ( )

Default constructor.

◆ ~mesh_type()

geomtools::model_with_internal_mesh_data::mesh_type::~mesh_type ( )

Destructor.

Member Function Documentation

◆ get_label()

const std::string& geomtools::model_with_internal_mesh_data::mesh_type::get_label ( ) const

Return the internal daughter mesh label.

◆ get_mesh_placement()

const regular_3d_mesh_placement& geomtools::model_with_internal_mesh_data::mesh_type::get_mesh_placement ( ) const

◆ get_mesh_placement_config()

const datatools::properties& geomtools::model_with_internal_mesh_data::mesh_type::get_mesh_placement_config ( ) const

◆ get_model()

const i_model& geomtools::model_with_internal_mesh_data::mesh_type::get_model ( ) const

Return the geometry model of the mesh node.

◆ get_mother_logical()

const logical_volume& geomtools::model_with_internal_mesh_data::mesh_type::get_mother_logical ( ) const

Return a const reference to the mother logical.

◆ get_physical_volume()

const physical_volume& geomtools::model_with_internal_mesh_data::mesh_type::get_physical_volume ( ) const

◆ get_rank()

int geomtools::model_with_internal_mesh_data::mesh_type::get_rank ( ) const

Return the internal daughter mesh rank.

◆ grab_mother_logical()

logical_volume& geomtools::model_with_internal_mesh_data::mesh_type::grab_mother_logical ( )

Return a mutable reference to the mother logical.

◆ grab_physical_volume()

physical_volume& geomtools::model_with_internal_mesh_data::mesh_type::grab_physical_volume ( )

◆ has_mother_logical()

bool geomtools::model_with_internal_mesh_data::mesh_type::has_mother_logical ( ) const

Check if the mother logical is defined.

◆ initialize()

void geomtools::model_with_internal_mesh_data::mesh_type::initialize ( )

Initialization.

◆ is_initialized()

bool geomtools::model_with_internal_mesh_data::mesh_type::is_initialized ( ) const

Check initialization flag.

◆ reset()

void geomtools::model_with_internal_mesh_data::mesh_type::reset ( )

Reset.

◆ reset_mesh_placement()

void geomtools::model_with_internal_mesh_data::mesh_type::reset_mesh_placement ( )

◆ set_label()

void geomtools::model_with_internal_mesh_data::mesh_type::set_label ( const std::string &  )

Set the internal daughter mesh label.

◆ set_mesh_placement_config()

void geomtools::model_with_internal_mesh_data::mesh_type::set_mesh_placement_config ( const datatools::properties )

◆ set_model()

void geomtools::model_with_internal_mesh_data::mesh_type::set_model ( const i_model )

Set the geometry model of the mesh node.

◆ set_mother_logical()

void geomtools::model_with_internal_mesh_data::mesh_type::set_mother_logical ( logical_volume )

Set the mother logical volume.

◆ set_rank()

void geomtools::model_with_internal_mesh_data::mesh_type::set_rank ( int  rank_)

Set the internal daughter mesh rank.

Member Data Documentation

◆ INVALID_RANK

const int geomtools::model_with_internal_mesh_data::mesh_type::INVALID_RANK = -1
static

Invalid mesh rank.


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