Skip to content

Commit

Permalink
Introduce new Param File: dimension.param
Browse files Browse the repository at this point in the history
Removes the dependency from componentsConfig.param
- useful for other param files
- preparation for PIConGPU 2D
  • Loading branch information
ax3l committed Jan 16, 2014
1 parent 9a0449d commit af1f207
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
#pragma once


#define SIMDIM DIM3

const uint32_t simDim = SIMDIM;

namespace picongpu
{
/*! Simulation Starter ---------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
#pragma once


#define SIMDIM DIM3

const uint32_t simDim = SIMDIM;

namespace picongpu
{
/*! Simulation Starter ---------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
#pragma once


#define SIMDIM DIM3

const uint32_t simDim = SIMDIM;

namespace picongpu
{
/*! Simulation Starter ---------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@

#pragma once

#define SIMDIM DIM3

const uint32_t simDim = SIMDIM;

namespace picongpu
{
/** Simulation Starter ---------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@

#pragma once

#define SIMDIM DIM3

const uint32_t simDim = SIMDIM;

namespace picongpu
{
/** Simulation Starter ---------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@

#pragma once

#define SIMDIM DIM3

const uint32_t simDim = SIMDIM;

namespace picongpu
{
/** Simulation Starter ---------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@

#pragma once

#define SIMDIM DIM3

const uint32_t simDim = SIMDIM;

namespace picongpu
{
/*! Simulation Starter ---------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
#pragma once


#define SIMDIM DIM3

const uint32_t simDim = SIMDIM;

namespace picongpu
{
/*! Simulation Starter ---------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*/
#pragma once

#include "simulation_defines/param/dimension.param"
#include "simulation_defines/param/precision.param"
#include "simulation_defines/param/physicalConstants.param"
#include "simulation_defines/param/particleDefinition.param"
Expand Down
28 changes: 28 additions & 0 deletions src/picongpu/include/simulation_defines/param/dimension.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* Copyright 2014 Axel Huebl
*
* This file is part of PIConGPU.
*
* PIConGPU is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PIConGPU is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define SIMDIM DIM3

namespace picongpu
{
const uint32_t simDim = SIMDIM;
} // namespace picongpu

0 comments on commit af1f207

Please sign in to comment.