diff options
author | 2017-03-28 09:37:43 -0700 | |
---|---|---|
committer | 2017-03-28 09:37:43 -0700 | |
commit | 6151dc4888aa6c9571aaf06a89e795bb1f20caf7 (patch) | |
tree | a2e5f2befb8b0d1dfa7a3ad96120ed3f98ac260e /Source/CustomDensityProb.cpp | |
parent | fa47be6293b5cd36d43e7f1aa7cd24b6c87d95e1 (diff) | |
parent | d88b17b700ca42507ddf38ebff48587a67358aa9 (diff) | |
download | WarpX-6151dc4888aa6c9571aaf06a89e795bb1f20caf7.tar.gz WarpX-6151dc4888aa6c9571aaf06a89e795bb1f20caf7.tar.zst WarpX-6151dc4888aa6c9571aaf06a89e795bb1f20caf7.zip |
Merge branch 'master' into python-ctypes
Diffstat (limited to 'Source/CustomDensityProb.cpp')
-rw-r--r-- | Source/CustomDensityProb.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/CustomDensityProb.cpp b/Source/CustomDensityProb.cpp new file mode 100644 index 000000000..1df3d75ad --- /dev/null +++ b/Source/CustomDensityProb.cpp @@ -0,0 +1,13 @@ +#include <PlasmaInjector.H> + +#include <iostream> + +#include <AMReX.H> + +amrex::Real CustomDensityProfile::getDensity(amrex::Real x, + amrex::Real y, + amrex::Real z) const +{ + amrex::Abort("If running with a custom density profile, you must supply a CustomDensityProb.cpp file"); + return 0.0; +} |