From 46b86eaafc7d132a2ea7d1080514f8699ccdc6d5 Mon Sep 17 00:00:00 2001 From: Marc Henry de Frahan Date: Tue, 19 Dec 2023 10:41:55 -0700 Subject: [PATCH] fix --- Source/Spray/SprayParticles.H | 4 ++-- Source/Spray/SpraySetup.cpp | 9 +-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/Source/Spray/SprayParticles.H b/Source/Spray/SprayParticles.H index a7ce3b9bd..6c809e370 100644 --- a/Source/Spray/SprayParticles.H +++ b/Source/Spray/SprayParticles.H @@ -314,7 +314,7 @@ public: /// \brief Problem specific injection routine, calls #sprayInjection bool injectParticles( - amrex::Real time, amrex::Real dt, int nstep, int level, int finest_level, ); + amrex::Real time, amrex::Real dt, int nstep, int level, int finest_level); /// \brief Generalized initializer routine. Calls #InitSprayParticles and /// #PostInitRestart @@ -322,7 +322,7 @@ public: /// \brief Problem specific initialization routine. Typically initializes the /// SprayJet pointers or calls #uniformSprayInit - void InitSprayParticles(const bool init_parts, ); + void InitSprayParticles(const bool init_parts); /// \brief Should be called after Restart or initialize routine. Reads /// injection data files if they are present. Checks to ensure all jet names diff --git a/Source/Spray/SpraySetup.cpp b/Source/Spray/SpraySetup.cpp index ab59d7e38..3958fb70a 100644 --- a/Source/Spray/SpraySetup.cpp +++ b/Source/Spray/SpraySetup.cpp @@ -297,14 +297,7 @@ SprayParticleContainer::spraySetup(const Real* body_force) } void -SprayParticleContainer::SprayInitialize( -#ifdef PELELM_USE_SPRAY - ProbParm const& prob_parm, -#else - ProbParmHost const& prob_parm, - ProbParmDevice const& prob_parm_d, -#endif - const std::string& restart_dir) +SprayParticleContainer::SprayInitialize(const std::string& restart_dir) { bool init_sprays = false; if (restart_dir.empty() && spray_init_file.empty()) {