Commit c503ecfc authored by frey_m's avatar frey_m
Browse files

AMR: use ifdef

parent 04aaf5fb
......@@ -14,7 +14,7 @@ extern Inform *gmsg;
#include "OPALconfig.h"
#if ENABLE_AMR
#ifdef ENABLE_AMR
#include <AMReX.H>
#endif
......@@ -39,7 +39,7 @@ int run_opal(char *arg[], std::string inputfile, int restartStep,
IpplInfo::Error->setDestination(output);
IpplInfo::Warn->setDestination(output);
#if ENABLE_AMR
#ifdef ENABLE_AMR
amrex::Initialize(comm);
#endif
......@@ -81,7 +81,7 @@ int run_opal(char *arg[], std::string inputfile, int restartStep,
delete parser;
delete gmsg;
#if ENABLE_AMR
#ifdef ENABLE_AMR
amrex::Finalize(true);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment