Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Advection_AmrCore test #3690

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Tests/Amr/Advection_AmrCore/Source/AmrCoreAdv.H
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public:
amrex::Real EstTimeStep (int lev, amrex::Real time);

#ifdef AMREX_PARTICLES
static amrex::AmrTracerParticleContainer* theTracerPC () { return TracerPC.get(); }
amrex::AmrTracerParticleContainer* theTracerPC () { return TracerPC.get(); }
#endif


Expand Down Expand Up @@ -217,8 +217,8 @@ private:

#ifdef AMREX_PARTICLES
void init_particles ();
static int do_tracers;
static std::unique_ptr<amrex::AmrTracerParticleContainer> TracerPC;
int do_tracers = 0;
std::unique_ptr<amrex::AmrTracerParticleContainer> TracerPC;
#endif
};

Expand Down
8 changes: 0 additions & 8 deletions Tests/Amr/Advection_AmrCore/Source/AmrCoreAdv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@

using namespace amrex;



#ifdef AMREX_PARTICLES
std::unique_ptr<AmrTracerParticleContainer> AmrCoreAdv::TracerPC = nullptr;
int AmrCoreAdv::do_tracers = 0;
#endif


// constructor - reads in parameters from inputs file
// - sizes multilevel arrays and data structures
// - initializes BCRec boundary condition object
Expand Down