952 B
952 B
Inversion test
This is a test setup for inversion calculation.
-
Run all cells of
make_test_model.ipynbormake_test_model.pyfor creating- source, receiver file (src_rec_test.dat)
- true model (test_model_true.h5)
- initial model (test_model_init.h5)
-
then run TOMOATT forward with
input_params_pre.ymlfor calculating the true arrival times at the stations -> this will output src_rec_test_out.dat file which includes the true arrival times
mpirun --oversubscribe -np 8 ../../build/TOMOATT ./input_params_pre.yml
- run TOMOATT in inversion mode with
input_params.yml. -> this will output src_rec_test_out.dat file which includes the true arrival times
mpirun --oversubscribe -np 8 ../../build/TOMOATT ./input_params_pre.yml
- for visualizing the result files
paraview out_data_sim_0.xmf
0 is the source id. The kernel and model fields are output in the file of 0th source.