00001 #ifndef __ASG_DEFN__
00002 #define __ASG_DEFN__
00003
00004 #include "asg.hh"
00005 #include "iwinfo.hh"
00006
00007 std::string IWaveInfo::iwave_model = "asg";
00008 FIELD IWaveInfo::iwave_fields[]
00009 = {
00010 {"bulkmod", 0, 1, {0, 0, 0}},
00011 {"buoyancy", 1, 1, {0, 0, 0}},
00012 {"p0", 1, 0, {0, 0, 0}},
00013 {"p1", 1, 0, {0, 0, 0}},
00014 {"p2", 1, 0, {0, 0, 0}},
00015 {"v0", 1, 1, {1, 0, 0}},
00016 {"v1", 1, 1, {0, 1, 0}},
00017 {"v2", 1, 1, {0, 0, 1}},
00018 {"", 0, 0, {0, 0, 0}}
00019 };
00020
00021 FD_MODELINIT IWaveInfo::minit = asg_modelinit;
00022 FD_MODELDEST IWaveInfo::mdest = asg_modeldest;
00023 FD_TIMESTEP IWaveInfo::timestep = asg_timestep;
00024 FD_TIMEGRID IWaveInfo::timegrid = asg_timegrid;
00025 FD_STENCIL IWaveInfo::createstencil = asg_create_sten;
00026 FD_CHECK IWaveInfo::check = asg_check;
00027 FD_LOOPDEF IWaveInfo::loopdef = asg_loop_refine;
00028
00029 #endif
00030