Skip to content

Commit

Permalink
Merge pull request ComputationalRadiationPhysics#1682 from ax3l/topic…
Browse files Browse the repository at this point in the history
…-cleanEOLspaces

Cleanup: Remove EOL White Spaces
  • Loading branch information
PrometheusPi authored Dec 8, 2016
2 parents 321298c + d9d3fb3 commit 1588e88
Show file tree
Hide file tree
Showing 71 changed files with 180 additions and 183 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/


#pragma once

Expand Down Expand Up @@ -69,8 +69,8 @@ namespace picongpu
picongpu::float_32 cosTheta;
math::sincos(precisionCast<picongpu::float_32>(theta), sinTheta, cosTheta);
return vector_64(sinTheta, cosTheta, 0.0);

}

} // end namespace radiation_observer
} // end namespace picongpu
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand All @@ -37,7 +37,7 @@ namespace picongpu
return;
}
}

namespace gray
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -52,7 +52,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace grayInv
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -67,7 +67,7 @@ namespace picongpu
+ myChannel * (float_X(1.0) - value ) * opacity;
}
}

namespace red
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -82,7 +82,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace green
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -97,7 +97,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace blue
{
HDINLINE void addRGB( float3_X& img,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

// #include "simulation_defines/param/testExtension.param"

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

//#include "simulation_defines/unitless/testExtension.unitless"
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/


#pragma once

Expand Down Expand Up @@ -46,7 +46,7 @@ namespace picongpu
* The axises of the octant point towards:
* (+1,0,0) ; (0,+1,0) ; (0,0,-1)
*/

/* generate two indices from single block index */
constexpr int N_angle_split = 16; /* index split distance */
/* get column index for computing angle theta: */
Expand All @@ -63,7 +63,7 @@ namespace picongpu
/* compute both angles */
const picongpu::float_64 theta( my_index_theta * delta_angle + 0.5*picongpu::PI );
const picongpu::float_64 phi( my_index_phi * delta_angle );

/* compute unit vector */
picongpu::float_32 sinPhi;
picongpu::float_32 cosPhi;
Expand All @@ -75,6 +75,6 @@ namespace picongpu


}

} // end namespace radiation_observer
} // end namespace picongpu
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand All @@ -37,7 +37,7 @@ namespace picongpu
return;
}
}

namespace gray
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -52,7 +52,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace grayInv
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -67,7 +67,7 @@ namespace picongpu
+ myChannel * (float_X(1.0) - value ) * opacity;
}
}

namespace red
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -82,7 +82,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace green
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -97,7 +97,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace blue
{
HDINLINE void addRGB( float3_X& img,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ typedef QuietImpl<QuietParameter> Quiet;

namespace manipulators
{

struct BoundElectronsWhenNeutral
{
/* space for attribute initial parameters */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand All @@ -37,7 +37,7 @@ namespace picongpu
return;
}
}

namespace gray
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -52,7 +52,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace grayInv
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -67,7 +67,7 @@ namespace picongpu
+ myChannel * (float_X(1.0) - value ) * opacity;
}
}

namespace red
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -82,7 +82,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace green
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -97,7 +97,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace blue
{
HDINLINE void addRGB( float3_X& img,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "simulation_defines/param/backgroundFields.param"

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "simulation_defines/unitless/backgroundFields.unitless"
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand All @@ -37,7 +37,7 @@ namespace picongpu
return;
}
}

namespace gray
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -52,7 +52,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace grayInv
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -67,7 +67,7 @@ namespace picongpu
+ myChannel * (float_X(1.0) - value ) * opacity;
}
}

namespace red
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -82,7 +82,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace green
{
HDINLINE void addRGB( float3_X& img,
Expand All @@ -97,7 +97,7 @@ namespace picongpu
+ myChannel * value * opacity;
}
}

namespace blue
{
HDINLINE void addRGB( float3_X& img,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/



#pragma once
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
* along with PIConGPU.
* If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "simulation_defines/param/testExtension.param"

Loading

0 comments on commit 1588e88

Please sign in to comment.