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

« back to all changes in this revision

Viewing changes to src/xdf.h

  • Committer: Package Import Robot
  • Author(s): Daniel Leidert
  • Date: 2014-01-18 20:07:16 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20140118200716-whsmcg7fa1eyqecq
Tags: 140117-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*****************************************************************************
2
 
    TRAVIS - Trajectory Analyzer and Visualizer
3
 
    http://www.travis-analyzer.de/
4
 
 
5
 
    Copyright (c) 2009-2013 Martin Brehm
6
 
                  2012-2013 Martin Thomas
7
 
 
8
 
    This file written by Martin Brehm.
9
 
 
10
 
    This program is free software: you can redistribute it and/or modify
11
 
    it under the terms of the GNU General Public License as published by
12
 
    the Free Software Foundation, either version 3 of the License, or
13
 
    (at your option) any later version.
14
 
 
15
 
    This program is distributed in the hope that it will be useful,
16
 
    but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 
    GNU General Public License for more details.
19
 
 
20
 
    You should have received a copy of the GNU General Public License
21
 
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
 
*****************************************************************************/
23
 
 
24
 
#include "xobject.h"
25
 
#include "xbytearray.h"
26
 
#include "xdoublearray.h"
27
 
#include "xfloatarray.h"
28
 
 
29
 
#ifndef XDF_H
30
 
#define XDF_H
31
 
 
32
 
 
33
 
class CXDF : public CxObject
34
 
{
35
 
public:
36
 
        void Autocorrelate();
37
 
        void InitDeriv();
38
 
        CXDF();
39
 
        ~CXDF();
40
 
 
41
 
        void ParseDeriv();
42
 
 
43
 
        bool m_bSelf;
44
 
        int m_iShowMol;
45
 
        int m_iCombinations;
46
 
        int m_iDeriv;
47
 
        bool m_bDerivAbs;
48
 
        bool m_bACF;
49
 
        int m_iACFDepth;
50
 
        bool m_bACFFFT;
51
 
        bool m_bWindowFunction;
52
 
        float m_fSpecWaveNumber;
53
 
        int m_iMirror;
54
 
        int m_iZeroPadding;
55
 
        bool m_bACF_DB;
56
 
        CxFloatArray **m_pfaACFBuffer;
57
 
        CxDoubleArray m_faACF;
58
 
 
59
 
        int m_iHistogramRes;
60
 
        int m_iResolution;
61
 
        CxDoubleArray *m_faData; 
62
 
        CxByteArray *m_baDataEnabled; 
63
 
        CxDoubleArray **m_pfaDerivBuffer;
64
 
        char *m_sName;
65
 
        char *m_sShortName;
66
 
};
67
 
 
68
 
#endif
69
 
 
 
1
/*****************************************************************************
 
2
    TRAVIS - Trajectory Analyzer and Visualizer
 
3
    http://www.travis-analyzer.de/
 
4
 
 
5
    Copyright (c) 2009-2014 Martin Brehm
 
6
                  2012-2014 Martin Thomas
 
7
 
 
8
    This file written by Martin Brehm.
 
9
 
 
10
    This program is free software: you can redistribute it and/or modify
 
11
    it under the terms of the GNU General Public License as published by
 
12
    the Free Software Foundation, either version 3 of the License, or
 
13
    (at your option) any later version.
 
14
 
 
15
    This program is distributed in the hope that it will be useful,
 
16
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
    GNU General Public License for more details.
 
19
 
 
20
    You should have received a copy of the GNU General Public License
 
21
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
22
*****************************************************************************/
 
23
 
 
24
#include "xobject.h"
 
25
#include "xbytearray.h"
 
26
#include "xdoublearray.h"
 
27
#include "xfloatarray.h"
 
28
 
 
29
#ifndef XDF_H
 
30
#define XDF_H
 
31
 
 
32
 
 
33
class CXDF : public CxObject
 
34
{
 
35
public:
 
36
        void Autocorrelate();
 
37
        void InitDeriv();
 
38
        CXDF();
 
39
        ~CXDF();
 
40
 
 
41
        void ParseDeriv();
 
42
 
 
43
        bool m_bSelf;
 
44
        int m_iShowMol;
 
45
        int m_iCombinations;
 
46
        int m_iDeriv;
 
47
        bool m_bDerivAbs;
 
48
        bool m_bACF;
 
49
        int m_iACFDepth;
 
50
        bool m_bACFFFT;
 
51
        bool m_bWindowFunction;
 
52
        float m_fSpecWaveNumber;
 
53
        int m_iMirror;
 
54
        int m_iZeroPadding;
 
55
        bool m_bACF_DB;
 
56
        CxFloatArray **m_pfaACFBuffer;
 
57
        CxDoubleArray m_faACF;
 
58
 
 
59
        int m_iHistogramRes;
 
60
        int m_iResolution;
 
61
        CxDoubleArray *m_faData; 
 
62
        CxByteArray *m_baDataEnabled; 
 
63
        CxDoubleArray **m_pfaDerivBuffer;
 
64
        char *m_sName;
 
65
        char *m_sShortName;
 
66
};
 
67
 
 
68
#endif
 
69