STFINV library: seek source wavelet correction filter

◆ checkreceiverindex()

void stfinv::STFBaseEngine::checkreceiverindex ( const unsigned int &  i) const
protectedinherited

check for vaid receiver index

Definition at line 343 of file stfinvbase.cc.

References stfinv::STFBaseEngine::Mtriples, and STFINV_assert.

Referenced by stfinv::STFBaseEngine::convolvedsynthetic(), stfinv::STFBaseEngine::recording(), and stfinv::STFBaseEngine::synthetic().

344  {
345  STFINV_assert(i<Mtriples.size(),
346  "ERROR: receiver index out of range");
347  }
stfinv::Tvectoroftriples Mtriples
Waveform triples.
Definition: stfinvbase.h:330
#define STFINV_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:140
Here is the caller graph for this function: