-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathboundary.h
More file actions
29 lines (28 loc) · 934 Bytes
/
boundary.h
File metadata and controls
29 lines (28 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef BOUNDARY_H
#define BOUNDARY_H
/* ============================================================================
'boundary.h' defines a boundary class.
Written by Nicholas Phillips.
QT4 adaption by Michael R. Greason, ADNET, 27 August 2007
============================================================================ */
/*
Fetch header files.
*/
/* ============================================================================
'Boundary' maintains the junctions between faces.
============================================================================ */
class Boundary {
private:
double a;
double b;
bool eq;
int face;
public:
Boundary();
virtual ~Boundary() {};
void set_eq(const double z, const double phi, const int direction);
void set_np(const double z, const double phi, const int face);
void set_sp(const double z, const double phi, const int face);
double operator()(const double z) const;
};
#endif