Block-Structured AMR Software Framework
AMReX_VisMF.H File Reference
#include <AMReX_Config.H>
#include <AMReX_AsyncOut.H>
#include <AMReX_BLProfiler.H>
#include <AMReX_FabArray.H>
#include <AMReX_FArrayBox.H>
#include <AMReX_FabConv.H>
#include <AMReX_NFiles.H>
#include <AMReX_ParallelDescriptor.H>
#include <AMReX_VisMFBuffer.H>
#include <fstream>
#include <iostream>
#include <sstream>
#include <deque>
#include <map>
#include <numeric>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

class  amrex::VisMF
 File I/O for FabArray<FArrayBox>. Wrapper class for reading/writing FabArray<FArrayBox> objects to disk in various "smart" ways. More...
 
struct  amrex::VisMF::FabOnDisk
 A structure containing info regarding an on-disk FAB. More...
 
struct  amrex::VisMF::Header
 An on-disk FabArray<FArrayBox> contains this info in a header file. More...
 
struct  amrex::VisMF::FabReadLink
 This structure is used to store the read order for each FabArray file. More...
 
struct  amrex::VisMF::PersistentIFStream
 This structure is used to store file ifstreams that remain open. More...
 

Namespaces

 amrex
 
 amrex::detail
 

Functions

std::ostream & amrex::operator<< (std::ostream &os, const VisMF::FabOnDisk &fod)
 Write a FabOnDisk to an ostream in ASCII. More...
 
std::istream & amrex::operator>> (std::istream &is, VisMF::FabOnDisk &fod)
 Read a FabOnDisk from an istream. More...
 
std::ostream & amrex::operator<< (std::ostream &os, const Vector< VisMF::FabOnDisk > &fa)
 Write an Vector<FabOnDisk> to an ostream in ASCII. More...
 
std::istream & amrex::operator>> (std::istream &is, Vector< VisMF::FabOnDisk > &fa)
 Read an Vector<FabOnDisk> from an istream. More...
 
std::ostream & amrex::operator<< (std::ostream &os, const VisMF::Header &hd)
 Write a VisMF::Header to an ostream in ASCII. More...
 
std::istream & amrex::operator>> (std::istream &is, VisMF::Header &hd)
 Read a VisMF::Header from an istream. More...
 
template<typename FAB >
std::enable_if_t< std::is_same_v< FAB, IArrayBox > > amrex::Write (const FabArray< FAB > &fa, const std::string &name)
 Write iMultiFab/FabArray<IArrayBox> More...
 
template<typename FAB >
void amrex::detail::read_fab (FAB &fab, VisMF::FabOnDisk const &fod, std::string const &name)
 
template<typename FAB >
std::enable_if_t< std::is_same_v< FAB, IArrayBox > > amrex::Read (FabArray< FAB > &fa, const std::string &name)
 Read iMultiFab/FabArray<IArrayBox> More...