-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from groupeLIAMG/dev
use travis + minor fixes
- Loading branch information
Showing
62 changed files
with
765 additions
and
370 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
notifications: | ||
email: false | ||
matrix: | ||
include: | ||
- sudo: required | ||
services: | ||
- docker | ||
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64 PLAT=manylinux1_x86_64 | ||
- sudo: required | ||
services: | ||
- docker | ||
env: DOCKER_IMAGE=quay.io/pypa/manylinux2010_x86_64 PLAT=manylinux2010_x86_64 | ||
install: | ||
- docker pull $DOCKER_IMAGE | ||
script: | ||
- docker run --rm -e PLAT=$PLAT -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/travis/build-linux-wheels.sh | ||
- ls wheelhouse/ | ||
|
||
|
||
deploy: | ||
provider: pypi | ||
user: "__token__" | ||
password: | ||
secure: OVp/3WuMinD5f+LWGS4l1mADB9fhieBIIJwxgcnmnnRtltuvBw94XFQEhNe+mrVnR8V0V8rvoKMoypa/qQHs/5pz0xP6MD6M1ch9legMrDBRLVJXEinFdr2C7Mr2SQa5XWyLqTCJCjpmTESjQ2jG45KF+dfGR97U+eF9pYWU6oP2CypFy1hR2AaZSt2O94IaHQeEDXSwRQLPNIewbz38muD1fm7MOd2FlSZuv0GztBMW6CuKx7XAW4UlJmsnJJprT46uBWDlWmkOon7J1qkZLlHwUXb6IZVwyKsphUCyM/RoszxgQpMomIolAyuHHlpGQJMsDhXz3WQqvvW7P+a4aUR0yMSpE/oKMDNrlgoxrkxO8vAmCpSrsXict+HmmcUrAXTfvdQ86/Zax8gTFNiVnOaUPpVDc18QJryGCljdUB1sSoUEateQ+FovD6nfSfYnLH3C367X8ZBNcTF34DXfaNHt/5aUxxhaGMHhm7uysl1WbdyDIS52WB5Pch1IZEM6c0NmYtUe3ISiY63q1BpHl5ly59A6cVNcMQxbY/X556x7MHmcpXBS4dAJVhYC+V2QaOrY/qIUDj4QXlX3Va02Kb7ALZPyTb08B72yjulYuQkZz1ICYeN0f7X9AuyxdWvU3jpANDUGFxKljQk7BFBkwjNpg8gLDEJPSJQVScJeMn0= |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
********************************* | ||
Documentation for the python code | ||
********************************* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Module cgrid2d | ||
************** | ||
============== | ||
|
||
.. automodule:: ttcrpy.cgrid2d | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Module cgrid3d | ||
************** | ||
============== | ||
|
||
.. automodule:: ttcrpy.cgrid3d | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Module cmesh2d | ||
************** | ||
============== | ||
|
||
.. automodule:: ttcrpy.cmesh2d | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Module cmesh3d | ||
************** | ||
============== | ||
|
||
.. automodule:: ttcrpy.cmesh3d | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Module grid | ||
************ | ||
=========== | ||
|
||
.. automodule:: ttcrpy.grid | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
Module rgrid | ||
************ | ||
============ | ||
|
||
.. automodule:: ttcrpy.rgrid | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
******************** | ||
Model discretization | ||
******************** | ||
|
||
``ttcrpy`` supports a number of discretization schemes. 2D and 3D models are possible. | ||
|
||
2D models | ||
========= | ||
|
||
Rectilinear grids and triangular meshes can be built to perform the calculations. | ||
By convention, the coordinate axis system is (x, z), e.g. when saving the models to | ||
VTK format. | ||
|
||
3D models | ||
========= | ||
|
||
Rectilinear grids and tetraedral meshes can be used for 3D calculations. | ||
|
||
Assigning velocity/slowness | ||
=========================== | ||
|
||
Prior to performing traveltime computations, it is necessary to define the slowness | ||
distribution in space. Two options are possible. | ||
|
||
.. image:: images/discr1.* | ||
:width: 300px | ||
:alt: slowness assigned to cells | ||
|
||
.. image:: images/discr2.* | ||
:width: 300px | ||
:alt: slowness assigned to nodes | ||
|
||
In the leftmost case, slowness values are assigned to the cells of the mesh. | ||
In the rightmost case, slowness values are assigned to grid nodes. In the latter case, traveltime | ||
computation between two nodes is done by taking the average of the slowness | ||
values at the two nodes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.