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

Function getDataFileName

Tools/Postprocessing/C_Src/particle_compare.cpp:268–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268std::string getDataFileName(const std::string& prefix, int level, int file_num) {
269 std::stringstream ss;
270 ss << prefix << "/Level_" << level << "/DATA_";
271 ss << std::setfill('0');
272 ss << std::setw(5);
273 ss << file_num;
274 return ss.str();
275}
276
277void getDataBuffer(std::vector<char>& buffer, const std::string& file,
278 size_t buffer_size, int offset) {

Callers 1

compare_particle_chunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected