openPMD_raytrace_API  0.1.0
Classes | Typedefs | Variables
raytracing Namespace Reference

defines the maximum number of rays that can be stored in memory before dumping to file More...

Classes

class  openPMD_io
 I/O API for the ray trace extension of the openPMD format. More...
 
class  Ray
 Generic ray, containing all the ray information being stored by the API into the openPMD file. More...
 

Typedefs

typedef int particleStatus_t
 

Variables

constexpr int kDead = 0
 particleStatus_t: dead ray
 
constexpr int kAlive = 1
 alive ray
 

Detailed Description

defines the maximum number of rays that can be stored in memory before dumping to file

Todo:
The CHUNK_SIZE should not be hardcoded it should also be optimized with tests

Typedef Documentation

◆ particleStatus_t

particle statues are defined by the openPMD extension as integers with

  • 1: active/alive particle
  • other: any other value is used for "dead" particles, the effective value and meaining depends on the simulation software used

In the ray tracing extension only raytracing::kDead and raytracing::kAlive values are used

Definition at line 20 of file ray.hh.