Skip to content

Commit 2cce486

Browse files
add trait FieldPosition
Move the trait `FieldPosition` out of the numerical cell type namespace into the trait section.
1 parent d7b7290 commit 2cce486

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/* Copyright 2013-2018 Axel Huebl, Heiko Burau, Rene Widera
2+
*
3+
* This file is part of PIConGPU.
4+
*
5+
* PIConGPU is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU General Public License as published by
7+
* the Free Software Foundation, either version 3 of the License, or
8+
* (at your option) any later version.
9+
*
10+
* PIConGPU is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
* GNU General Public License for more details.
14+
*
15+
* You should have received a copy of the GNU General Public License
16+
* along with PIConGPU.
17+
* If not, see <http://www.gnu.org/licenses/>.
18+
*/
19+
20+
#pragma once
21+
22+
#include "picongpu/simulation_defines.hpp"
23+
24+
namespace picongpu
25+
{
26+
27+
namespace traits
28+
{
29+
template<
30+
typename T_CellType,
31+
typename T_Field,
32+
uint32_t T_simDim = simDim
33+
>
34+
struct FieldPosition;
35+
36+
} //namespace traits
37+
38+
}// namespace picongpu

0 commit comments

Comments
 (0)