diff options
Diffstat (limited to 'Source/Diagnostics/WarpXIO.cpp')
-rw-r--r-- | Source/Diagnostics/WarpXIO.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Source/Diagnostics/WarpXIO.cpp b/Source/Diagnostics/WarpXIO.cpp index ef427f59f..402fd03ba 100644 --- a/Source/Diagnostics/WarpXIO.cpp +++ b/Source/Diagnostics/WarpXIO.cpp @@ -278,32 +278,3 @@ WarpX::GetCellCenteredData() { return std::move(cc[0]); } - -void -WarpX::UpdateInSitu () const -{ -#if defined(BL_USE_SENSEI_INSITU) - WARPX_PROFILE("WarpX::UpdateInSitu()"); - - // Average the fields from the simulation to the cell centers - const int ngrow = 1; - Vector<std::string> varnames; // Name of the written fields - // mf_avg will contain the averaged, cell-centered fields - Vector<MultiFab> mf_avg; - WarpX::AverageAndPackFields( varnames, mf_avg, ngrow ); - -# ifdef BL_USE_SENSEI_INSITU - if (insitu_bridge->update(istep[0], t_new[0], - dynamic_cast<amrex::AmrMesh*>(const_cast<WarpX*>(this)), - {&mf_avg}, {varnames})) - { - amrex::ErrorStream() - << "WarpXIO::UpdateInSitu : Failed to update the in situ bridge." - << std::endl; - - amrex::Abort(); - } -# endif - -#endif -} |