|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for ParticleContainer<double, 3>.
More...
#include <gtest/gtest.h>#include <mpi.h>#include <array>#include <cmath>#include <cstdint>#include <memory>#include <vector>#include "Ippl.h"#include "PartBunch/FieldContainer.hpp"#include "PartBunch/ImageChargeScatterController.h"#include "PartBunch/ParticleContainer.hpp"#include "Utilities/Options.h"
Go to the source code of this file.
Unit tests for ParticleContainer<double, 3>.
Covers:
SingleValue and Attributes QM modes.scaleDtByCharge / unscaleDtByCharge in both QM modes.markParticlesOutside and deleteInvalidParticles mask-driven deletion.The fixture constructs a lightweight ParticleContainer on a minimal 8^3 periodic mesh without a full PartBunch, so no field-solver or DataSink infrastructure is required.
Definition in file TestParticleContainer.cpp.