1 2 3 4 5 6 7 8 9 10 11 12
#include <PlasmaInjector.H> #include <iostream> using namespace amrex; /// /// This "custom" density profile just does constant /// Real CustomDensityProfile::getDensity(Real x, Real y, Real z) const { return params[0]; }