Celeritas  0.5.0-56+6b053cd
Functions
OrangeInputIO.json.hh File Reference
#include <nlohmann/json.hpp>
#include "OrangeData.hh"
#include "OrangeInput.hh"
This graph shows which files directly or indirectly include this file:

Functions

void celeritas::from_json (nlohmann::json const &j, VolumeInput &value)
 Read cell/volume data from an ORANGE JSON file.
 
void celeritas::to_json (nlohmann::json &j, VolumeInput const &value)
 Write cell/volume data to an ORANGE JSON file.
 
void celeritas::from_json (nlohmann::json const &j, UnitInput &value)
 Read a unit definition from an ORANGE input file. More...
 
void celeritas::to_json (nlohmann::json &j, UnitInput const &value)
 Write a unit definition to an ORANGE input file.
 
void celeritas::from_json (nlohmann::json const &j, RectArrayInput &value)
 Read a rectangular array universe definition from an ORANGE input file.
 
void celeritas::to_json (nlohmann::json &j, RectArrayInput const &value)
 Write a rectangular array universe definition to an ORANGE input file.
 
template<class T >
void celeritas::from_json (nlohmann::json const &j, Tolerance<> &value)
 
template<class T >
void celeritas::to_json (nlohmann::json &j, Tolerance< T > const &value)
 Write tolerances.
 
void celeritas::from_json (nlohmann::json const &j, OrangeInput &value)
 Read a partially preprocessed geometry definition from an ORANGE JSON file.
 
void celeritas::to_json (nlohmann::json &j, OrangeInput const &value)
 Write an ORANGE input file.
 

Function Documentation

◆ from_json()

void celeritas::from_json ( nlohmann::json const &  j,
UnitInput value 
)

Read a unit definition from an ORANGE input file.

NOTE: 'cell' nomenclature is from SCALE export (version 0)