Skip to content

Commit

Permalink
minor style fixes
Browse files Browse the repository at this point in the history
ci: picongpu
  • Loading branch information
BrianMarre committed Feb 19, 2025
1 parent 64787ff commit 0ea82b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace picongpu::particles::atomicPhysics::kernel
* @param rngFactoryFloat factory for uniformly distributed random number generator, for float_X [0,1)
* @param chargeStateBox deviceDataBox giving access to charge state property data
* @param atomicStateBox deviceDataBox giving access to atomic state property data
* @param boundFreeTransitionDataBox deviceDataBox giving access to bound free transition data
* @param boundFreeTransitionBox deviceDataBox giving access to bound free transition data
* @param numberTransitionsBox deviceDataBox giving access to the number of
* bound-free transitions for each atomic state
* @param startIndexBox deviceDataBox giving access to the start index of each
Expand Down Expand Up @@ -106,7 +106,7 @@ namespace picongpu::particles::atomicPhysics::kernel
T_AtomicStateDataDataBox const atomicStateBox,
T_AtomicStateBoundFreeNumberTransitionsDataBox const numberTransitionsBox,
T_AtomicStateBoundFreeStartIndexBlockDataBox const startIndexBox,
T_BoundFreeTransitionDataBox const boundFreeTransitionDataBox,
T_BoundFreeTransitionDataBox const boundFreeTransitionBox,
T_TimeRemainingBox const timeRemainingBox,
T_EFieldBox eFieldBox,
T_RateCacheBox const rateCacheBox,
Expand Down Expand Up @@ -196,7 +196,7 @@ namespace picongpu::particles::atomicPhysics::kernel
float_X const ionizationEnergy = DeltaEnergyTransition::get(
transitionCollectionIndex,
atomicStateBox,
boundFreeTransitionDataBox,
boundFreeTransitionBox,
ionizationPotentialDepression,
chargeStateBox);

Expand All @@ -215,7 +215,7 @@ namespace picongpu::particles::atomicPhysics::kernel
transitionCollectionIndex,
chargeStateBox,
atomicStateBox,
boundFreeTransitionDataBox);
boundFreeTransitionBox);

if constexpr(picongpu::atomicPhysics::debug::kernel::chooseTransition::
CHECK_FOR_INFINITE_FIELD_IONIZATION_RATES)
Expand Down
2 changes: 1 addition & 1 deletion include/picongpu/simulation/stage/AtomicPhysics.x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ namespace picongpu::simulation::stage
template<typename T_FoundUnboundIonField>
HINLINE static void resetFoundUnboundIon(T_FoundUnboundIonField& foundUnboundIonField)
{
foundUnboundIonField.getDeviceBuffer().setValue(0._X);
foundUnboundIonField.getDeviceBuffer().setValue(static_cast<uint32_t>(false));
};

//! reset SharedResourcesOverSubscribedField on device side
Expand Down

0 comments on commit 0ea82b9

Please sign in to comment.