Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
GridStatistics.h
Go to the documentation of this file.
1
#ifndef GRID_STATISTICS_H
2
#define GRID_STATISTICS_H
3
4
#include "
CompositeGrid.h
"
5
6
class
GridStatistics
7
{
8
public
:
9
10
enum
MaskOptionEnum
11
{
12
ignoreMask
,
13
positiveMask
,
14
nonZeroMask
15
};
16
17
18
static
void
19
printGridStatistics
(
CompositeGrid
& cg, FILE *file=stdout );
20
static
void
21
printGridStatistics
(
GridCollection
& gc, FILE *file=stdout );
22
static
void
23
printGridStatistics
(
MappedGrid
& mg, FILE *file=stdout,
int
grid=0,
int
*ipar=
NULL
,
real
*rpar=
NULL
);
24
25
static
void
26
getGridSpacing
(
MappedGrid
& mg,
real
dsMin[3],
real
dsAve[3],
real
dsMax[3],
MaskOptionEnum
maskOption=
ignoreMask
);
27
28
static
void
29
getGridSpacingAndNumberOfPoints
(
MappedGrid
& mg,
real
dsMin[3],
real
dsAve[3],
real
dsMax[3],
30
int
& numberOfPoints,
MaskOptionEnum
maskOption=
ignoreMask
);
31
32
static
void
33
getNumberOfPoints
(
GridCollection
& gc,
int
& totalNumberOfGridPoints,
MaskOptionEnum
maskOption=
ignoreMask
);
34
35
static
void
36
getNumberOfPoints
(
MappedGrid
& mg,
int
& numberOfPoints,
MaskOptionEnum
maskOption=
ignoreMask
);
37
38
private
:
39
40
// The constructure should never be called
41
GridStatistics
();
42
~
GridStatistics
();
43
44
};
45
46
47
#endif
Generated on Fri Jan 4 2013 10:17:53 for Overture by
1.8.3