GPLIB++
Public Member Functions | List of all members
gplib::SurfaceWaveSynthetic Class Reference

Calculate synthetic fundamental mode Rayleigh phase velocity data from an isotropic 1D model. More...

#include <SurfaceWaveSynthetic.h>

Public Member Functions

void PreParallel (const std::string &filename)
 For a parallel execution, these are things that have to be done before any parallel block. More...
 
SurfaceWaveData SafeParallel (const std::string &filename)
 Operations that are safe to perform in parallel. More...
 
const SurfaceWaveModelGetModel ()
 Read only access to the current seismic model. More...
 
const trealdata & GetCalculationPeriods () const
 Get the vector of periods in s for which we want to calculate phase velocities. More...
 
void SetCalculationPeriods (const trealdata &c)
 Set the vector of periods in s for which we want to calculate phase velocities. More...
 
void SetModel (const Sdisp96Model &m)
 Set the model for which we want to calculate the data. More...
 
SurfaceWaveData GetSynthData (const std::string &filename)
 Perform a complete forward calculation and return the calculated data, not thread safe as it calls PreParallel. More...
 
 SurfaceWaveSynthetic ()
 
virtual ~SurfaceWaveSynthetic ()
 

Detailed Description

Calculate synthetic fundamental mode Rayleigh phase velocity data from an isotropic 1D model.

Definition at line 14 of file SurfaceWaveSynthetic.h.

Constructor & Destructor Documentation

gplib::SurfaceWaveSynthetic::SurfaceWaveSynthetic ( )

Definition at line 6 of file SurfaceWaveSynthetic.cpp.

gplib::SurfaceWaveSynthetic::~SurfaceWaveSynthetic ( )
virtual

Definition at line 10 of file SurfaceWaveSynthetic.cpp.

Member Function Documentation

const trealdata& gplib::SurfaceWaveSynthetic::GetCalculationPeriods ( ) const
inline

Get the vector of periods in s for which we want to calculate phase velocities.

Definition at line 31 of file SurfaceWaveSynthetic.h.

Referenced by gplib::SurfaceWaveObjective::PreParallel().

const SurfaceWaveModel& gplib::SurfaceWaveSynthetic::GetModel ( )
inline

Read only access to the current seismic model.

Definition at line 26 of file SurfaceWaveSynthetic.h.

Referenced by gplib::SurfaceWaveObjective::WriteModel(), and gplib::SurfaceWaveObjective::WritePlot().

SurfaceWaveData gplib::SurfaceWaveSynthetic::GetSynthData ( const std::string &  filename)

Perform a complete forward calculation and return the calculated data, not thread safe as it calls PreParallel.

Definition at line 32 of file SurfaceWaveSynthetic.cpp.

References PreParallel(), and SafeParallel().

void gplib::SurfaceWaveSynthetic::PreParallel ( const std::string &  filename)

For a parallel execution, these are things that have to be done before any parallel block.

Definition at line 14 of file SurfaceWaveSynthetic.cpp.

References gplib::Sdisp96Model::WriteModel(), and gplib::Sdisp96Model::WriteRunFile().

Referenced by GetSynthData(), and gplib::SurfaceWaveObjective::PreParallel().

SurfaceWaveData gplib::SurfaceWaveSynthetic::SafeParallel ( const std::string &  filename)

Operations that are safe to perform in parallel.

Definition at line 21 of file SurfaceWaveSynthetic.cpp.

References gplib::SurfaceWaveData::ReadSurf96().

Referenced by GetSynthData(), and gplib::SurfaceWaveObjective::SafeParallel().

void gplib::SurfaceWaveSynthetic::SetCalculationPeriods ( const trealdata &  c)
inline

Set the vector of periods in s for which we want to calculate phase velocities.

Definition at line 36 of file SurfaceWaveSynthetic.h.

Referenced by gplib::SurfaceWaveObjective::PreParallel().

void gplib::SurfaceWaveSynthetic::SetModel ( const Sdisp96Model m)
inline

Set the model for which we want to calculate the data.

Definition at line 42 of file SurfaceWaveSynthetic.h.

Referenced by gplib::SurfaceWaveObjective::PreParallel().


The documentation for this class was generated from the following files: