From bd7d6f6dd6464c1fbeab3867bae770dd78fb029c Mon Sep 17 00:00:00 2001 From: MaxThevenet Date: Fri, 29 May 2020 17:42:10 -0700 Subject: Move sensei to new diagnostics (#1040) * move ascent to new diagnostics * move Sensei to the new diagnostics * minor cleaning in new diagnostics * oops, had forgotten some files * fix typo * another typo introduced when merging master into this branch * FlushFormat::WriteToFile takes Vector& instead of Vector * IO output multifab has 1 guard cell when using sensei * updates to FlushFormatSensei * add some documentation to the class * add refrence to AmrMesh instance needed by the adaptor * add some error output in the case WarpX was not compiled w/ SENSEI * tested with SENSEI 3.2.0 Co-authored-by: Burlen Loring --- Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp') diff --git a/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp b/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp index 015380441..d0bc9292c 100644 --- a/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp +++ b/Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.cpp @@ -14,7 +14,7 @@ namespace void FlushFormatCheckpoint::WriteToFile ( const amrex::Vector varnames, - const amrex::Vector mf, + const amrex::Vector& mf, amrex::Vector& geom, const amrex::Vector iteration, const double time, const amrex::Vector& particle_diags, int nlev, const std::string prefix, -- cgit v1.2.3