Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NodeAMRIO.H

Go to the documentation of this file.
00001 /* _______              __
00002   / ___/ /  ___  __ _  / /  ___
00003  / /__/ _ \/ _ \/  ' \/ _ \/ _ \
00004  \___/_//_/\___/_/_/_/_.__/\___/
00005 */
00006 //
00007 // This software is copyright (C) by the Lawrence Berkeley
00008 // National Laboratory.  Permission is granted to reproduce
00009 // this software for non-commercial purposes provided that
00010 // this notice is left intact.
00011 //
00012 // It is acknowledged that the U.S. Government has rights to
00013 // this software under Contract DE-AC03-765F00098 between
00014 // the U.S.  Department of Energy and the University of
00015 // California.
00016 //
00017 // This software is provided as a professional and academic
00018 // contribution for joint exchange. Thus it is experimental,
00019 // is provided ``as is'', with no warranties of any kind
00020 // whatsoever, no support, no promise of updates, or printed
00021 // documentation. By using this software, you acknowledge
00022 // that the Lawrence Berkeley National Laboratory and
00023 // Regents of the University of California shall have no
00024 // liability with respect to the infringement of other
00025 // copyrights by any part of this software.
00026 //
00027 
00028 // NodeAMRIO.H
00029 // petermc, 4 March 2003
00030 // adapted from AMRIO by DTGraves, Fri, Dec 3, 1999
00031 
00032 #ifndef _NodeAMRIO_
00033 #define _NodeAMRIO_
00034 #include "REAL.H"
00035 
00036 #ifndef WRAPPER
00037 
00038 #include "LevelData.H"
00039 #include "REAL.H"
00040 #include "Vector.H"
00041 #include "NodeFArrayBox.H"
00042 #include <string>
00043 #include "LDF.H"
00044 #include "IntVect.H"
00045 using std::string;
00046 using std::istream;
00047 #endif
00048 
00050 
00069 void
00070 WriteAMRHierarchyHDF5(const string& filename,
00071                       const Vector<DisjointBoxLayout>& a_vectGrids,
00072                       const Vector<LevelData<NodeFArrayBox>* > & a_vectData,
00073                       const Vector<string>& a_vectNames,
00074                       const Box& a_domain,
00075                       const Real& a_dx,
00076                       const Real& a_dt,
00077                       const Real& a_time,
00078                       const Vector<int>& a_vectRatio,
00079                       const int& a_numLevels);
00080 
00081 
00083 
00109 void
00110 WriteAMRHierarchyHDF5(const string& filename,
00111                       const Vector<DisjointBoxLayout>& a_vectGrids,
00112                       const Vector<Vector<LevelData<NodeFArrayBox>* > >& a_vectData,
00113                       const Vector<string>& a_vectNames,
00114                       const Box& a_domain,
00115                       const Real& a_dx,
00116                       const Real& a_dt,
00117                       const Real& a_time,
00118                       const Vector<int>& a_vectRatio,
00119                       const int& a_numLevels);
00120 
00122 
00141 void
00142 WriteAMRHierarchyHDF5(HDF5Handle& handle,
00143                       const Vector<DisjointBoxLayout>& a_vectGrids,
00144                       const Vector<LevelData<NodeFArrayBox>* > & a_vectData,
00145                       const Vector<string>& a_vectNames,
00146                       const Box& a_domain,
00147                       const Real& a_dx,
00148                       const Real& a_dt,
00149                       const Real& a_time,
00150                       const Vector<int>& a_vectRatio,
00151                       const int& a_numLevels);
00152 
00153 
00155 
00170 void
00171 WriteAMRHierarchyHDF5(const string& filename,
00172                       const Vector<DisjointBoxLayout>& a_vectGrids,
00173                       const Vector<LevelData<NodeFArrayBox>* > & a_vectData,
00174                       const Box& a_domain,
00175                       const Vector<int>& a_vectRatio,
00176                       const int& a_numLevels);
00177 
00178 
00180 
00195 void
00196 WriteAMRHierarchyHDF5(HDF5Handle& handle,
00197                       const Vector<DisjointBoxLayout>& a_vectGrids,
00198                       const Vector<LevelData<NodeFArrayBox>* > & a_vectData,
00199                       const Box& a_domain,
00200                       const Vector<int>& a_vectRatio,
00201                       const int& a_numLevels);
00202 
00203 
00204 #ifndef WRAPPER
00205 
00206 
00233 int
00234 ReadAMRHierarchyHDF5(const string& filename,
00235                      Vector<DisjointBoxLayout>& a_vectGrids,
00236                      Vector<LevelData<NodeFArrayBox>* > & a_vectData,
00237                      Vector<string>& a_vectNames,
00238                      Box& a_domain,
00239                      Real& a_dx,
00240                      Real& a_dt,
00241                      Real& a_time,
00242                      Vector<int>& a_refRatio,
00243                      int& a_numLevels,
00244                      const IntVect& a_ghostVector = IntVect::TheZeroVector());
00245 
00247 
00274 int
00275 ReadAMRHierarchyHDF5(HDF5Handle& handle,
00276                      Vector<DisjointBoxLayout>& a_vectGrids,
00277                      Vector<LevelData<NodeFArrayBox>* > & a_vectData,
00278                      Vector<string>& a_vectNames,
00279                      Box& a_domain,
00280                      Real& a_dx,
00281                      Real& a_dt,
00282                      Real& a_time,
00283                      Vector<int>& a_refRatio,
00284                      int& a_numLevels,
00285                      const IntVect& a_ghostVector = IntVect::TheZeroVector());
00286 
00287 
00289 
00312 int
00313 ReadAMRHierarchyHDF5(const string& filename,
00314                      Vector<DisjointBoxLayout>& a_vectGrids,
00315                      Vector<LevelData<NodeFArrayBox>* > & a_vectData,
00316                      Box& a_domain,
00317                      Vector<int>& a_refRatio,
00318                      int& a_numLevels,
00319                      const IntVect& a_ghostVector = IntVect::TheZeroVector());
00320 
00321 
00323 
00346 int
00347 ReadAMRHierarchyHDF5(HDF5Handle& handle,
00348                      Vector<DisjointBoxLayout>& a_vectGrids,
00349                      Vector<LevelData<NodeFArrayBox>* > & a_vectData,
00350                      Box& a_domain,
00351                      Vector<int>& a_refRatio,
00352                      int& a_numLevels,
00353                      const IntVect& a_ghostVector = IntVect::TheZeroVector());
00354 
00355 #endif
00356 
00358 
00363 void
00364 writeNFAB(const NodeFArrayBox* a_dataPtr);
00365 
00367 
00373 void
00374 viewNFAB(const NodeFArrayBox* a_dataPtr);
00375 
00377 
00382 void
00383 writeNFABname(const NodeFArrayBox* a_dataPtr,
00384               const char*      a_filename);
00385 
00387 
00392 void
00393 writeNodeLevel(const LevelData<NodeFArrayBox>* a_dataPtr);
00394 
00396 
00402 void
00403 viewNodeLevel(const LevelData<NodeFArrayBox>* a_dataPtr);
00404 
00406 
00411 void
00412 writeNodeLevelname(const LevelData<NodeFArrayBox>* a_dataPtr,
00413                    const char*                 a_filename);
00414 
00416 
00437 void
00438 WritePartialAMRHierarchyHDF5(const string& filename,
00439                              const Vector<DisjointBoxLayout>& a_vectGrids,
00440                              const Vector<LevelData<FArrayBox>* > & a_vectData,
00441                              const Vector<string>& a_vectNames,
00442                              const Box& a_baseDomain,
00443                              const Real& a_baseDx,
00444                              const Real& a_dt,
00445                              const Real& a_time,
00446                              const Vector<int>& a_vectRatio,
00447                              const Interval& a_levels);
00448 
00449 
00451 
00479 void
00480 WritePartialAMRHierarchyHDF5(const string& filename,
00481                              const Vector<DisjointBoxLayout>& a_vectGrids,
00482                              const Vector<Vector<LevelData<NodeFArrayBox>* > >& a_vectData,
00483                              const Vector<string>& a_vectNames,
00484                              const Box& a_baseDomain,
00485                              const Real& a_baseDx,
00486                              const Real& a_dt,
00487                              const Real& a_time,
00488                              const Vector<int>& a_vectRatio,
00489                              const Interval& a_levels);
00490 
00491 #endif

Generated on Tue Apr 15 18:31:55 2003 for AMRNodeElliptic by doxygen1.2.16