|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.aune.ShallowFluid
ShallowFluid implements the interactive 2-D shallow fluid model application using VisAD 2.0. It is rewritten from the shallow.v application developed for VisAD 1.1 by Bob Aune.
| Nested Class Summary | |
(package private) class |
ShallowFluid.initializeCell
re-initialize |
(package private) class |
ShallowFluid.shalstepCell
advance 2-D shallow fluid state by one time step |
| Field Summary | |
(package private) DataReference |
adiff_ref
|
(package private) DataReference |
alat_ref
|
(package private) DataReference |
anim_delay_ref
|
(package private) RealType |
cc
|
(package private) RealType |
ccdiff
|
(package private) RemoteServer |
client_server
RemoteServer for client this ShallowFluid is a client if client_server != null |
(package private) DataReference |
delt_ref
|
(package private) DataReference |
eps_ref
|
(package private) DataReference |
gravity_ref
|
(package private) RealType |
h
|
(package private) RealType |
hdiff
|
static int |
HEIGHT
|
(package private) DataReference |
hprm11_ref
|
(package private) DataReference |
hprm12_ref
|
(package private) DataReference |
ibc_ref
|
boolean |
initial
flag model initialization |
(package private) DataReference |
iopt_ref
|
(package private) Set |
linear59x49
declare Sets |
(package private) RealTupleType |
loc
|
(package private) DataReference |
new_state_ref
|
(package private) DataReference |
newold_diff_ref
|
(package private) DataReference |
old_state_ref
|
(package private) DataReference |
oldest_state_ref
|
(package private) RemoteServerImpl |
server_server
RemoteServerImpl for server this ShallowFluid is a server if server_server != null |
(package private) DataReference |
sim_time_ref
declare DataReferences |
(package private) DataReference |
tfilt_ref
|
(package private) RealType |
time
|
(package private) RealType |
u
|
(package private) DataReference |
ubar1_ref
|
(package private) RealType |
udiff
|
(package private) RealType |
v
|
(package private) DataReference |
vbar1_ref
|
(package private) RealType |
vdiff
|
(package private) FunctionType |
vol
|
(package private) FunctionType |
voldiff
|
static int |
WIDTH
the width and height of the UI frame |
(package private) RealType |
xloc
declare MathTypes |
(package private) RealType |
yloc
|
| Constructor Summary | |
ShallowFluid(String[] args)
|
|
| Method Summary | |
static void |
main(String[] args)
type 'java visad.paoloa.ShallowFluid' to run this application; the main thread just exits, since Display, Cell and JFC threads run the application |
(package private) void |
setupClient()
set up as client |
(package private) void |
setupDisplays(boolean client,
DisplayImpl[] displays)
set up Displays; client is true for client and false for server; return constructed Displays in displays array |
(package private) void |
setupServer()
set up as server: Construct the ShallowFluid application, including Data objects, Display objects, Cell (computational) objects, and JFC (slider) user interface objects. |
(package private) void |
setupUI(DisplayImpl[] displays)
construct user interface using JFC |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
RemoteServerImpl server_server
RemoteServer client_server
RealType xloc
RealType yloc
RealType u
RealType v
RealType h
RealType cc
RealType udiff
RealType vdiff
RealType hdiff
RealType ccdiff
RealType time
RealTupleType loc
FunctionType vol
FunctionType voldiff
Set linear59x49
DataReference sim_time_ref
DataReference new_state_ref
DataReference old_state_ref
DataReference oldest_state_ref
DataReference newold_diff_ref
DataReference iopt_ref
DataReference ibc_ref
DataReference gravity_ref
DataReference alat_ref
DataReference ubar1_ref
DataReference vbar1_ref
DataReference hprm11_ref
DataReference hprm12_ref
DataReference delt_ref
DataReference eps_ref
DataReference adiff_ref
DataReference tfilt_ref
DataReference anim_delay_ref
public static int WIDTH
public static int HEIGHT
public boolean initial
| Constructor Detail |
public ShallowFluid(String[] args)
throws VisADException,
RemoteException
| Method Detail |
public static void main(String[] args)
throws VisADException,
RemoteException
VisADException
RemoteException
void setupServer()
throws VisADException,
RemoteException
VisADException
RemoteException
void setupClient()
throws VisADException,
RemoteException
VisADException
RemoteException
void setupDisplays(boolean client,
DisplayImpl[] displays)
throws VisADException,
RemoteException
VisADException
RemoteException
void setupUI(DisplayImpl[] displays)
throws VisADException,
RemoteException
VisADException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||