specfem::runtime_configuration::elastic_wave

class elastic_wave

Elastic wave class to instantiate the correct elastic wave based on the simulation parameters.

Public Functions

inline elastic_wave(const std::string &elastic_wave_type)

Construct a new elastic wave object.

Parameters:

elastic_wave_type – Type of the elastic wave (P_SV or SH)

inline specfem::enums::elastic_wave get_elastic_wave_type() const

Get the type of the elastic wave.

Returns:

std::string Type of the elastic wave (P_SV or SH)

Private Members

std::string elastic_wave_type

Type of the elastic wave (P_SV or SH)