Celeritas  0.5.0-56+6b053cd
Macros | Functions
GeantPhysicsOptionsIO.json.cc File Reference
#include "GeantPhysicsOptionsIO.json.hh"
#include <string>
#include "corecel/io/JsonUtils.json.hh"
#include "corecel/io/StringEnumMapper.hh"
#include "corecel/math/QuantityIO.json.hh"
#include "GeantOpticalPhysicsOptionsIO.json.hh"
#include "GeantPhysicsOptions.hh"

Macros

#define GMPO_LOAD_OPTION(NAME)   CELER_JSON_LOAD_OPTION(j, options, NAME)
 
#define GPO_LOAD_OPTION(NAME)   CELER_JSON_LOAD_OPTION(j, options, NAME)
 

Functions

void celeritas::from_json (nlohmann::json const &j, MscModelSelection &value)
 
void celeritas::to_json (nlohmann::json &j, MscModelSelection const &value)
 
void celeritas::from_json (nlohmann::json const &j, BremsModelSelection &value)
 
void celeritas::to_json (nlohmann::json &j, BremsModelSelection const &value)
 
void celeritas::from_json (nlohmann::json const &j, RelaxationSelection &value)
 
void celeritas::to_json (nlohmann::json &j, RelaxationSelection const &value)
 
void celeritas::from_json (nlohmann::json const &j, MscStepLimitAlgorithm &value)
 
void celeritas::to_json (nlohmann::json &j, MscStepLimitAlgorithm const &value)
 
void celeritas::from_json (nlohmann::json const &j, NuclearFormFactorType &value)
 
void celeritas::to_json (nlohmann::json &j, NuclearFormFactorType const &value)
 
void celeritas::from_json (nlohmann::json const &j, GeantMuonPhysicsOptions &options)
 
void celeritas::to_json (nlohmann::json &j, GeantMuonPhysicsOptions const &inp)
 
void celeritas::from_json (nlohmann::json const &j, GeantPhysicsOptions &options)
 Read options from JSON.
 
void celeritas::to_json (nlohmann::json &j, GeantPhysicsOptions const &inp)
 Write options to JSON.