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 () |
| |
| | FlushFormatSensei (const FlushFormatSensei &)=delete |
| |
| void | operator= (const FlushFormatSensei &)=delete |
| |
| | FlushFormatSensei (amrex::AmrMesh *amr_mesh, std::string diag_name) |
| |
| virtual void | WriteToFile (const amrex::Vector< std::string > varnames, const amrex::Vector< amrex::MultiFab > &mf, amrex::Vector< amrex::Geometry > &geom, const amrex::Vector< int > iteration, const double time, const amrex::Vector< ParticleDiag > &particle_diags, int nlev, const std::string prefix, int file_min_digits, bool plot_raw_fields, bool plot_raw_fields_guards, const 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 amrex::Vector< int > &totalParticlesFlushedAlready=amrex::Vector< int >()) const override |
| |
| void | WriteParticles (const amrex::Vector< ParticleDiag > &particle_diags) const |
| | Do in-situ visualization for particle data. More...
|
| |
| virtual | ~FlushFormat () |
| |
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