diff --git a/Source/driver/Castro.H b/Source/driver/Castro.H index 66a2048124..0a77218ee6 100644 --- a/Source/driver/Castro.H +++ b/Source/driver/Castro.H @@ -1381,9 +1381,10 @@ protected: /// amrex::MultiFab volume; amrex::Array area; - amrex::Array dLogArea; amrex::Vector< amrex::Vector > radius; - +#if AMREX_SPACEDIM <= 2 + amrex::Array dLogArea; +#endif /// /// For initialization of the C++ values of the runtime parameters