mirror of
https://github.com/wassname/simpegSeis.git
synced 2026-09-10 12:37:49 +08:00
Draft for docs (set up read the docs)
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -8,6 +8,9 @@ context of geoscience applications. simpegSeis uses SimPEG as the framework for
|
||||
|
||||
We consider two fundamental governing equations for seismic wave propagation: acoustic and elastic wave equations in both time and frequency domains. We initially discretize those problems to compute forward responses. Obvious next step is to solve inverse problems
|
||||
|
||||
.. raw:: html
|
||||
:file: examples\refraction.html
|
||||
|
||||
Acoustic wave
|
||||
=============
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
numpy
|
||||
scipy
|
||||
ipython
|
||||
matplotlib
|
||||
@@ -109,7 +109,7 @@ class AcousticProblemSponge(Problem.BaseProblem):
|
||||
self.mesh.setCellGradBC('dirichlet')
|
||||
Utils.setKwargs(self, **kwargs)
|
||||
|
||||
def setSpongeBC(self, npad, dt, bcflag="all"):
|
||||
def setSpongeBC(self, npad, dt, bcflag="all", const=1.):
|
||||
#TODO: performance of abosrbing
|
||||
self.bcflag = bcflag
|
||||
ax = self.mesh.vectorCCx[-npad]
|
||||
@@ -140,7 +140,7 @@ class AcousticProblemSponge(Problem.BaseProblem):
|
||||
temp[temp>1.] = 1.
|
||||
|
||||
f = 1.- temp*0.1
|
||||
self.sig = (1.-f)/f*2./dt
|
||||
self.sig = (1.-f)/f*2./dt*const
|
||||
|
||||
|
||||
def stabilitycheck(self, v, time, fmain):
|
||||
@@ -274,7 +274,7 @@ class AcousticProblemPML(Problem.BaseProblem):
|
||||
self.mesh.setCellGradBC('dirichlet')
|
||||
Utils.setKwargs(self, **kwargs)
|
||||
|
||||
def setPMLBC(self, npad, dt, bcflag="all"):
|
||||
def setPMLBC(self, npad, dt, bcflag="all", const=1.):
|
||||
#TODO: performance of abosrbing
|
||||
self.bcflag = bcflag
|
||||
ax = self.mesh.vectorCCx[-npad]
|
||||
@@ -304,8 +304,8 @@ class AcousticProblemPML(Problem.BaseProblem):
|
||||
|
||||
fx = 1.-tempx*0.1
|
||||
fy = 1.-tempy*0.1
|
||||
self.sigx = (1-fx)/fx*2./dt
|
||||
self.sigy = (1-fy)/fy*2./dt
|
||||
self.sigx = (1-fx)/fx*2./dt*const
|
||||
self.sigy = (1-fy)/fy*2./dt*const
|
||||
|
||||
def stabilitycheck(self, v, time, fmain):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user