From 94132fe600c59799f7ffd2347d2ed14257ecaf80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Widera?= Date: Tue, 19 Nov 2019 11:51:42 +0100 Subject: [PATCH] fix wrong used method prefix Fix places where the method prefix of the declaration and implementation is not matching. --- include/picongpu/fields/FieldB.tpp | 2 +- include/picongpu/fields/FieldE.tpp | 2 +- .../particles/synchrotronPhotons/SynchrotronFunctions.tpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/picongpu/fields/FieldB.tpp b/include/picongpu/fields/FieldB.tpp index 39e259c8d4..20d775f4b8 100644 --- a/include/picongpu/fields/FieldB.tpp +++ b/include/picongpu/fields/FieldB.tpp @@ -42,7 +42,7 @@ namespace picongpu { } - FieldB::UnitValueType FieldB::getUnit( ) + HDINLINE FieldB::UnitValueType FieldB::getUnit( ) { return UnitValueType{ UNIT_BFIELD, UNIT_BFIELD, UNIT_BFIELD }; } diff --git a/include/picongpu/fields/FieldE.tpp b/include/picongpu/fields/FieldE.tpp index 36c99c5b46..1e6179ada3 100644 --- a/include/picongpu/fields/FieldE.tpp +++ b/include/picongpu/fields/FieldE.tpp @@ -42,7 +42,7 @@ namespace picongpu { } - FieldE::UnitValueType FieldE::getUnit( ) + HDINLINE FieldE::UnitValueType FieldE::getUnit( ) { return UnitValueType{ UNIT_EFIELD, UNIT_EFIELD, UNIT_EFIELD }; } diff --git a/include/picongpu/particles/synchrotronPhotons/SynchrotronFunctions.tpp b/include/picongpu/particles/synchrotronPhotons/SynchrotronFunctions.tpp index 5685abdf36..8d1868a5c5 100644 --- a/include/picongpu/particles/synchrotronPhotons/SynchrotronFunctions.tpp +++ b/include/picongpu/particles/synchrotronPhotons/SynchrotronFunctions.tpp @@ -48,7 +48,7 @@ namespace detail * @param x position of the synchrotron function to be evaluated */ -float_X MapToLookupTable::operator()(const float_X x) const +HDINLINE float_X MapToLookupTable::operator()(const float_X x) const { /* This mapping increases the sample point density for small values of x * where the synchrotron functions have a divergent slope. Without this mapping