Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
MappingBuilder.h
Go to the documentation of this file.
1
#ifndef MAPPING_BUILDER_H
2
#define MAPPING_BUILDER_H
3
4
#include "
Mapping.h
"
5
#include "
GenericGraphicsInterface.h
"
6
#include "
CompositeSurface.h
"
7
8
class
MappingInformation
;
9
10
//----------------------------------------------------------------------
11
// Class to build multiple Mappings on (composite) surfaces.
12
//----------------------------------------------------------------------
13
class
MappingBuilder
14
{
15
public
:
16
17
enum
bcPlotOptionEnum
18
{
19
colourBoundariesByGridNumber
,
20
colourBoundariesByBCNumber
,
21
colourBoundariesByShareNumber
22
};
23
24
MappingBuilder
();
25
~MappingBuilder
();
26
27
int
build
(
MappingInformation
& mapInfo,
Mapping
*surface =
NULL
);
28
29
protected
:
30
31
int
assignBoundaryConditions
(
MappingInformation
& mapInfo );
32
int
buildBoxGrid
(
MappingInformation
& mapInfo );
33
int
buildCurveOnSurface
(
MappingInformation
& mapInfo);
34
35
int
buildSurfacePatch
(
MappingInformation
& mapInfo);
36
int
getBoundaryCurves
();
37
38
int
plot
(
MappingInformation
& mapInfo );
39
40
bool
plotReferenceSurface
;
41
bool
choosePlotBoundsFromReferenceSurface
;
42
bool
plotSurfaceGrids
;
43
bool
plotVolumeGrids
;
44
bool
plotBoundaryConditionMappings
;
45
bool
plotBoundaryCurves
;
46
bool
plotNonPhysicalBoundaries
;
47
bool
plotEdgeCurves
;
48
bool
plotGhostPoints
;
49
int
numberOfGhostLinesToPlot
;
50
bool
plotBlockBoundaries
;
51
bool
plotGridLines
;
52
53
int
numberOfSurfaceGrids
;
54
int
numberOfVolumeGrids
;
55
int
numberOfBoxGrids
;
56
int
numberOfBoundaryCurves
;
57
58
bcPlotOptionEnum
bcPlotOption
;
59
60
real
targetGridSpacing
[2];
61
62
63
int
numberOfExtraBoundaryCurves
;
64
int
maxNumberOfExtraBoundaryCurves
;
65
Mapping
**
extraBoundaryCurve
;
66
67
Mapping
**
boundaryCurves
;
68
69
// We store the surface and volume grids in CompositeSurface's so we can easily replot them
70
CompositeSurface
surfaceGrids
,
volumeGrids
;
71
72
Mapping
*
pSurface
;
73
GraphicsParameters
parameters
,
referenceSurfaceParameters
;
74
75
};
76
77
78
#endif
Generated on Fri Jan 4 2013 10:17:55 for Overture by
1.8.3