~ubuntu-branches/ubuntu/trusty/travis/trusty-proposed

« back to all changes in this revision

Viewing changes to src/microhet.h

  • Committer: Package Import Robot
  • Author(s): Daniel Leidert
  • Date: 2013-09-08 01:51:53 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20130908015153-saxjfrgt5pz22k6p
Tags: 130907-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        bool m_bUniform;
50
50
        bool m_bEdgeUniform;
51
51
        bool m_bCDF;
 
52
        bool m_bCDF_Dens;
 
53
        bool m_bCDF_Tot;
 
54
        bool m_bCDF_Mode3;
52
55
        int m_iCDFRes;
53
 
        float m_fRangeFac;
54
 
        void BuildCDF();
 
56
        double m_fRangeFac;
 
57
        void BuildCDF(int mode, int obs, const char *multibuf);
55
58
        void Create();
56
59
        void Parse();
57
60
        CMicroHetObservation();
59
62
        CxObArray m_oaAtomGroups;
60
63
        bool m_bMass;
61
64
        bool m_bDensity;
62
 
        float m_fMaxVal;
 
65
        double m_fMaxVal;
63
66
        int m_iHistoRes;
64
67
        CDF **m_pHistogram;
65
68
        C2DF *m_pCDF;
66
69
        CMicroHet *m_pParent;
67
70
        int m_iCDFOffset;
 
71
        bool m_bCubicRoot;
 
72
        bool m_bCSV;
 
73
        bool m_bCDF_Dens_Uniform;
 
74
        CxDoubleArray m_faEmptyBinHalf;
 
75
        CxDoubleArray m_faEmptyBinZero;
 
76
        C2DF *m_pEmptyBinTD;
 
77
        bool m_bEmpty2D;
 
78
        int m_iEmpty2DRes;
 
79
        int m_iEmpty2DStride;
68
80
};
69
81
 
70
82
 
73
85
public:
74
86
        void ProcessAtom(int px, int py, int pz, int mass, int cl);
75
87
        void Process(CTimeStep *ts);
76
 
        void Bin(CMicroHetObservation *o, int zi);
 
88
        void Bin(CMicroHetObservation *o, int zi, unsigned long *zero);
77
89
        void Zero();
78
90
        void Create();
79
91
        void Parse();
85
97
        bool m_bSphere;
86
98
        int m_iRes;
87
99
        int m_iResSqr;
88
 
        int m_iResTri;
 
100
        unsigned long m_iResTri;
89
101
        double m_fBinVolume;
90
102
        CxIntArray m_iaCuboidLength;
91
103
        CxDoubleArray m_faCuboidVolume;
93
105
 
94
106
//      float *m_pBin;
95
107
        MH_BIN_TYPE *m_pIBin;
 
108
 
 
109
        int m_iCounter;
96
110
};
97
111
 
98
112