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.

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

Combined simulation type traits.

specfem::simulation::field_type

enum class specfem::simulation::field_type

Simulation field types for wave propagation algorithms.

Used in time-stepping schemes and inversion methods.

Values:

enumerator forward

Forward time propagation.

enumerator adjoint

Adjoint field (backward from receivers)

enumerator backward

Backward field (for gradient computation)

enumerator buffer

Temporary buffer field.