ESyS-Particle
4.0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
Foundation
realdist.h
1
2
// //
3
// Copyright (c) 2003-2011 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 REALDIST_H
14
#define REALDIST_H
15
16
// -- IO includes --
17
// -- STL includes --
18
#include <string>
19
using
std::string;
20
21
class
RealDist
{
22
public
:
23
RealDist
(
double
MinSize,
double
MaxSize,
int
Nbins);
24
~
RealDist
();
25
void
AddSample (
double
evsize);
26
void
Write (
const
string
&);
27
void
Clear();
28
private
:
29
int
nbins;
30
double
maxsize, minsize, binsize;
31
long
Nevents;
32
void
Create ();
33
void
Destroy ();
34
long
*Edist;
35
void
AddEvSize (
double
evsize);
36
};
37
38
#endif
Generated on Sat Mar 22 2014 08:30:43 for ESyS-Particle by
1.8.1.2