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

« back to all changes in this revision

Viewing changes to src/structurefactor.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:
 
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
#ifndef STRUCTUREFACTOR_H
 
25
#define STRUCTUREFACTOR_H
 
26
 
 
27
 
 
28
#include "xobject.h"
 
29
#include "xobarray.h"
 
30
#include "timestep.h"
 
31
 
 
32
 
 
33
class CStructureFactor : public CxObject
 
34
{
 
35
public:
 
36
        void TransformRDF(CDF *pin, CDF *pout);
 
37
        void Finish();
 
38
        void ProcessStep(CTimeStep *ts);
 
39
        void Parse();
 
40
        void Create();
 
41
        CStructureFactor();
 
42
        ~CStructureFactor();
 
43
 
 
44
        bool m_bDumpTotalRDF;
 
45
        bool m_bDumpElementRDFs;
 
46
        bool m_bDumpElementSFac;
 
47
        CxObArray m_oaRDFs;
 
48
        CxObArray m_oaSFacs;
 
49
        int m_iRDFRes, m_iSQRes;
 
50
        double m_fRDFRange;
 
51
        double m_fSQRange;
 
52
};
 
53
 
 
54
 
 
55
#endif
 
56