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/WarpX.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'Source/WarpX.cpp') diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 85dfe9333..38837ec54 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -275,10 +275,6 @@ WarpX::WarpX () m_fdtd_solver_fp.resize(nlevs_max); m_fdtd_solver_cp.resize(nlevs_max); -#ifdef BL_USE_SENSEI_INSITU - insitu_bridge = nullptr; -#endif - // NCI Godfrey filters can have different stencils // at different levels (the stencil depends on c*dt/dz) nci_godfrey_filter_exeybz.resize(nlevs_max); @@ -301,10 +297,6 @@ WarpX::~WarpX () } delete reduced_diags; - -#ifdef BL_USE_SENSEI_INSITU - delete insitu_bridge; -#endif } void @@ -650,19 +642,6 @@ WarpX::ReadParameters () } #endif - { - insitu_start = 0; - insitu_int = 0; - insitu_config = ""; - insitu_pin_mesh = 0; - - ParmParse pp("insitu"); - pp.query("int", insitu_int); - pp.query("start", insitu_start); - pp.query("config", insitu_config); - pp.query("pin_mesh", insitu_pin_mesh); - } - // for slice generation // { ParmParse pp("slice"); -- cgit v1.2.3