Celeritas 0.7.0-dev.127+develop.e63889793
|
Construction options for Geant4 conversion. More...
#include <Options.hh>
Public Attributes | |
Problem scale and tolerance | |
double | unit_length {celeritas::lengthunits::millimeter} |
Scale factor (input unit length), customizable for unit testing. | |
Tolerance | tol |
Construction and tracking tolerance (native units) | |
Structural conversion | |
unsigned int | explicit_interior_threshold {2} |
Volumes with up to this many children construct an explicit interior. | |
bool | inline_childless {true} |
Forcibly inline volumes that have no children. | |
InlineSingletons | inline_singletons {InlineSingletons::untransformed} |
Forcibly inline volumes that are only used once. | |
bool | inline_unions {true} |
Forcibly copy child volumes that have union boundaries. | |
bool | remove_interior {true} |
Replace 'interior' unit boundaries with 'true' and simplify. | |
bool | remove_negated_join {false} |
Use DeMorgan's law to replace "not all of" with "any of not". | |
Debug output | |
bool | verbose_volumes {false} |
Write output about volumes being converted. | |
bool | verbose_structure {false} |
Write output about proto-universes being constructed. | |
std::string | objects_output_file |
Write converted Geant4 object structure to a JSON file. | |
std::string | csg_output_file |
Write constructed CSG surfaces and tree to a JSON file. | |
std::string | org_output_file |
Write final org.json to a JSON file. | |
Construction options for Geant4 conversion.
Note that most of these should never be touched when running an actual problem. If the length unit is changed, the resulting geometry is inconsistent with Geant4's scale.