Skip to content

Commit

Permalink
Merge pull request #2138 from PrometheusPi/fix_bgFieldDefaultUnits
Browse files Browse the repository at this point in the history
remove micro meters usage in default background field
  • Loading branch information
ax3l authored Jul 18, 2017
2 parents 43cc0ed + 41449b6 commit 3fcad20
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/picongpu/simulation_defines/param/fieldBackground.param
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2014-2017 Axel Huebl, Alexander Debus
/* Copyright 2014-2017 Axel Huebl, Alexander Debus, Richard Pausch
*
* This file is part of PIConGPU.
*
Expand Down Expand Up @@ -49,8 +49,8 @@ namespace picongpu
{
/* example: periodicity of 20 microns ( = 2.0e-5 m) */
constexpr float_64 period_SI(20.0e-6);
/* calculate cells -> SI -> m to microns*/
const float_64 y_SI = cellIdx.y() * SI::CELL_HEIGHT_SI * 1.0e6;
/* calculate cells -> SI [m] */
const float_64 y_SI = cellIdx.y() * SI::CELL_HEIGHT_SI;
/* note: you can also transform the time step to seconds by
* multiplying with DELTA_T_SI */

Expand Down Expand Up @@ -82,8 +82,8 @@ namespace picongpu
{
/* example: periodicity of 20 microns ( = 2.0e-5 m) */
constexpr float_64 period_SI(20.0e-6);
/* calculate cells -> SI -> m to microns*/
const float_64 y_SI = cellIdx.y() * SI::CELL_HEIGHT_SI * 1.0e6;
/* calculate cells -> SI -> [m] */
const float_64 y_SI = cellIdx.y() * SI::CELL_HEIGHT_SI;
/* note: you can also transform the time step to seconds by
* multiplying with DELTA_T_SI */

Expand Down

0 comments on commit 3fcad20

Please sign in to comment.