specfem::simulation::type

enum class specfem::simulation::type

Simulation execution types.

Values:

enumerator forward

Forward simulation only.

enumerator combined

Combined forward and adjoint simulation.

specfem::simulation::simulation

template<specfem::simulation::type SimulationType>
class simulation

Simulation type traits template.

Template Parameters:

SimulationType – Simulation type (forward or combined)

Simulation Specializations

template<>
class simulation<specfem::simulation::type::forward>

Forward simulation type traits.

Public Static Functions

static inline std::string to_string()

Get simulation type name.

Returns:

String representation of simulation type

template<>
class simulation<specfem::simulation::type::combined>

Combined simulation type traits.

Public Static Functions

static inline std::string to_string()

Get simulation type name.

Returns:

String representation of simulation type