Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.

Commit e764a6c

Browse files
author
Keith Roberts
authored
Update README.md (#163)
adding TOC
1 parent 50ab5aa commit e764a6c

File tree

1 file changed

+62
-8
lines changed

1 file changed

+62
-8
lines changed

README.md

+62-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="https://github.com/krober10nd/SeismicMesh"><img alt="SeismicMesh" src="https://user-images.githubusercontent.com/18619644/92964244-28f31d00-f44a-11ea-9aa0-3d8ed0a1b60e.jpg" width="40%"></a>
3-
<p align="center">Create high-quality 2D/3D meshes from seismic velocity models.</p>
3+
<p align="center">Create high-quality, simulation-ready 2D/3D meshes.</p>
44
</p>
55

66

@@ -16,13 +16,37 @@
1616
[![status](https://joss.theoj.org/papers/ba94127ebbd0ca13c841f047fb5077bd/status.svg)](https://joss.theoj.org/papers/ba94127ebbd0ca13c841f047fb5077bd)
1717

1818

19-
[SeismicMesh](https://github.com/krober10nd/SeismicMesh): Triangular Mesh generation in Python
19+
[SeismicMesh](https://github.com/krober10nd/SeismicMesh): Triangular Mesh generation in Python
2020
==================================================================================================
2121

2222
SeismicMesh is a Python package for simplex mesh generation in two or three dimensions. As an implementation of [DistMesh](http://persson.berkeley.edu/distmesh/), it produces high-geometric quality meshes at the expense of speed. For increased efficiency, the core package is written in C++, works in parallel, and uses the [Computational Geometry Algorithms Library](https://doc.cgal.org/latest/Mesh_3/index.html). SeismicMesh can also produce mesh-density functions from seismological data to be used in the mesh generator.
2323

2424
*SeismicMesh* is distributed under the GPL3 license and more details can be found in our [short paper](https://github.com/krober10nd/SeismicMesh/blob/master/paper/paper.md).
2525

26+
Table of contents
27+
=================
28+
29+
<!--ts-->
30+
* [Installation](#installation)
31+
* [Getting help](#problems)
32+
* [Contributing](#contributing)
33+
* [Examples](#examples)
34+
* [BP2004](#bp2004)
35+
* [EAGE Salt](#eage)
36+
* [Cylinder](#cylinder)
37+
* [Disk](#disk)
38+
* [Square](#square)
39+
* [Cube](#cube)
40+
* [Torus](#torus)
41+
* [Prism](#prism)
42+
* [Union](#union)
43+
* [Intersection](#intersection)
44+
* [Difference](#difference)
45+
* [Immersion](#immersion)
46+
* [Performance comparison](#performance)
47+
* [Changelog](#changelog)
48+
<!--te-->
49+
2650
Installation
2751
============
2852

@@ -80,6 +104,8 @@ Examples
80104
The user can quickly build quality 2D/3D meshes from seismic velocity
81105
models in serial/parallel.
82106

107+
BP2004
108+
-------
83109
**WARNING: To run the code snippet below you must download the 2D BP2004
84110
seismic velocity model and then you must uncompress it (e.g., gunzip).
85111
This file can be downloaded from**
@@ -138,6 +164,10 @@ if comm.rank == 0:
138164
)
139165
```
140166

167+
168+
EAGE
169+
----------
170+
141171
**WARNING: To run the code snippet below you must download (and uncompress) the 3D EAGE
142172
seismic velocity model from (WARNING: File is \~500 MB)**
143173
[here](https://s3.amazonaws.com/open.source.geoscience/open_data/seg_eage_models_cd/Salt_Model_3D.tar.gz)
@@ -224,8 +254,12 @@ if comm.rank == 0:
224254
)
225255
```
226256

257+
227258
**The user can still specify their own signed distance functions and sizing functions to `generate_mesh` (in serial or parallel) just like the original DistMesh algorithm but now with quality bounds in 3D. Try the codes below!**
228259

260+
Cylinder
261+
--------
262+
229263
<img alt="Cylinder" src="https://user-images.githubusercontent.com/18619644/97082301-0e7e9880-15df-11eb-9055-15394213d755.png" width="30%">
230264

231265
```python
@@ -261,6 +295,8 @@ if comm.rank == 0:
261295
)
262296
```
263297

298+
Disk
299+
--------
264300
<img alt="Disk" src="https://user-images.githubusercontent.com/18619644/97063883-b9a83700-1578-11eb-9cd7-3ff0cbac20d9.png" width="30%">
265301

266302

@@ -278,7 +314,8 @@ meshio.write_points_cells(
278314
file_format="vtk",
279315
)
280316
```
281-
317+
Square
318+
--------
282319
<img alt="Square" src="https://user-images.githubusercontent.com/18619644/97063852-7b127c80-1578-11eb-97d5-cfe07cc969ec.png" width="30%">
283320

284321
```python
@@ -296,6 +333,8 @@ meshio.write_points_cells(
296333
file_format="vtk",
297334
)
298335
```
336+
Cube
337+
--------
299338
<img alt="Cube" src="https://user-images.githubusercontent.com/18619644/97063751-e1e36600-1577-11eb-9387-613f3ae04bff.png" width="30%">
300339

301340
```python
@@ -314,6 +353,8 @@ meshio.write_points_cells(
314353
file_format="vtk",
315354
)
316355
```
356+
Torus
357+
--------
317358
<img alt="Torus" src="https://user-images.githubusercontent.com/18619644/97063588-eeb38a00-1576-11eb-8cff-8e77ea4d2946.png" width="30%">
318359

319360

@@ -341,6 +382,8 @@ meshio.write_points_cells(
341382

342383
<img alt="Torus" src="https://user-images.githubusercontent.com/18619644/97081705-8ac2ad00-15da-11eb-9466-a86216b8908c.png" width="30%">
343384

385+
Prism
386+
--------
344387
```python
345388
# mesh a prism
346389
import meshio
@@ -364,6 +407,8 @@ meshio.write_points_cells(
364407
file_format="vtk",
365408
)
366409
```
410+
Union
411+
-----------------------------------
367412
<img alt="Union" src="https://user-images.githubusercontent.com/18619644/97081772-045a9b00-15db-11eb-8356-7863cdf274a3.png" width="30%">
368413

369414
```python
@@ -384,6 +429,8 @@ meshio.write_points_cells(
384429
file_format="vtk",
385430
)
386431
```
432+
Intersection
433+
-------------------------------------------
387434
<img alt="Leaf" src="https://user-images.githubusercontent.com/18619644/97081808-41bf2880-15db-11eb-9333-2d1230621c01.png" width="30%">
388435

389436
```python
@@ -404,6 +451,8 @@ meshio.write_points_cells(
404451
file_format="vtk",
405452
)
406453
```
454+
Difference
455+
-------------------------------------------
407456
<img alt="Hole" src="https://user-images.githubusercontent.com/18619644/97081829-69ae8c00-15db-11eb-815d-a8302f822337.png" width="30%">
408457

409458
```python
@@ -424,6 +473,8 @@ meshio.write_points_cells(
424473
file_format="vtk",
425474
)
426475
```
476+
Difference of Signed Distance Functions in 3-D
477+
------------------------------------------------
427478
<img alt="Cube wHoles" src="https://user-images.githubusercontent.com/18619644/97081862-ad08fa80-15db-11eb-94b2-801001137f1a.png" width="30%">
428479

429480
```python
@@ -449,7 +500,8 @@ meshio.write_points_cells(
449500
file_format="vtk",
450501
)
451502
```
452-
503+
Immersion
504+
--------------------
453505
<img alt="Immersed disk" src="https://user-images.githubusercontent.com/18619644/99576017-37b0ff80-29b8-11eb-881d-a9b0dd0adc34.png" width="30%">
454506

455507
```python
@@ -483,11 +535,10 @@ meshio.write_points_cells(
483535
)
484536
```
485537

538+
Performance
539+
------------
486540

487-
How does performance and cell quality compare to Gmsh and CGAL mesh generators?
488-
===================================================================================
489-
490-
* For an additional comparison of *SeismicMesh* against several other popular mesh generators head over to [meshgen-comparison](https://github.com/nschloe/meshgen-comparison).
541+
**How does performance and cell quality compare to Gmsh and CGAL mesh generators?
491542

492543
Here we use SeismicMesh 3.1.4, [pygalmesh](https://github.com/nschloe/pygalmesh) 0.8.2, and [pygmsh](https://github.com/nschloe/pygmsh) 7.0.0 (more details in the benchmarks folder).
493544

@@ -505,6 +556,9 @@ Some key findings:
505556
* Note: it's important to point out here that a significant speed-up can be achieved for moderate to large problems using the [parallel capabilities](https://seismicmesh.readthedocs.io/en/master/tutorial.html#basics) provided in SeismicMesh.
506557

507558

559+
**For an additional comparison of *SeismicMesh* against several other popular mesh generators head over to [meshgen-comparison](https://github.com/nschloe/meshgen-comparison).
560+
561+
508562
Changelog
509563
=========
510564

0 commit comments

Comments
 (0)