From d6bdfeb6f0af9142e7c593771b871b51883a5549 Mon Sep 17 00:00:00 2001 From: GianlucaOberreit <109722947+GianlucaOberreit@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:33:20 +0200 Subject: [PATCH] refactor IonizationFactory.h --- src/Ionization/IonizationFactory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Ionization/IonizationFactory.h b/src/Ionization/IonizationFactory.h index 597eb14af..a7039bec0 100644 --- a/src/Ionization/IonizationFactory.h +++ b/src/Ionization/IonizationFactory.h @@ -57,19 +57,19 @@ class IonizationFactory } private: - inline static void checkMaxCharge(const Species *species) { + static void checkMaxCharge(const Species *species) { if ( species->max_charge_ > ( int )species->atomic_number_ ) { ERROR( "Charge > atomic_number for species " << species->name_ ); } } - inline static void checkTestParticle(const Species *species) { + static void checkTestParticle(const Species *species) { if( species->particles->is_test ) { ERROR( "Cannot ionize test species " << species->name_ ); } } - inline static void checkNotLaserEnvelopeModel(const Params ¶ms) { + static void checkNotLaserEnvelopeModel(const Params ¶ms) { if ( params.Laser_Envelope_model ) { ERROR( "The ionization model for species interacting with envelope is tunnel_envelope_averaged" ); }