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

Method write_header

Src/Base/AMReX_FArrayBox.cpp:94–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92};
93
94void
95FABio::write_header (std::ostream& os,
96 const FArrayBox& f,
97 int nvar) const
98{
99// BL_PROFILE("FABio::write_header");
100 BL_ASSERT(nvar <= f.nComp());
101 amrex::StreamRetry sr(os, "FABio_write_header", 4);
102 while(sr.TryOutput()) {
103 os << f.box() << ' ' << nvar << '\n';
104 }
105}
106
107FABio::Format FArrayBox::format;
108

Callers 1

writeOnMethod · 0.45

Calls 3

TryOutputMethod · 0.80
nCompMethod · 0.45
boxMethod · 0.45

Tested by

no test coverage detected