Loading [MathJax]/jax/output/HTML-CSS/config.js
Celeritas 0.6.0-rc.2.17+develop.70a89938
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Functions
GeantGdmlLoader.hh File Reference
#include <map>
#include <string>
#include "corecel/Config.hh"
#include "corecel/Assert.hh"
This graph shows which files directly or indirectly include this file:

Classes

class  celeritas::GeantGdmlLoader
 Load a GDML file into memory. More...
 
struct  celeritas::GeantGdmlLoader::Options
 
struct  celeritas::GeantGdmlLoader::Result
 

Functions

G4VPhysicalVolumeceleritas::load_gdml (std::string const &filename)
 Load a Geant4 geometry, excising pointers.
 
void celeritas::save_gdml (G4VPhysicalVolume const *world, std::string const &out_filename)
 Write a GDML file to the given filename.
 

Function Documentation

◆ load_gdml()

G4VPhysicalVolume * celeritas::load_gdml ( std::string const filename)
inline

Load a Geant4 geometry, excising pointers.

This provides a good default for using GDML in Celeritas.

Returns
Geant4-owned world volume