Celeritas  0.5.0-86+4a8eea4
Classes | Typedefs | Functions
OrangeInput.hh File Reference
#include <algorithm>
#include <iosfwd>
#include <map>
#include <variant>
#include <vector>
#include "corecel/io/Label.hh"
#include "geocel/BoundingBox.hh"
#include "OrangeData.hh"
#include "OrangeTypes.hh"
#include "surf/VariantSurface.hh"
#include "transform/VariantTransform.hh"
This graph shows which files directly or indirectly include this file:

Classes

struct  celeritas::OrientedBoundingZoneInput
 Input definition for a single oriented bounding zone. More...
 
struct  celeritas::VolumeInput
 Input definition for a single volume. More...
 
struct  celeritas::DaughterInput
 Input definition a daughter universe embedded in a parent cell. More...
 
struct  celeritas::UnitInput
 Input definition for a unit. More...
 
struct  celeritas::RectArrayInput
 Input definition for a rectangular array universe. More...
 
struct  celeritas::OrangeInput
 Construction definition for a full ORANGE geometry. More...
 

Typedefs

using celeritas::VariantUniverseInput = std::variant< UnitInput, RectArrayInput >
 Possible types of universe inputs.
 

Functions

std::istream & celeritas::operator>> (std::istream &is, OrangeInput &inp)
 Helper to read the input from a file or stream. More...
 
std::ostream & celeritas::operator<< (std::ostream &os, OrangeInput const &inp)
 Helper to write the input to a file or stream.
 

Function Documentation

◆ operator>>()

std::istream & celeritas::operator>> ( std::istream &  is,
OrangeInput inp 
)

Helper to read the input from a file or stream.

Example to read from a file:

OrangeInput inp;
std::ifstream("foo.org.json") >> inp;