00001 #ifndef __ESG_DEFN__
00002 #define __ESG_DEFN__
00003
00004 #include "esg.hh"
00005 #include "iwinfo.hh"
00006
00007 std::string IWaveInfo::iwave_model="esg";
00008
00009 FIELD IWaveInfo::iwave_fields[]
00010 ={
00011
00012 {"gridinfo", 0, 0, {0,0,0}},
00013 {"buoyancy", 1, 0, {0,0,0}},
00014 {"c11", 1, 0, {0,0,0}},
00015 {"c22", 1, 0, {0,0,0}},
00016 {"c33", 1, 0, {0,0,0}},
00017 {"c23", 1, 0, {0,0,0}},
00018 {"c13", 1, 0, {0,0,0}},
00019 {"c12", 1, 0, {0,0,0}},
00020 {"c44", 1, 0, {0,0,0}},
00021 {"c55", 1, 0, {0,0,0}},
00022 {"c66", 1, 0, {0,0,0}},
00023 {"vx", 1, 0, {0,0,0}},
00024 {"vy", 1, 0, {0,1,1}},
00025 {"vz", 1, 0, {1,1,0}},
00026 {"sxx", 1, 1, {0,1,0}},
00027 {"syy", 1, 1, {0,1,0}},
00028 {"szz", 1, 1, {0,1,0}},
00029 {"syz", 1, 1, {1,1,1}},
00030 {"sxz", 1, 1, {1,0,0}},
00031 {"sxy", 1, 1, {0,0,1}},
00032 {"trace", 1, 0, {0,0,0}},
00033 {"", 0, 0, {0,0,0}}
00034 };
00035
00036
00037 FD_MODELINIT IWaveInfo::minit = esg_modelinit;
00038 FD_MODELDEST IWaveInfo::mdest = esg_modeldest;
00039 FD_TIMEGRID IWaveInfo::timegrid = esg_timegrid;
00040 FD_TIMESTEP IWaveInfo::timestep = esg_timestep;
00041 FD_STENCIL IWaveInfo::createstencil = esg_create_sten;
00042 FD_CHECK IWaveInfo::check = esg_check;
00043 #endif