MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / EB_WriteSingleLevelPlotfile

Function EB_WriteSingleLevelPlotfile

Src/Base/AMReX_PlotFileUtil.cpp:364–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362
363#ifdef AMREX_USE_EB
364void
365EB_WriteSingleLevelPlotfile (const std::string& plotfilename,
366 const MultiFab& mf, const Vector<std::string>& varnames,
367 const Geometry& geom, Real time, int level_step,
368 const std::string &versionName,
369 const std::string &levelPrefix,
370 const std::string &mfPrefix,
371 const Vector<std::string>& extra_dirs)
372{
373 Vector<const MultiFab*> mfarr(1,&mf);
374 Vector<Geometry> geomarr(1,geom);
375 Vector<int> level_steps(1,level_step);
376 Vector<IntVect> ref_ratio;
377
378 EB_WriteMultiLevelPlotfile(plotfilename, 1, mfarr, varnames, geomarr, time,
379 level_steps, ref_ratio, versionName, levelPrefix, mfPrefix, extra_dirs);
380}
381
382void
383EB_WriteMultiLevelPlotfile (const std::string& plotfilename, int nlevels,

Callers 1

write_plotfileFunction · 0.85

Calls 1

Tested by

no test coverage detected