Files
TomoATT/test/inversion_small/input_params_pre.yml

58 lines
2.5 KiB
YAML
Raw Normal View History

2025-12-17 10:53:43 +08:00
version: 3
#################################################
# computational domian #
#################################################
domain:
min_max_dep: [-10.0, 10.0] # depth in km
min_max_lat: [37.7, 42.3] # latitude in degree
min_max_lon: [22.7, 27.3] # longitude in degree
n_rtp: [10, 50, 50] # number of nodes
source:
src_rec_file: src_rec_test.dat # source receiver file (if found, src_dep_lat_lon is ignored)
swap_src_rec: true # swap source and receiver (1: yes, 0: no)
model:
init_model_path: ./test_model_true.h5 # path to initial model file (ignored if init_model_type is '1d_*')
parallel: # parameters for parallel computation
n_sims: 1 # number of simultaneous run
ndiv_rtp: [1, 1, 1] # number of subdomains
nproc_sub: 1 # number of subprocess used for each subdomain
output_setting:
output_dir: ./OUTPUT_FILES/ # path to output director (default is ./OUTPUT_FILES/)
output_source_field: true # output the calculated field of all sources
output_model_dat: false # output model_parameters_inv_0000.dat or not.
output_final_model: true # output merged final model or not.
output_in_process: true # output model at each inv iteration or not.
single_precision_output: false # output results in single precision or not.
verbose_output_level: 0 # output internal parameters, if 0, only model parameters are out. Higher level, more internal parameters are output. default: 0
output_file_format: 0 # in/output file format, if 0: HDF5, if 1: ASCII
#################################################
# inversion or forward modeling #
#################################################
# run mode
# 0 for forward simulation only,
# 1 for inversion
# 2 for earthquake relocation
# 3 for inversion+earthquake relocation
run_mode: 0
# --- parameters for core solver ---------------------------------------------------------
# --- please do not change the following parameters unless you know what you are doing ---
########################################################################
# Scheme of Eikonal solver (fast sweeping method) #
########################################################################
calculation:
convergence_tolerance: 1e-4
max_iterations: 500
stencil_order: 1 # 1 or 3
stencil_type : 1 # 0: , 1: first-order upwind scheme (only sweep_type 0 is supported)
sweep_type: 1 # 0: legacy, 1: cuthill-mckee with shm parallelization