diff options
author | 2020-05-29 17:42:10 -0700 | |
---|---|---|
committer | 2020-05-29 17:42:10 -0700 | |
commit | bd7d6f6dd6464c1fbeab3867bae770dd78fb029c (patch) | |
tree | ab785acfe5f8c5e76b81d3ddd7b2c40e6d71a7a4 /Source/Initialization/WarpXInitData.cpp | |
parent | d337f7c1780e9d1fe820b1cca712da04e8e328f7 (diff) | |
download | WarpX-bd7d6f6dd6464c1fbeab3867bae770dd78fb029c.tar.gz WarpX-bd7d6f6dd6464c1fbeab3867bae770dd78fb029c.tar.zst WarpX-bd7d6f6dd6464c1fbeab3867bae770dd78fb029c.zip |
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<MultiFab>& instead of Vector<const MultiFab*>
* 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 <bloring@lbl.gov>
Diffstat (limited to 'Source/Initialization/WarpXInitData.cpp')
-rw-r--r-- | Source/Initialization/WarpXInitData.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
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) { |