forked from celeritas-project/celeritas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OrangeTestBase.hh
36 lines (30 loc) · 1.15 KB
/
OrangeTestBase.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//----------------------------------*-C++-*----------------------------------//
// Copyright 2024 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//---------------------------------------------------------------------------//
//! \file celeritas/OrangeTestBase.hh
//---------------------------------------------------------------------------//
#pragma once
#include "orange/OrangeData.hh"
#include "orange/OrangeParams.hh"
#include "orange/OrangeTrackView.hh"
#include "GenericGeoTestBase.hh"
namespace celeritas
{
namespace test
{
//---------------------------------------------------------------------------//
template<>
struct GenericGeoTraits<OrangeParams>
{
template<MemSpace M>
using StateStore = CollectionStateStore<OrangeStateData, M>;
using TrackView = OrangeTrackView;
static inline char const* ext = ".org.json";
static inline char const* name = "ORANGE";
};
using OrangeTestBase = GenericGeoTestBase<OrangeParams>;
//---------------------------------------------------------------------------//
} // namespace test
} // namespace celeritas