00001 /* 00002 sgn.h 00003 Igor Terentyev. 00004 ******************************************************************************** 00005 Acoustics. NPML. Staggered grid. 1D, 2D, 3D. 00006 Implementation with only bar variables. 00007 Arrays: 00008 velocities, multipliers (from sg.h), 00009 pressures, etas. 00010 Stencils: 00011 2-2, 2-4 standard. 00012 */ 00013 /*============================================================================*/ 00014 00015 #ifndef __SGN_H_ 00016 #define __SGN_H_ 00017 /*----------------------------------------------------------------------------*/ 00018 00019 #include "fd.h" 00020 #include "sgnpars.h" 00021 #include "sgn_read.h" 00022 #include "create_sten_2k.h" 00023 #include "defaults.h" 00024 00025 /* this declaration must be publicly available to external drivers: 00026 modelinit is passed as function pointer argument to iwave_construct. 00027 On return, all other FD_MODEL function pointers are initialized and 00028 point to functions defined in this package - this is the only 00029 package function which must be used before being assigned to an 00030 FD_MODEL data member. 00031 */ 00032 int asg_modelinit(PARARRAY *pars, FILE *stream, IMODEL *model); 00033 00034 #endif /*__SGN_H_*/
1.4.7