From 0f49efc0d32297a0510979850d141c58a3e43c5d Mon Sep 17 00:00:00 2001 From: David Grote Date: Thu, 13 May 2021 13:17:12 -0700 Subject: Implemented query and getArrWithParser (#1936) * Implemented query and getArrWithParser * Updated parameters.rst regarding expressions for multiple floats --- Source/Particles/MultiParticleContainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Particles/MultiParticleContainer.cpp') diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index 4f6bdf05c..eb5293bee 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -117,13 +117,13 @@ MultiParticleContainer::ReadParameters () // then the values for the external B on particles must // be provided in the input file. if (m_B_ext_particle_s == "constant") - pp_particles.getarr("B_external_particle", m_B_external_particle); + getArrWithParser(pp_particles, "B_external_particle", m_B_external_particle); // if the input string for E_external on particles is "constant" // then the values for the external E on particles must // be provided in the input file. if (m_E_ext_particle_s == "constant") - pp_particles.getarr("E_external_particle", m_E_external_particle); + getArrWithParser(pp_particles, "E_external_particle", m_E_external_particle); // if the input string for B_ext_particle_s is // "parse_b_ext_particle_function" then the mathematical expression -- cgit v1.2.3