Celeritas 0.7.0-dev.79+develop.b3dc2e108
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::inp::Volume Struct Reference

Define a node and reference child edges in the geometry graph. More...

#include <Model.hh>

Public Member Functions

 operator bool () const
 True if it has a label.
 

Public Attributes

Label label
 Name for the edge.
 
GeoMatId material
 Filled material ID.
 
std::vector< VolumeInstanceIdchildren
 Child edges.
 

Detailed Description

Define a node and reference child edges in the geometry graph.

A given volume instance ID can appear only once across all volumes.

Todo:
Instead of this, which allows us to "easily" translate between geant4 IDs and instance IDs, we should just have a vector of volume instances here.
Todo:
Add region definitions.
Note
Currently, to support internal geometry mappings a volume is allowed to be null.

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