seisflows.examples.ex3_fwd_solver

SEISFLOWS SPECFEM2D WORKSTATION EXAMPLE 3

This example will run a number of forward simulations and misfit quantification. This is useful for generating a large number of synthetics through a given model

Note

See Example 1 docstring for more information

$ seisflows examples run 3

Module Contents

Classes

SFFwdEx2D

A class for running SeisFlows examples. Overloads Example 1 to take

class seisflows.examples.ex3_fwd_solver.SFFwdEx2D(ntask=None, nsta=None, nproc=None, method='run', specfem2d_repo=None, with_mpi=False, mpiexec='mpirun', **kwargs)

Bases: seisflows.examples.sfexample2d.SFExample2D

A class for running SeisFlows examples. Overloads Example 1 to take advantage of the default SPECFEM2D stuff, only removes the generation of MODEL TRUE and makes the parameter file more bare bones.

print_dialogue()

Print help/system dialogue message that explains the setup of th this workflow

setup_specfem2d_for_model_true()

Overwrites MODEL TRUE creation from EX1. The same as in Example 2

Make some adjustments to the parameter file to create the final velocity model. This function assumes it is running from inside the SPECFEM2D/DATA directory

main()

Setup the example and then optionally run the actual seisflows workflow Mostly the same as Example 1 main() except it does not generate MODEL_TRUE, and instead sets MODEL_TRUE as the starting model.