ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/io/StatWriter.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/io/StatWriter.hpp (file contents):
Revision 1725 by tim, Wed Nov 10 22:01:06 2004 UTC vs.
Revision 1808 by tim, Tue Nov 30 23:14:29 2004 UTC

# Line 34 | Line 34
34  
35   #ifndef IO_STATWRITER_HPP
36   #define IO_STATWRITER_HPP
37 <
38 < #include <string.h>
39 < #include <iostream>
37 > #include <bitset>
38   #include <fstream>
39 + #include <iostream>
40 + #include <string.h>
41  
42   #include "brains/Stats.hpp"
43  
44   namespace oopse {
45  
46 < typedef std::bitset<Stats::ENDINDEX-Stats:BEGININDEX> StatsBitSet;
46 > typedef std::bitset<Stats::ENDINDEX-Stats::BEGININDEX> StatsBitSet;
47  
48   /**
49   * DefaultStatsBitSet includes
50 < *    StatsIndex::TOTALENERGY
51 < *    StatsIndex::TOTALPOTENTIAL
50 > *    StatsIndex::TIME
51 > *    StatsIndex::TOTAL_ENERGY
52 > *    StatsIndex::POTENTIAL_ENERGY
53 > *    StatsIndex::KINETIC_ENERGY
54   *    StatsIndex::TEMPERATURE
55   *    StatsIndex::PRESSURE
56 < *    StatsIndex::CONSERVEQUAN
55 < *    StatsIndex::TOTALENERGY
56 > *    StatsIndex::CONSERVED_QUANTITY
57   */
58 < const StatsBitSet DefaultStatsBitSet(63ul);
58 > const StatsBitSet DefaultStatsBitSet(127ul);
59  
60  
61   /**
# Line 67 | Line 68 | class StatWriter {
68          ~StatWriter();
69  
70          void writeTitle();
71 <        void writeStat(Snapshot* s);
71 >        void writeStat(Stats* s);
72  
73          StatsBitSet getMask() {
74              return mask_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines