serendipyty.seismic.modelling.bcs

Created on Wed Feb 7 15:10:52 2018

@author: Filippo Broggini (ETH Zürich) - filippo.broggini@erdw.ethz.ch

Classes

BaseBc([omp_num_threads]) Base class for boundary conditions.
PmlBc([npml, freesurface]) PMLs boundary conditions.
class serendipyty.seismic.modelling.bcs.BaseBc(omp_num_threads=1)[source]

Bases: object

Base class for boundary conditions.

This class defines the basic parameters for the boundary conditions used in the modelling routines.

Attributes

omp_num_threads (int, optional) Number of computational threads
__weakref__

list of weak references to the object (if defined)

class serendipyty.seismic.modelling.bcs.PmlBc(npml=20, freesurface=False)[source]

Bases: object

PMLs boundary conditions.

This class defines the basic parameters for the PMLs boundary conditions.

Parameters:

npml : int

Number of grid points.

freesurface : bool

If True, applies a free surface on the top edge.

Notes

The perfectly matched layer (PML) absorbing boundary conditions are implemented following [R57].

[R57]
  1. Komatitsch and J. Tromp,

“A perfectly matched layer absorbing boundary condition for the second-order seismic wave equation”, Geophys. J. Int. (2003) 154, 146–153

__weakref__

list of weak references to the object (if defined)