Draft for docs (set up read the docs)

This commit is contained in:
SEOGI KANG
2014-09-18 10:32:52 -07:00
parent 2680693094
commit cfab4bbd01
9 changed files with 144013 additions and 5 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3
View File
@@ -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
+4
View File
@@ -0,0 +1,4 @@
numpy
scipy
ipython
matplotlib
+5 -5
View File
@@ -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):