An on-disk FabArray<FArrayBox> contains this info in a header file. More...
#include <AMReX_VisMF.H>
Public Types | |
enum | Version { Undefined_v1 = 0 , Version_v1 = 1 , NoFabHeader_v1 = 2 , NoFabHeaderMinMax_v1 = 3 , NoFabHeaderFAMinMax_v1 = 4 } |
The versions of the FabArray<FArrayBox> Header code. More... | |
Public Member Functions | |
Header () | |
The default constructor. More... | |
Header (const FabArray< FArrayBox > &mf, VisMF::How how, Version version=Version_v1, bool calcMinMax=true, MPI_Comm=ParallelDescriptor::Communicator()) | |
Construct from a FabArray<FArrayBox>. More... | |
~Header ()=default | |
Header (Header &&rhs) noexcept=default | |
Header (Header const &)=delete | |
Header & | operator= (Header const &)=delete |
Header & | operator= (Header &&)=delete |
void | CalculateMinMax (const FabArray< FArrayBox > &mf, int procToWrite=ParallelDescriptor::IOProcessorNumber(), MPI_Comm=ParallelDescriptor::Communicator()) |
Calculate the min and max arrays. More... | |
Public Attributes | |
int | m_vers {VisMF::Header::Undefined_v1} |
The version of the Header. More... | |
How | m_how |
How the MF was written to disk. More... | |
int | m_ncomp |
Number of components in MF. More... | |
IntVect | m_ngrow |
The number of ghost cells in MF. More... | |
BoxArray | m_ba |
The BoxArray of the MF. More... | |
Vector< FabOnDisk > | m_fod |
FabOnDisk info for contained FABs. More... | |
Vector< Vector< Real > > | m_min |
The min()s of each component of FABs. [findex][comp]. More... | |
Vector< Vector< Real > > | m_max |
The max()s of each component of FABs. [findex][comp]. More... | |
Vector< Real > | m_famin |
The min()s of each component of the FabArray. [comp]. More... | |
Vector< Real > | m_famax |
The max()s of each component of the FabArray. [comp]. More... | |
RealDescriptor | m_writtenRD |
An on-disk FabArray<FArrayBox> contains this info in a header file.
The versions of the FabArray<FArrayBox> Header code.
Enumerator | |
---|---|
Undefined_v1 | -— undefined |
Version_v1 | -— auto converting version with headers -— for each fab in the data files and -— min and max values for each fab in the header |
NoFabHeader_v1 | -— no fab headers, no fab mins or maxes |
NoFabHeaderMinMax_v1 | -— no fab headers, -— min and max values for each fab in the header |
NoFabHeaderFAMinMax_v1 | -— no fab headers, no fab mins or maxes, -— min and max values for each FabArray in the header |
|
default |
The default constructor.
amrex::VisMF::Header::Header | ( | const FabArray< FArrayBox > & | mf, |
VisMF::How | how, | ||
Version | version = Version_v1 , |
||
bool | calcMinMax = true , |
||
MPI_Comm | comm = ParallelDescriptor::Communicator() |
||
) |
Construct from a FabArray<FArrayBox>.
|
default |
|
defaultnoexcept |
|
delete |
void amrex::VisMF::Header::CalculateMinMax | ( | const FabArray< FArrayBox > & | mf, |
int | procToWrite = ParallelDescriptor::IOProcessorNumber() , |
||
MPI_Comm | comm = ParallelDescriptor::Communicator() |
||
) |
Calculate the min and max arrays.
How amrex::VisMF::Header::m_how |
How the MF was written to disk.
The max()s of each component of FABs. [findex][comp].
The min()s of each component of FABs. [findex][comp].
int amrex::VisMF::Header::m_ncomp |
Number of components in MF.
IntVect amrex::VisMF::Header::m_ngrow |
The number of ghost cells in MF.
int amrex::VisMF::Header::m_vers {VisMF::Header::Undefined_v1} |
The version of the Header.
RealDescriptor amrex::VisMF::Header::m_writtenRD |