Skip to content
Open
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
11 changes: 11 additions & 0 deletions src/ImpactX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#include "diagnostics/DiagnosticOutput.H"
#include "particles/wakefields/HandleWakefield.H"

#include <ablastr/utils/UsedInputsFile.H>

#include <AMReX.H>
#include <AMReX_AmrParGDB.H>
#include <AMReX_BLProfiler.H>
Expand Down Expand Up @@ -118,6 +120,15 @@ namespace impactx {
}
}

// write parameters
{
std::string filename = "impactx_used_inputs";
amrex::ParmParse pp_impactx("impactx");
pp_impactx.queryAdd("used_inputs_file", filename);

ablastr::utils::write_used_inputs_file(filename);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ablastr::utils::write_used_inputs_file(filename);
ablastr::utils::write_used_inputs_file(filename, verbose);

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: to use AMReX-Codes/amrex#4652 now

}

// keep track that init is done
m_grids_initialized = true;
}
Expand Down
Loading