s_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_trecoff
 file offset of first trace in record
RPNTsrc
 source coordinates - index convention is z=0, x=1, y=2
int ntraces
 number of traces in this record with receivers in grid cells
IPNTig
 receiver index array in grid
RPNTrg
 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
off_ttroff
 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 60 of file traceio.h.


Member Data Documentation

int s_tracegeom::nrec

number of shot records in data

Definition at line 63 of file traceio.h.

int s_tracegeom::irec

index of current record (most recently accessed)

Definition at line 65 of file traceio.h.

int s_tracegeom::xrec

index of next record to be accessed

Definition at line 67 of file traceio.h.

int s_tracegeom::first

index of first record (in group)

Definition at line 69 of file traceio.h.

int s_tracegeom::last

index of last record (in group)

Definition at line 71 of file traceio.h.

int* s_tracegeom::ntr

number of traces per shot record

Definition at line 74 of file traceio.h.

off_t* s_tracegeom::recoff

file offset of first trace in record

Definition at line 77 of file traceio.h.

RPNT* s_tracegeom::src

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

Definition at line 80 of file traceio.h.

int s_tracegeom::ntraces

number of traces in this record with receivers in grid cells

Definition at line 82 of file traceio.h.

IPNT* s_tracegeom::ig

receiver index array in grid

Definition at line 85 of file traceio.h.

RPNT* s_tracegeom::rg

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

Definition at line 88 of file traceio.h.

IPNT s_tracegeom::is

source index array in grid

Definition at line 90 of file traceio.h.

RPNT s_tracegeom::rs

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

Definition at line 92 of file traceio.h.

IPNT s_tracegeom::axord

axis order array

Definition at line 94 of file traceio.h.

int s_tracegeom::nt

number of time samples in simulation

Definition at line 96 of file traceio.h.

int s_tracegeom::ntout

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

Definition at line 98 of file traceio.h.

float s_tracegeom::dt

time step for simulation

Definition at line 100 of file traceio.h.

float s_tracegeom::dtout

time step for output (may differ from dt)

Definition at line 102 of file traceio.h.

int s_tracegeom::dtmus

int repn of dt in microseconds

Definition at line 104 of file traceio.h.

float s_tracegeom::tmax

max time

Definition at line 106 of file traceio.h.

float s_tracegeom::t0

min time

Definition at line 108 of file traceio.h.

float s_tracegeom::t0out

min time for output (may differ from t0)

Definition at line 110 of file traceio.h.

int* s_tracegeom::tracl

tracl - trace number within line (SEGY)

Definition at line 113 of file traceio.h.

int* s_tracegeom::tracr

tracr - trace number within record (SEGY)

Definition at line 116 of file traceio.h.

int* s_tracegeom::fldr

fldr - field record numer (SEGY)

Definition at line 119 of file traceio.h.

int* s_tracegeom::tracf

trace number within field record (SEGY)

Definition at line 122 of file traceio.h.

int s_tracegeom::scalel

scale factor for elevations (SEGY)

Definition at line 124 of file traceio.h.

int s_tracegeom::scalco

scale factor for offsets (SEGY)

Definition at line 126 of file traceio.h.

float* s_tracegeom::buf

buffer for trace data

Definition at line 128 of file traceio.h.

int s_tracegeom::interp

interpolation flag

Definition at line 130 of file traceio.h.

int s_tracegeom::ndim

grid dimension

Definition at line 132 of file traceio.h.

ireal s_tracegeom::dvol

grid cell volume

Definition at line 134 of file traceio.h.

FILE* s_tracegeom::fpin

input file pointer

Definition at line 136 of file traceio.h.

off_t* s_tracegeom::troff

offset of trace in file

Definition at line 139 of file traceio.h.


The documentation for this struct was generated from the following file:
Generated on 5 Jan 2017 for IWAVETRACE by  doxygen 1.4.7