|
1 | | -import numpy as np |
2 | | -import click |
3 | 1 | import os |
4 | 2 |
|
5 | | -from devito import Device, configuration, info, warning, set_log_level, switchconfig, norm |
| 3 | +import click |
| 4 | +import numpy as np |
| 5 | + |
| 6 | +from devito import Device, configuration, info, norm, set_log_level, switchconfig, warning |
6 | 7 | from devito.arch.compiler import IntelCompiler |
7 | 8 | from devito.mpi import MPI |
8 | 9 | from devito.operator.profiling import PerformanceSummary |
9 | 10 | from devito.tools import all_equal, as_tuple, sweep |
10 | 11 | from devito.types.dense import DiscreteFunction |
11 | | - |
12 | | -from examples.seismic.acoustic.acoustic_example import run as acoustic_run, acoustic_setup |
13 | | -from examples.seismic.tti.tti_example import run as tti_run, tti_setup |
14 | | -from examples.seismic.elastic.elastic_example import run as elastic_run, elastic_setup |
15 | | -from examples.seismic.self_adjoint.example_iso import run as acoustic_sa_run, \ |
16 | | - acoustic_sa_setup |
17 | | -from examples.seismic.viscoelastic.viscoelastic_example import run as viscoelastic_run, \ |
18 | | - viscoelastic_setup |
19 | | - |
| 12 | +from examples.seismic.acoustic.acoustic_example import acoustic_setup |
| 13 | +from examples.seismic.acoustic.acoustic_example import run as acoustic_run |
| 14 | +from examples.seismic.elastic.elastic_example import elastic_setup |
| 15 | +from examples.seismic.elastic.elastic_example import run as elastic_run |
| 16 | +from examples.seismic.self_adjoint.example_iso import acoustic_sa_setup |
| 17 | +from examples.seismic.self_adjoint.example_iso import run as acoustic_sa_run |
| 18 | +from examples.seismic.tti.tti_example import run as tti_run |
| 19 | +from examples.seismic.tti.tti_example import tti_setup |
| 20 | +from examples.seismic.viscoelastic.viscoelastic_example import run as viscoelastic_run |
| 21 | +from examples.seismic.viscoelastic.viscoelastic_example import viscoelastic_setup |
20 | 22 |
|
21 | 23 | model_type = { |
22 | 24 | 'viscoelastic': { |
|
0 commit comments