ESyS-Particle  2.2
rextract.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2003-2013 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __REXTRACT_H
14 #define __REXTRACT_H
15 
16 
17 //--- STL includes ---
18 #include <map>
19 #include <set>
20 #include <string>
21 #include <vector>
22 
23 using std::set;
24 using std::vector;
25 using std::map;
26 using std::string;
27 
32 class Rextract
33 {
34  private:
35  vector<double> m_angvel_rms;
36  vector<double> m_rad;
37  set<int> m_tag_set;
38  string m_infilebase;
39  string m_outfilename;
40  int m_tag;
41  int m_count;
42  int m_sumpart;
44 
45  public:
46  Rextract(const string&,const string&,int);
47  void read_frame(int);
48  void write_data();
49  void write_data_bin(double,double,int);
50 };
51 
52 #endif // __REXTRACT_H