Celeritas  0.5.0-56+6b053cd
Macros | Functions
Debug.cc File Reference

Define helper functions that are callable from a debugger. More...

#include "Debug.hh"
#include <iostream>
#include <nlohmann/json.hpp>
#include "celeritas/geo/GeoTrackView.hh"
#include "celeritas/global/CoreTrackView.hh"
#include "celeritas/phys/ParticleTrackView.hh"
#include "celeritas/track/SimTrackView.hh"
#include "DebugIO.json.hh"

Macros

#define DEFINE_DEBUG_PRINT(TYPE)
 

Functions

std::ostream & celeritas::operator<< (std::ostream &os, StreamableTrack const &track_wrap)
 
void celeritas::debug_print (CoreTrackView const &view)
 
void celeritas::debug_print (SimTrackView const &view)
 
void celeritas::debug_print (ParticleTrackView const &view)
 

Detailed Description

Define helper functions that are callable from a debugger.

Macro Definition Documentation

◆ DEFINE_DEBUG_PRINT

#define DEFINE_DEBUG_PRINT (   TYPE)
Value:
void debug_print(TYPE const& view) \
{ \
debug_print_impl(view); \
}
void debug_print(CoreTrackView const &view)
Definition: Debug.cc:53

Function Documentation

◆ debug_print() [1/3]

void celeritas::debug_print ( CoreTrackView const &  view)

Print a host view to std::clog.

◆ debug_print() [2/3]

void celeritas::debug_print ( ParticleTrackView const &  view)

Print a host view to std::clog.

◆ debug_print() [3/3]

void celeritas::debug_print ( SimTrackView const &  view)

Print a host view to std::clog.