chombo-discharge
Loading...
Searching...
No Matches
Namespaces | Functions
CD_DischargeIO.H File Reference

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

#include <string>
#include <vector>
#include <utility>
#include <functional>
#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_ParticleSoA.H>
#include <CD_ParticleContainer.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

namespace  DischargeIO
 Namespace which encapsulates chombo-discharge IO functionality.
 

Functions

std::string DischargeIO::numberFmt (long long n, 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<typename P , typename Traits >
void DischargeIO::writeH5Part (std::string a_filename, const ParticleContainer< P, Traits > &a_particles, RealVect a_shift, Real a_time) noexcept
 Write an SoA particle container to an H5Part file (quick visualization).
 

Detailed Description

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

Author
Robert Marskar