tracegeom Struct Reference

#include <traceio.h>

List of all members.

Public Attributes

int nrec
 number of shot records in data
int irec
 index of current record (most recently accessed)
int xrec
 index of next record to be accessed
int first
 index of first record (in group)
int last
 index of last record (in group)
int * ntr
 number of traces per shot record
off_t * recoff
 file offset of first trace in record
RPNT * src
 source coordinates - index convention is z=0, x=1, y=2
int ntraces
 number of traces in this record with receivers in grid cells
IPNT * ig
 receiver index array in grid
RPNT * rg
 receiver relative coordinates within grid cell (betw 0 and 1)
IPNT is
 source index array in grid
RPNT rs
 source relative x coordinate within grid cell (betw 0 and 1)
IPNT axord
 axis order array
int nt
 number of time samples in simulation
int ntout
 number of time samples to be output (may differ from nt)
float dt
 time step for simulation
float dtout
 time step for output (may differ from dt)
int dtmus
 int repn of dt in microseconds
float tmax
 max time
float t0
 min time
float t0out
 min time for output (may differ from t0)
int * tracl
 tracl - trace number within line (SEGY)
int * tracr
 tracr - trace number within record (SEGY)
int * fldr
 fldr - field record numer (SEGY)
int * tracf
 trace number within field record (SEGY)
int scalel
 scale factor for elevations (SEGY)
int scalco
 scale factor for offsets (SEGY)
float * buf
 buffer for trace data
int interp
 interpolation flag
int ndim
 grid dimension
ireal dvol
 grid cell volume
FILE * fpin
 input file pointer
FILE * fpout
 output file pointer
off_t * troff
 offset of trace in file


Detailed Description

tracegeom

Trace Geometry. Consists of struct defining sampling etc. and storing essential trace header and i/o status information, together with constructor, initializer, destructor, sampler, writer, and printer functions. The struct stores information for only one shot record at a time. Constructor connects the object to header (trace input) and data (trace output) files, which may be the same. Initializer populates the struct with data from the next shot record, read from the header file; this data includes all essential header words and may include trace samples. Sampler interacts with a grid, extracting samples at trace locations and storing them in the trace buffer data member of the struct. Writer dumps the current trace buffer to the data file. These functions rely on an internal traceserver object, which hides details of parallelism and data distribution.

Definition at line 50 of file traceio.h.


Member Data Documentation

number of shot records in data

Definition at line 53 of file traceio.h.

index of current record (most recently accessed)

Definition at line 55 of file traceio.h.

index of next record to be accessed

Definition at line 57 of file traceio.h.

index of first record (in group)

Definition at line 59 of file traceio.h.

index of last record (in group)

Definition at line 61 of file traceio.h.

number of traces per shot record

Definition at line 64 of file traceio.h.

file offset of first trace in record

Definition at line 67 of file traceio.h.

source coordinates - index convention is z=0, x=1, y=2

Definition at line 70 of file traceio.h.

number of traces in this record with receivers in grid cells

Definition at line 72 of file traceio.h.

receiver index array in grid

Definition at line 75 of file traceio.h.

receiver relative coordinates within grid cell (betw 0 and 1)

Definition at line 78 of file traceio.h.

source index array in grid

Definition at line 80 of file traceio.h.

source relative x coordinate within grid cell (betw 0 and 1)

Definition at line 82 of file traceio.h.

axis order array

Definition at line 84 of file traceio.h.

number of time samples in simulation

Definition at line 86 of file traceio.h.

number of time samples to be output (may differ from nt)

Definition at line 88 of file traceio.h.

time step for simulation

Definition at line 90 of file traceio.h.

time step for output (may differ from dt)

Definition at line 92 of file traceio.h.

int repn of dt in microseconds

Definition at line 94 of file traceio.h.

max time

Definition at line 96 of file traceio.h.

min time

Definition at line 98 of file traceio.h.

min time for output (may differ from t0)

Definition at line 100 of file traceio.h.

tracl - trace number within line (SEGY)

Definition at line 103 of file traceio.h.

tracr - trace number within record (SEGY)

Definition at line 106 of file traceio.h.

fldr - field record numer (SEGY)

Definition at line 109 of file traceio.h.

trace number within field record (SEGY)

Definition at line 112 of file traceio.h.

scale factor for elevations (SEGY)

Definition at line 114 of file traceio.h.

scale factor for offsets (SEGY)

Definition at line 116 of file traceio.h.

buffer for trace data

Definition at line 118 of file traceio.h.

interpolation flag

Definition at line 120 of file traceio.h.

grid dimension

Definition at line 122 of file traceio.h.

grid cell volume

Definition at line 124 of file traceio.h.

input file pointer

Definition at line 126 of file traceio.h.

output file pointer

Definition at line 128 of file traceio.h.

offset of trace in file

Definition at line 131 of file traceio.h.


The documentation for this struct was generated from the following file:

Generated on Thu Oct 4 12:31:40 2012 for IWAVE by  doxygen 1.5.7