trace_term.h

Go to the documentation of this file.
00001 #ifndef __SEAM_TRACE_TERMINATOR__
00002 #define __SEAM_TRACE_TERMINATOR__
00003 
00004 #include "traceio.h"
00005 #include "parser.h"
00006 #include "grid.h"
00007 #include "model.h"
00008 
00019 typedef struct {
00020   int istart;          /* start index for recording */
00021   int istop;           /* stop index for recording */
00022   tracegeom tg;        /* trace geometry */ 
00023   int order;           /* sampling order - default = 0*/
00024   int index;           /* sampling index - default = 0*/
00025   ireal mult;          /* sample multiplier - default = REAL_ONE */
00026   int load;            /* load flag: 0=save, 1=load, default=0 */
00027 } TRACE_TERM;
00028 
00055 /*
00056   removed 03.12
00057     @param[in] sindex - (int) domain index of the field to be sampled
00058     @param[in] mindex - (ireal) multiplier - applied to all samples
00059 */
00060 
00061 int traceterm_construct(TRACE_TERM * t, 
00062             PARARRAY * par, 
00063             /* removed 03.12
00064             //          int sindex, 
00065             //          ireal mindex, */
00066             int load,
00067             const char * hdrkey,
00068             const char * datakey,
00069             FILE * stream);
00070 
00083 int traceterm_init(TRACE_TERM * t, IMODEL * m, PARARRAY * par, FILE * stream);
00084 
00092 int traceterm_destroy(TRACE_TERM * t);
00093 
00103 int traceterm_run(TRACE_TERM * t, IMODEL * m);
00104 
00111 void traceterm_fprint(TRACE_TERM const * t, FILE * stream);
00112 
00113 
00114 #endif

Generated on Thu Dec 6 10:01:15 2012 for IWAVE by  doxygen 1.4.7