home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
microcrn
/
issue_40.arc
/
DAIMS.ARC
/
EKMAN.HXX
< prev
next >
Wrap
Text File
|
1988-02-10
|
1KB
|
40 lines
/*
-*++ class ekman_layer:
**
** (*++ history:
** 13 Jan 88 Bruce Eckel Creation date
** ++*)
**
** (*++ detailed: Creates the ekman layer based on a number of possible
** inputs: command line, Sunview panel, etc.
** ++*)
*/
class ocean_layer;
class Cheb_vector;
class phys_vector;
class ekpanel;
class ekman_layer {
Cheb_vector ekman_pumping_vector;
phys_vector ekman_physical_vector;
double dc_value ;
double ac_value ;
int ac_waves ;
int nmodes ;
double xldomain;
double xrdomain;
public:
ekman_layer(int initial_modes = 32);
double dc() { return dc_value; }
double ac() { return ac_value; }
int waves() { return ac_waves; }
int modes() { return nmodes; }
double xldom() { return xldomain; }
double xrdom() { return xrdomain; }
void step() {;}
void update(ekpanel & ekman_control_panel);
Cheb_vector & pumping_vector() { return ekman_pumping_vector; }
int resolution() { return nmodes; }
};