This class aims at dumping performing in-situ diagnostics with SENSEI. In particular, function WriteToFile takes fields and particles as input arguments, and calls amrex functions to do the in-situ visualization.
More...
|
| | FlushFormatSensei () |
| |
| | ~FlushFormatSensei () override |
| |
| | FlushFormatSensei (const FlushFormatSensei &)=delete |
| |
| FlushFormatSensei & | operator= (const FlushFormatSensei &)=delete |
| |
| | FlushFormatSensei (FlushFormatSensei &&)=default |
| |
| FlushFormatSensei & | operator= (FlushFormatSensei &&)=default |
| |
| | FlushFormatSensei (amrex::AmrMesh *amr_mesh, const std::string &diag_name) |
| |
| void | WriteToFile (const amrex::Vector< std::string > &varnames, const amrex::Vector< amrex::MultiFab > &mf, amrex::Vector< amrex::Geometry > &geom, amrex::Vector< int > iteration, double time, const amrex::Vector< ParticleDiag > &particle_diags, int nlev, std::string prefix, int file_min_digits, bool plot_raw_fields, bool plot_raw_fields_guards, int verbose=2, bool use_pinned_pc=false, bool isBTD=false, int snapshotID=-1, int bufferID=1, int numBuffers=1, const amrex::Geometry &full_BTD_snapshot=amrex::Geometry(), bool isLastBTDFlush=false) const override |
| |
| void | WriteParticles (const amrex::Vector< ParticleDiag > &particle_diags) const |
| | Do in-situ visualization for particle data.
|
| |
| | FlushFormat ()=default |
| |
| virtual | ~FlushFormat ()=default |
| |
| | FlushFormat (FlushFormat const &)=default |
| |
| FlushFormat & | operator= (FlushFormat const &)=default |
| |
| | FlushFormat (FlushFormat &&)=default |
| |
| FlushFormat & | operator= (FlushFormat &&)=default |
| |
This class aims at dumping performing in-situ diagnostics with SENSEI. In particular, function WriteToFile takes fields and particles as input arguments, and calls amrex functions to do the in-situ visualization.
To use the SENSEI flush format one must compile WarpX with the GNUMakefile setting: USE_SENSEI_INSITU=TRUE
In addition to the standard controls, the following inputs file fields are supported:
sensei_config - the path to a SENSEI XML configuration (required)
sensei_pin_mesh - integer 0 or 1 forcing the moving mesh to be fixed
at 0,0,0 (optional)
Fri 29 May 2020 11:19:38 AM PDT : Tested with SENSEI version 3.2.0