From 9951e0244adb76448082c21c4d2e9a0c062e4146 Mon Sep 17 00:00:00 2001 From: RevathiJambunathan Date: Wed, 20 Mar 2024 10:21:46 -0700 Subject: [PATCH] change API for u_th --- Source/Particles/PhysicalParticleContainer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index d9a101901b3..25443155c68 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -446,9 +446,10 @@ PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core, int isp // currently supports only isotropic thermal distribution // same distribution is applied to all boundaries + const amrex::ParmParse pp_species_boundary("boundary." + species_name); if (WarpX::isAnyParticleBoundaryThermal()) { amrex::Real boundary_uth; - utils::parser::getWithParser(pp_species_name,"boundary_uth",boundary_uth); + utils::parser::getWithParser(pp_species_boundary,"u_th",boundary_uth); m_boundary_conditions.SetThermalVelocity(boundary_uth); } }