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

Method convertToNativeFormat

Src/Base/AMReX_FabConv.cpp:971–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

969//
970
971void
972RealDescriptor::convertToNativeFormat (Real* out,
973 Long nitems,
974 void* in,
975 const RealDescriptor& id)
976{
977// BL_PROFILE("RD:convertToNativeFormat_vp");
978
979 PD_convert(out,
980 in,
981 nitems,
982 0,
983 FPC::NativeRealDescriptor(),
984 id,
985 FPC::NativeLongDescriptor());
986
987 if(bAlwaysFixDenormals) {
988 PD_fixdenormals(out, nitems, FPC::NativeRealDescriptor().format(),
989 FPC::NativeRealDescriptor().order());
990 }
991}
992
993//
994// Read nitems from istream in RealDescriptor format to native Real format.

Callers

nothing calls this directly

Calls 7

PD_convertFunction · 0.85
PD_fixdenormalsFunction · 0.85
LongFunction · 0.85
numBytesMethod · 0.80
formatMethod · 0.45
orderMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected