Block-Structured AMR Software Framework
AMReX_WritePlotFile.H
Go to the documentation of this file.
1 #ifndef _WritePlotFile_H_
2 #define _WritePlotFile_H_
3 
4 #include <string>
5 
6 #include <AMReX_MultiFab.H>
7 #include <AMReX_Geometry.H>
8 #include <AMReX_AmrData.H>
9 
10 
11 namespace amrex {
12 
13 // Write a MultiFab to a plotfile named "name" using the HyperCLawV1.1 parallel
14 // plotfile data format
15 void
16 writePlotFile (const char* name,
17  const amrex::MultiFab& mf,
18  const amrex::Geometry& geom,
19  const amrex::IntVect& refRatio,
20  amrex::Real bgVal,
21  const amrex::Vector<std::string>& names);
22 
23 // Write an array of multifabs pulling all the data from the AmrData
25  const amrex::Vector<amrex::Box>& probDomain,
26  amrex::AmrData& amrdToMimic,
27  const std::string& oFile,
28  bool verbose = false,
30 
31 // Write an array of multifabs pulling all the data from the AmrData
33  amrex::AmrData& amrdToMimic,
34  const std::string& oFile,
35  bool verbose = false,
37 
38 }
39 
40 #endif
41 
Definition: AMReX_AmrData.H:19
Rectangular problem domain geometry.
Definition: AMReX_Geometry.H:73
A collection (stored as an array) of FArrayBox objects.
Definition: AMReX_MultiFab.H:38
Definition: AMReX_Amr.cpp:49
void WritePlotFile(const Vector< MultiFab * > &mfa, const Vector< Box > &probDomain, AmrData &amrdToMimic, const std::string &oFile, bool verbose, const Vector< std::string > &varNames)
Definition: AMReX_WritePlotFile.cpp:292
void writePlotFile(const std::string &dir, std::ostream &os, int level, const MultiFab &mf, const Geometry &geom, const IntVect &refRatio, Real bgVal, const Vector< std::string > &names)
Definition: AMReX_WritePlotFile.cpp:28
int verbose
Definition: AMReX_DistributionMapping.cpp:36