Skip to content

Commit d49c404

Browse files
committed
Merge pull request ComputationalRadiationPhysics#887 from BenjaminW3/whitespace
whitespace changes
2 parents b12d585 + 8864de1 commit d49c404

File tree

109 files changed

+1158
-1160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1158
-1160
lines changed

examples/Bunch/include/simulation_defines/param/gridConfig.param

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
22
* Copyright 2013 Rene Widera, Richard Pausch
33
*
4-
* This file is part of PIConGPU.
5-
*
6-
* PIConGPU is free software: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 3 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* PIConGPU is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with PIConGPU.
18-
* If not, see <http://www.gnu.org/licenses/>.
19-
*/
4+
* This file is part of PIConGPU.
5+
*
6+
* PIConGPU is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* PIConGPU is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with PIConGPU.
18+
* If not, see <http://www.gnu.org/licenses/>.
19+
*/
2020

2121

2222

@@ -53,7 +53,7 @@ namespace picongpu
5353
{1.0e-3, 1.0e-3}, /*x direction [negative,positive]*/
5454
{1.0e-3, 1.0e-3}, /*y direction [negative,positive]*/
5555
{1.0e-3, 1.0e-3} /*z direction [negative,positive]*/
56-
}; //unit: none
56+
}; //unit: none
5757

5858
const uint32_t ABSORBER_FADE_IN_STEPS = 16;
5959

@@ -62,7 +62,7 @@ namespace picongpu
6262
* is fired at the begin of the simulation.
6363
* When it reaches slide_point % of the absolute(*) simulation area,
6464
* the co-moving window starts to move with the speed of light.
65-
*
65+
*
6666
* (*) Note: beware, that there is one "hidden" row of gpus at the y-front,
6767
* when you use the co-moving window
6868
* 0.75 means only 75% of simulation area is used for real simulation

examples/Bunch/include/simulation_defines/param/laserConfig.param

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
22
* Copyright 2013-2015 Anton Helm, Richard Pausch
33
*
4-
* This file is part of PIConGPU.
5-
*
6-
* PIConGPU is free software: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 3 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* PIConGPU is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with PIConGPU.
18-
* If not, see <http://www.gnu.org/licenses/>.
19-
*/
4+
* This file is part of PIConGPU.
5+
*
6+
* PIConGPU is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* PIConGPU is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with PIConGPU.
18+
* If not, see <http://www.gnu.org/licenses/>.
19+
*/
2020

2121

2222

@@ -288,19 +288,19 @@ const double UNITCONV_A0_to_Amplitude_SI = -2.0 * PI / WAVE_LENGTH_SI * ::picong
288288
const double AMPLITUDE_SI = 1.738e13;
289289

290290

291-
/** Pulse length:
291+
/** Pulse length:
292292
* PULSE_LENGTH_SI = total length of polynamial laser pulse
293293
* Rise time = 0.5 * PULSE_LENGTH_SI
294294
* Fall time = 0.5 * PULSE_LENGTH_SI
295-
* in order to compare to a gaussian pulse: rise time = sqrt{2} * T_{FWHM}
295+
* in order to compare to a gaussian pulse: rise time = sqrt{2} * T_{FWHM}
296296
* unit: seconds */
297297
const double PULSE_LENGTH_SI = 4.0e-15;
298298

299299
/** beam waist: distance from the axis where the pulse intensity (E^2)
300300
* decreases to its 1/e^2-th part,
301301
* at the focus position of the laser
302302
* unit: meter */
303-
const double W0x_SI = 4.246e-6; // waist in x-direction
303+
const double W0x_SI = 4.246e-6; // waist in x-direction
304304
const double W0z_SI = W0x_SI; // waist in z-direction
305305
}
306306

examples/Bunch/include/simulation_defines/param/precision.param

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
22
* Copyright 2013 Richard Pausch
33
*
4-
* This file is part of PIConGPU.
5-
*
6-
* PIConGPU is free software: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 3 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* PIConGPU is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with PIConGPU.
18-
* If not, see <http://www.gnu.org/licenses/>.
19-
*/
4+
* This file is part of PIConGPU.
5+
*
6+
* PIConGPU is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* PIConGPU is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with PIConGPU.
18+
* If not, see <http://www.gnu.org/licenses/>.
19+
*/
2020

2121

2222

examples/Bunch/include/simulation_defines/param/radiationConfig.param

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
/**
22
* Copyright 2013 Rene Widera, Richard Pausch
33
*
4-
* This file is part of PIConGPU.
5-
*
6-
* PIConGPU is free software: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 3 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* PIConGPU is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with PIConGPU.
18-
* If not, see <http://www.gnu.org/licenses/>.
19-
*/
4+
* This file is part of PIConGPU.
5+
*
6+
* PIConGPU is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* PIConGPU is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with PIConGPU.
18+
* If not, see <http://www.gnu.org/licenses/>.
19+
*/
2020

2121

2222

2323
#pragma once
2424

2525
/*
2626
radiation verbose level:
27-
0=nothing, 1=physics, 2=simulation_state, 4=memory, 8=critical
27+
0=nothing, 1=physics, 2=simulation_state, 4=memory, 8=critical
2828
*/
2929

3030
#define PIC_VERBOSE_RADIATION 3
@@ -79,22 +79,22 @@ namespace radiationNyquist
7979

8080

8181

82-
///////////////////////////////////////////////////
82+
///////////////////////////////////////////////////
8383

8484

8585

8686
namespace picongpu
8787
{
8888

89-
// corect treatment of coherent and incoherent radiation from macroparticles
90-
// 1 = on (slower and more memory, but correct quantitativ treatment)
91-
// 0 = off (faster but macroparticles are treated as highly charged, point-like particle)
89+
// corect treatment of coherent and incoherent radiation from macroparticles
90+
// 1 = on (slower and more memory, but correct quantitativ treatment)
91+
// 0 = off (faster but macroparticles are treated as highly charged, point-like particle)
9292
#define __COHERENTINCOHERENTWEIGHTING__ 1
9393

9494

9595

9696
/* Choose different form factors in order to consider different particle shapes for radiation
97-
* radFormFactor_CIC_3D
97+
* radFormFactor_CIC_3D
9898
* radFormFactor_CIC_1Dy
9999
*/
100100
namespace radFormFactor_CIC_3D { }
@@ -104,11 +104,11 @@ namespace picongpu
104104
namespace radFormFactor = radFormFactor_CIC_3D;
105105

106106

107-
}//namespace picongpu
107+
}//namespace picongpu
108108

109109

110110

111-
///////////////////////////////////////////////////////////
111+
///////////////////////////////////////////////////////////
112112

113113

114114

@@ -118,19 +118,19 @@ namespace parameters
118118
/*!enable radiation calculation*/
119119
#define ENABLE_RADIATION 1
120120

121-
// Nyquist low pass allows only amplitudes for frequencies below Nyquist frequency
122-
// 1 = on (slower and more memory, no fourier reflections)
123-
// 0 = off (faster but with fourier reflections)
121+
// Nyquist low pass allows only amplitudes for frequencies below Nyquist frequency
122+
// 1 = on (slower and more memory, no fourier reflections)
123+
// 0 = off (faster but with fourier reflections)
124124
#define __NYQUISTCHECK__ 1
125125

126126

127127

128-
//marked every N particle for calculate radiation
129-
//mark no particle at beginning
128+
//marked every N particle for calculate radiation
129+
//mark no particle at beginning
130130
#define RAD_MARK_PARTICLE 1
131131

132-
//disable or enable gamme filter
133-
//diable (0) / enable (1)
132+
//disable or enable gamme filter
133+
//diable (0) / enable (1)
134134
#define RAD_ACTIVATE_GAMMA_FILTER 0
135135

136136
const float RadiationGamma = 5.;

examples/Bunch/include/simulation_defines/param/radiationObserver.param

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
22
* Copyright 2013-2015 Heiko Burau, Richard Pausch
33
*
4-
* This file is part of PIConGPU.
5-
*
6-
* PIConGPU is free software: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 3 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* PIConGPU is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with PIConGPU.
18-
* If not, see <http://www.gnu.org/licenses/>.
19-
*/
4+
* This file is part of PIConGPU.
5+
*
6+
* PIConGPU is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* PIConGPU is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with PIConGPU.
18+
* If not, see <http://www.gnu.org/licenses/>.
19+
*/
2020

2121

2222
#pragma once
@@ -25,9 +25,9 @@ namespace picongpu
2525
{
2626
namespace radiation_observer
2727
{
28-
/** Compute observation angles
28+
/** Compute observation angles
2929
*
30-
* This function is used in the Radiation plug-in kernel to compute
30+
* This function is used in the Radiation plug-in kernel to compute
3131
* the observation directions given as a unit vector pointing
3232
* towards a 'virtual' detector
3333
*
@@ -37,13 +37,13 @@ namespace picongpu
3737
*
3838
* @return unit vector pointing in observation direction
3939
* type: vector_64
40-
*
40+
*
4141
*/
4242
DINLINE vector_64 observation_direction(const int observation_id_extern)
4343
{
4444
/** Computes observation angles along the x-y plane.
4545
* Assuming electron(s) fly in -x direction and the laser
46-
* propages in +x direction, the observation angles are centered
46+
* propages in +x direction, the observation angles are centered
4747
* around the -y-axis (0,-1,0) .
4848
* By setting gamma, the angle range can be adjusted to the
4949
* energy of the electrons.
@@ -58,10 +58,10 @@ namespace picongpu
5858
const picongpu::float_64 thetaMax = gamma_times_thetaMax / gamma; /* max angle */
5959

6060
/* stepwith of theta for from [-thetaMax : +thetaMax] */
61-
const picongpu::float_64 delta_theta = 2.0 * thetaMax / (parameters::N_observer);
61+
const picongpu::float_64 delta_theta = 2.0 * thetaMax / (parameters::N_observer);
6262

6363
/* compute angle theta for index */
64-
const picongpu::float_64 theta(my_theta_id * delta_theta - thetaMax + picongpu::PI);
64+
const picongpu::float_64 theta(my_theta_id * delta_theta - thetaMax + picongpu::PI);
6565
/* + picongpu::PI -> turn observation direction 180 degrees towards -y */
6666

6767
/* compute observation unit vector */

examples/Bunch/include/simulation_defines/param/starter.param

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/**
22
* Copyright 2013 Richard Pausch
33
*
4-
* This file is part of PIConGPU.
5-
*
6-
* PIConGPU is free software: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 3 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* PIConGPU is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with PIConGPU.
18-
* If not, see <http://www.gnu.org/licenses/>.
19-
*/
4+
* This file is part of PIConGPU.
5+
*
6+
* PIConGPU is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* PIConGPU is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with PIConGPU.
18+
* If not, see <http://www.gnu.org/licenses/>.
19+
*/
2020

2121

2222

0 commit comments

Comments
 (0)