Celeritas 0.7.0-dev.229+develop.25f7af4d
Loading...
Searching...
No Matches
Classes | Functions | Variables
VecgeomData.hh File Reference
#include <VecGeom/base/Version.h>
#include "corecel/Config.hh"
#include "corecel/Macros.hh"
#include "corecel/Types.hh"
#include "corecel/data/Collection.hh"
#include "corecel/data/CollectionBuilder.hh"
#include "corecel/sys/ThreadId.hh"
#include "geocel/Types.hh"
#include "VecgeomTypes.hh"
#include "detail/VecgeomNavCollection.hh"

Classes

struct  celeritas::VecgeomScalars
 
struct  celeritas::VecgeomParamsData< W, M >
 Persistent data used by VecGeom implementation. More...
 
struct  celeritas::VecgeomStateData< W, M >
 Interface for VecGeom state information. More...
 

Functions

template<MemSpace M>
void celeritas::resize (VecgeomStateData< Ownership::value, M > *data, HostCRef< VecgeomParamsData > const &params, size_type size)
 Resize geometry states.
 
template void celeritas::resize< MemSpace::host > (VecgeomStateData< Ownership::value, MemSpace::host > *, HostCRef< VecgeomParamsData > const &, size_type)
 
template void celeritas::resize< MemSpace::device > (VecgeomStateData< Ownership::value, MemSpace::device > *, HostCRef< VecgeomParamsData > const &, size_type)
 

Variables

constexpr VgSurfaceInt celeritas::vg_null_surface {-1}
 
constexpr VgNavIndex celeritas::vg_outside_nav_index {0}
 
constexpr VgNavIndex celeritas::vg_world_nav_index
 

Function Documentation

◆ resize()

template<MemSpace M>
void celeritas::resize ( VecgeomStateData< Ownership::value, M > *  data,
HostCRef< VecgeomParamsData > const params,
size_type  size 
)

Resize geometry states.

Todo:
Add stream ID

Variable Documentation

◆ vg_world_nav_index

constexpr VgNavIndex celeritas::vg_world_nav_index
inlineconstexpr
Initial value:
{
VECGEOM_VERSION < 0x020000 ? 1
: 3 == 2 ? 3
: 3 == 1 ? 2
: -1}