aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2022-03-11 13:57:15 -0800
committerGravatar GitHub <noreply@github.com> 2022-03-11 13:57:15 -0800
commit945568b98c87f89ce9199bfd72e6660058e614fc (patch)
treea80e825eb31df7b76f08c819d6126b648493d3d8 /Source/WarpX.cpp
parentf00682d954522598112f03845bae018e3ec85a15 (diff)
downloadWarpX-945568b98c87f89ce9199bfd72e6660058e614fc.tar.gz
WarpX-945568b98c87f89ce9199bfd72e6660058e614fc.tar.zst
WarpX-945568b98c87f89ce9199bfd72e6660058e614fc.zip
WarpX/PICSAR Version Define: File (#2959)
* WarpX/PICSAR Version Define: File Move the `-D` defines that contain the latest WarpX commit to a config file. Using always the latest commit counteracts `ccache` since the signature of the compilation call changes every commit. * Avoid Rebuilding WarpX.cpp * Support WarpXVersion.H in GNU Make * AMReX: Update to latest commit Co-authored-by: Weiqun Zhang <weiqunzhang@lbl.gov>
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r--Source/WarpX.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index fe7ac2b77..5e564f36d 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -2567,32 +2567,6 @@ WarpX::RestoreCurrent (int lev)
}
}
-std::string
-WarpX::Version ()
-{
- std::string version;
-#ifdef WARPX_GIT_VERSION
- version = std::string(WARPX_GIT_VERSION);
-#endif
- if( version.empty() )
- return std::string("Unknown");
- else
- return version;
-}
-
-std::string
-WarpX::PicsarVersion ()
-{
- std::string version;
-#ifdef PICSAR_GIT_VERSION
- version = std::string(PICSAR_GIT_VERSION);
-#endif
- if( version.empty() )
- return std::string("Unknown");
- else
- return version;
-}
-
bool
WarpX::isAnyBoundaryPML()
{