Celeritas 0.7.0-dev.529+develop.b0df1df8d
Loading...
Searching...
No Matches
Macros | Functions
OrangeParamsOutput.cc File Reference
#include "OrangeParamsOutput.hh"
#include <nlohmann/json.hpp>
#include "corecel/cont/LdgSpan.hh"
#include "corecel/cont/Range.hh"
#include "corecel/io/JsonPimpl.hh"
#include "corecel/io/LabelIO.json.hh"
#include "corecel/sys/Environment.hh"
#include "geocel/BoundingBoxIO.json.hh"
#include "orange/OrangeTypes.hh"
#include "OrangeData.hh"
#include "OrangeInputIO.json.hh"
#include "OrangeParams.hh"
#include "OrangeTypesIO.json.hh"
#include "univ/TrackerVisitor.hh"
#include "detail/BvhData.hh"
#include "detail/BvhView.hh"

Macros

#define OPO_PAIR(DATA, NAME)   {#NAME, DATA.NAME}
 
#define OPO_SIZE_PAIR(DATA, NAME)   {#NAME, DATA.NAME.size()}
 

Functions

std::string celeritas::dump_bvh_structure (detail::BvhTreeRecord const &tree, NativeCRef< detail::BvhTreeData > const &data)
 Print a BVH structure to a JSON string for debugging.
 
std::string celeritas::dump_univ_structure (HostCRef< OrangeParamsData > const &data)
 Print the universe structure to a JSON string for debugging.
 

Function Documentation

◆ dump_univ_structure()

std::string celeritas::dump_univ_structure ( HostCRef< OrangeParamsData > const data)

Print the universe structure to a JSON string for debugging.

The result is an array, indexed by universe ID, of the daughters embedded in each universe.