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

Function LevelFullPath

Src/Base/AMReX_PlotFileUtil.cpp:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30std::string LevelFullPath (int level,
31 const std::string &plotfilename,
32 const std::string &levelPrefix)
33{
34 std::string r(plotfilename);
35 if ( ! r.empty() && r.back() != '/') {
36 r += '/';
37 }
38 r += LevelPath(level, levelPrefix); // e.g., plt00005/Level_5
39 return r;
40}
41
42std::string MultiFabFileFullPrefix (int level,
43 const std::string& plotfilename,

Callers 1

Calls 2

LevelPathFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected