|
chombo-discharge
|
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>

Go to the source code of this file.
Namespaces | |
| namespace | 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. | |
| 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. | |
| 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. | |
Silly, but useful functions that override standard Chombo HDF5 IO.