From a491def111e4c4a1fd7b394a2d4b511fb742c08b Mon Sep 17 00:00:00 2001 From: MaxThevenet Date: Mon, 2 Mar 2020 13:12:01 -0800 Subject: Option to specify the type of physical species (#746) * first implementation, doesnt link * fix species type and use it in some examples * eol * typo in input file * Apply suggestions from code review Co-Authored-By: Luca Fedeli Co-Authored-By: Yinjian Zhao * changes suggested by review * put species functions into a namespace Co-authored-by: Luca Fedeli Co-authored-by: Yinjian Zhao --- Source/Particles/PhysicalParticleContainer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 5ed4f4ca3..159cb7b87 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -40,6 +40,7 @@ PhysicalParticleContainer::PhysicalParticleContainer (AmrCore* amr_core, int isp species_name(name) { plasma_injector.reset(new PlasmaInjector(species_id, species_name)); + physical_species = plasma_injector->getPhysicalSpecies(); charge = plasma_injector->getCharge(); mass = plasma_injector->getMass(); -- cgit v1.2.3