23 #include "openPMD/backend/Attributable.hpp" 24 #include "openPMD/backend/Container.hpp" 25 #include "openPMD/Mesh.hpp" 26 #include "openPMD/ParticleSpecies.hpp" 53 template<
typename T >
61 template<
typename T >
68 template<
typename T >
76 template<
typename T >
97 void flushFileBased(std::string
const&, uint64_t);
98 void flushGroupBased(uint64_t);
102 virtual void linkHierarchy(std::shared_ptr< Writable >
const& w);
107 Iteration::time< float >()
const;
111 Iteration::time< double >()
const;
115 Iteration::time< long double >()
const;
117 template<
typename T >
120 {
return Attributable::readFloatingpoint< T >(
"time"); }
125 Iteration::dt< float >()
const;
129 Iteration::dt< double >()
const;
133 Iteration::dt< long double >()
const;
135 template<
typename T >
138 {
return Attributable::readFloatingpoint< T >(
"dt"); }
T time() const
Definition: Iteration.hpp:119
Iteration & setDt(T newDt)
Set the time step used to reach this iteration.
Definition: Iteration.cpp:79
double timeUnitSI() const
Definition: Iteration.cpp:88
Logical compilation of data from one snapshot (e.g.
Definition: Iteration.hpp:35
T dt() const
Definition: Iteration.hpp:137
Root level of the openPMD hierarchy.
Definition: Series.hpp:55
Public definitions of openPMD-api.
Definition: Date.cpp:28
Iteration & setTime(T newTime)
Set the global reference time for this iteration.
Definition: Iteration.cpp:69
Map-like container that enforces openPMD requirements and handles IO.
Definition: Container.hpp:70
Iteration & setTimeUnitSI(double newTimeUnitSI)
Set the conversion factor to convert time and dt to seconds.
Definition: Iteration.cpp:94
Layer to manage storage of attributes associated with file objects.
Definition: Attributable.hpp:65