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

Method write_header

Src/Base/AMReX_IArrayBox.cpp:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void
154IFABio::write_header (std::ostream& os, const IArrayBox& fab, int nvar)
155{
156 AMREX_ASSERT(nvar <= fab.nComp());
157 os <<"IFAB " << FPC::NativeIntDescriptor();
158 os << fab.box() << ' ' << nvar << '\n';
159}
160
161void
162IFABio::read (std::istream& is, IArrayBox& fab, IntDescriptor const& data_descriptor)

Callers 4

WriteFunction · 0.45
WriteMethod · 0.45
FindOffsetsMethod · 0.45
AsyncWriteDoitMethod · 0.45

Calls 2

nCompMethod · 0.45
boxMethod · 0.45

Tested by

no test coverage detected