specfem::runtime_configuration::sources¶
-
class sources¶
Class to read and manage source configuration.
Parses the “sources” node from specfem_config.yaml and produces a list of source file entries with their formats. Supports both the old scalar format (bare path to a YAML file) and the new map format with explicit format keys.
Old format (backward compatible):
sources: "path/to/sources.yaml"
New format:
sources: YAML: sources.yaml CMTSOLUTION: - CMTSOLUTION_event1 - CMTSOLUTION_event2