chombo-discharge
Namespaces | Functions
CD_DischargeIO.H File Reference

Silly, but useful functions that override standard Chombo HDF5 IO. More...

#include <string>
#include <REAL.H>
#include <RealVect.H>
#include <IntVect.H>
#include <Vector.H>
#include <DisjointBoxLayout.H>
#include <LevelData.H>
#include <EBCellFAB.H>
#include <ParticleIO.H>
#include <ProblemDomain.H>
#include <CD_EBAMRData.H>
#include <CD_ParticleContainer.H>
#include <CD_GenericParticle.H>
#include <CD_NamespaceHeader.H>
#include <CD_NamespaceFooter.H>
#include <CD_DischargeIOImplem.H>
Include dependency graph for CD_DischargeIO.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 DischargeIO
 Namespace which encapsulates chombo-discharge IO functionality.
 

Functions

std::string DischargeIO::numberFmt (const long long a_number, char a_sep=',') noexcept
 Number formatting method – writes big numbers using an input separator. E.g. the number 123456 is written as 123,456. More...
 
Vector< std::string > DischargeIO::numberFmt (const Vector< long long > a_numbers, char a_sep=',') noexcept
 Number formatting game. This just prints the number 123456 as 123,456. More...
 
template<size_t M, size_t N>
void DischargeIO::writeH5Part (const std::string a_filename, const ParticleContainer< GenericParticle< M, N >> &a_particles, const std::vector< std::string > a_realVars=std::vector< std::string >(), const std::vector< std::string > a_vectVars=std::vector< std::string >(), const RealVect a_shift=RealVect::Zero, const Real a_time=0.0) noexcept
 A shameless copy of Chombo's writeEBHDF5 but including the lower-left corner of the physical domain as well. More...
 

Detailed Description

Silly, but useful functions that override standard Chombo HDF5 IO.

Author
Robert Marskar