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/Initialization/WarpXInitData.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'Source/Initialization/WarpXInitData.cpp') diff --git a/Source/Initialization/WarpXInitData.cpp b/Source/Initialization/WarpXInitData.cpp index e97303d9d..7ee7e1902 100644 --- a/Source/Initialization/WarpXInitData.cpp +++ b/Source/Initialization/WarpXInitData.cpp @@ -63,29 +63,10 @@ WarpX::InitData () printGridSummary(std::cout, 0, finestLevel()); } -#ifdef BL_USE_SENSEI_INSITU - insitu_bridge = new amrex::AmrMeshInSituBridge; - insitu_bridge->setEnabled(insitu_int > 0 ? 1 : 0); - insitu_bridge->setConfig(insitu_config); - insitu_bridge->setPinMesh(insitu_pin_mesh); - if (insitu_bridge->initialize()) - { - amrex::ErrorStream() - << "WarpX::InitData : Failed to initialize the in situ bridge." - << std::endl; - - amrex::Abort(); - } - insitu_bridge->setFrequency(1); -#endif - if (restart_chkfile.empty()) { multi_diags->FilterComputePackFlush( 0, true ); - if ((insitu_int > 0) && (insitu_start == 0)) - UpdateInSitu(); - // Write reduced diagnostics before the first iteration. if (reduced_diags->m_plot_rd != 0) { -- cgit v1.2.3