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

Function readBoxList

Tests/complementIn/main.cpp:45–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45BoxArray
46readBoxList (const std::string& file, Box& domain)
47{
48 BoxArray retval;
49
50 std::ifstream ifs;
51 ifs.open(file.c_str(), std::ios::in);
52 ifs >> domain;
53 ifs.ignore(1000,'\n');
54 retval.readFrom(ifs);
55
56 return retval;
57}

Callers 1

testFunction · 0.70

Calls 1

readFromMethod · 0.45

Tested by

no test coverage detected