Celeritas 0.7+c0d26b9
Loading...
Searching...
No Matches
GeneratorDataIO.json.hh File Reference
#include <nlohmann/json.hpp>
#include "GeneratorData.hh"

Functions

void celeritas::optical::to_json (nlohmann::json &j, GeneratorStepData const &v)
 
void celeritas::optical::from_json (nlohmann::json const &j, GeneratorStepData &v)
 
void celeritas::optical::to_json (nlohmann::json &j, GeneratorDistributionData const &v)
 
void celeritas::optical::from_json (nlohmann::json const &j, GeneratorDistributionData &v)
 

Function Documentation

◆ from_json() [1/2]

void celeritas::optical::from_json ( nlohmann::json const j,
GeneratorDistributionData v 
)

I/O routines for JSON

◆ from_json() [2/2]

void celeritas::optical::from_json ( nlohmann::json const j,
GeneratorStepData v 
)

I/O routines for JSON

◆ to_json() [1/2]

void celeritas::optical::to_json ( nlohmann::json &  j,
GeneratorDistributionData const v 
)

I/O routines for JSON

◆ to_json() [2/2]

void celeritas::optical::to_json ( nlohmann::json &  j,
GeneratorStepData const v 
)

I/O routines for JSON