1 #ifndef SURFACEWAVESYNTHETIC_H_
2 #define SURFACEWAVESYNTHETIC_H_
6 #include <boost/shared_ptr.hpp>
17 trealdata calculationperiods;
33 return calculationperiods;
38 calculationperiods.clear();
39 std::copy(c.begin(),c.end(),std::back_inserter(calculationperiods));
void PreParallel(const std::string &filename)
For a parallel execution, these are things that have to be done before any parallel block...
SurfaceWaveData SafeParallel(const std::string &filename)
Operations that are safe to perform in parallel.
A class to store 1D model for calculation of synthetic surface wave data.
This class can write files specific for the synthetic surface wave codes that are part of the compute...
void SetCalculationPeriods(const trealdata &c)
Set the vector of periods in s for which we want to calculate phase velocities.
A class to read, write and store fundamental mode surface wave dispersion data.
const SurfaceWaveModel & GetModel()
Read only access to the current seismic model.
SurfaceWaveData GetSynthData(const std::string &filename)
Perform a complete forward calculation and return the calculated data, not thread safe as it calls Pr...
void SetModel(const Sdisp96Model &m)
Set the model for which we want to calculate the data.
const trealdata & GetCalculationPeriods() const
Get the vector of periods in s for which we want to calculate phase velocities.
Calculate synthetic fundamental mode Rayleigh phase velocity data from an isotropic 1D model...
virtual ~SurfaceWaveSynthetic()