Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
CompositeGridOperators.h
Go to the documentation of this file.
1
// **** THIS FILE WAS AUTOMATICALLY GENERATED BY makeOperators.p from GridCollectionOperators.h ******
2
/* -*-Mode: c++; -*- */
3
4
#ifndef COMPOSITE_GRID_OPERATORS_H
5
#define COMPOSITE_GRID_OPERATORS_H
6
7
#include "
GenericCompositeGridOperators.h
"
8
#include "
MappedGridOperators.h
"
9
// include "ListOfMappedGridOperators.h"
10
11
//-----------------------------------------------------------------------------------
12
//
13
// Define differential and Boundary operators associated with GridCollections,
14
// GridCollectionFunctions (and CompositeGrid/CompositeGridFunctions)
15
//
16
//-----------------------------------------------------------------------------------
17
18
class
CompositeGridOperators
:
public
GenericCompositeGridOperators
19
{
20
21
public
:
22
23
CompositeGridOperators
();
24
CompositeGridOperators
(
CompositeGrid
& gc );
// use this CompositeGrid
25
CompositeGridOperators
(
MappedGridOperators
& op );
// use these operators
26
CompositeGridOperators
(
CompositeGrid
& gc,
MappedGridOperators
& op );
// use both
27
28
CompositeGridOperators
(
const
CompositeGridOperators
& mgfd );
// copy constructor
29
virtual
GenericCompositeGridOperators
*
virtualConstructor
();
// create a new object of this class
30
31
~CompositeGridOperators
();
32
33
CompositeGridOperators
&
operator=
(
const
CompositeGridOperators
& dmgf );
34
GenericCompositeGridOperators
&
operator=
(
const
GenericCompositeGridOperators
& mgo );
35
36
MappedGridOperators
&
operator[]
(
const
int
grid )
const
;
// here is the operators for a MappedGrid
37
38
// return size of this object
39
virtual
real
sizeOf
(FILE *file =
NULL
)
const
;
40
41
void
updateToMatchGrid
(
CompositeGrid
& gc );
// here is a (new) CompositeGrid to use
42
// void updateToMatchOperators(MappedGridOperators & op); // Use these operators
43
44
// get from a database file
45
virtual
int
get
(
const
GenericDataBase
& dir,
const
aString
& name);
46
// put to a database file
47
virtual
int
put
(
GenericDataBase
& dir,
const
aString
& name)
const
;
48
49
// ------------- Here we define the Boundary Condition Routines ---------------
50
51
public
:
52
53
// void setNumberOfBoundaryConditions(const int & number,
54
// const int & side=forAll,
55
// const int & axis=forAll,
56
// const int & grid=forAll);
57
58
// void setBoundaryCondition(const MappedGridOperators::boundaryConditionTypes & boundaryConditionType );
59
60
// void setBoundaryConditionValue(const real & value,
61
// const int & component=forAll,
62
// const int & index=forAll,
63
// const int & side=forAll,
64
// const int & axis=forAll,
65
// const int & grid=forAll);
66
67
private
:
68
69
bool
mappedGridOperatorWasNewed;
// TRUE if we have newed a MappedGridOperators
70
71
72
73
};
74
75
76
77
78
79
80
#endif
Generated on Fri Jan 4 2013 10:17:49 for Overture by
1.8.3