MercuryDPM
Alpha
|
#include <fstream>
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
Go to the source code of this file.
Classes | |
struct | MercuryParticle< NDIMS > |
struct | MercuryParticle< 2 > |
class | MercuryTimeStepIterator< NDIMS > |
class | MercuryTimeStep< NDIMS > |
class | MercuryTimeStepIterator< NDIMS > |
class | MercuryDataFile |
class | MercuryDataFile::IteratorProxy< NDIMS > |
Functions | |
template<std::size_t NDIMS> | |
std::istream & | operator>> (std::istream &in, MercuryParticle< NDIMS > &part) |
Read a single particle from a istream. More... | |
template<> | |
std::istream & | operator>>< 2 > (std::istream &in, MercuryParticle< 2 > &part) |
template<std::size_t NDIMS> | |
std::istream & | operator>> (std::istream &in, MercuryTimeStep< NDIMS > &step) |
std::istream& operator>> | ( | std::istream & | in, |
MercuryParticle< NDIMS > & | part | ||
) |
Read a single particle from a istream.
Definition at line 116 of file MercuryData.h.
References MercuryParticle< NDIMS >::angularV, MercuryParticle< NDIMS >::position, MercuryParticle< NDIMS >::radius, MercuryParticle< NDIMS >::rotation, MercuryParticle< NDIMS >::speciesID, and MercuryParticle< NDIMS >::velocity.
std::istream& operator>> | ( | std::istream & | in, |
MercuryTimeStep< NDIMS > & | step | ||
) |
Reads the timestep header into the ts
[in,out] | in | The istream where we read from |
[out] | step | The timestream read into |
Definition at line 333 of file MercuryData.h.
References MercuryTimeStep< NDIMS >::max_, MercuryTimeStep< NDIMS >::min_, MercuryTimeStep< NDIMS >::numParticles_, and MercuryTimeStep< NDIMS >::time_.
std::istream& operator>>< 2 > | ( | std::istream & | in, |
MercuryParticle< 2 > & | part | ||
) |
Definition at line 139 of file MercuryData.h.