Skip to content

Commit 8eb2078

Browse files
authored
Merge pull request #29 from dengwirda/dev
Upgrade to jigsaw-0.9.12.x
2 parents a99c834 + 666718d commit 8eb2078

File tree

195 files changed

+45672
-55862
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+45672
-55862
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
<img src = "../master/img/bunny-TRIA4-3.png">
88
</p>
99

10-
`JIGSAW` is a computational library for unstructured mesh generation and tessellation; designed to generate high-quality triangulations and polyhedral decompositions of general planar, surface and volumetric domains. `JIGSAW` includes refinement-based algorithms for the construction of new meshes, optimisation-driven techniques for the improvement of existing grids, as well as routines to assemble (restricted) Delaunay tessellations, Voronoi complexes and Power diagrams.
10+
`JIGSAW` is an unstructured mesh generator and tessellation library; designed to generate high-quality triangulations and polyhedral decompositions of general planar, surface and volumetric domains. `JIGSAW` includes refinement-based algorithms for the construction of new meshes, optimisation-driven techniques for the improvement of existing grids, as well as routines to assemble (restricted) Delaunay tessellations, Voronoi complexes and Power diagrams.
1111

12-
This package provides the underlying `C++` source for `JIGSAW`; defining a basic command-line interface and a `C`-format `API`. Higher-level scripting interfaces, supporting a range of additional facilities for file I/O, mesh visualisation and post-processing operations are also available, including for <a href="http://www.mathworks.com">`MATLAB`</a> / <a href="http://www.gnu.org/software/octave">`OCTAVE`</a> <a href="https://github.com/dengwirda/jigsaw-matlab">here</a> and for <a href="https://www.python.org/">`PYTHON`</a> <a href="https://github.com/dengwirda/jigsaw-python">here</a>.
12+
This package provides the underlying `c++` source for `JIGSAW`; defining a basic command-line interface and a `c`-format `API`. Higher-level scripting interfaces, supporting a range of additional facilities for file I/O, mesh visualisation and post-processing operations are also available, including for <a href="http://www.mathworks.com">`MATLAB`</a> / <a href="http://www.gnu.org/software/octave">`OCTAVE`</a> <a href="https://github.com/dengwirda/jigsaw-matlab">here</a> and for <a href="https://www.python.org/">`PYTHON`</a> <a href="https://github.com/dengwirda/jigsaw-python">here</a>.
1313

1414
`JIGSAW` has been compiled and tested on various `64-bit` `Linux`, `Windows` and `MacOS` based platforms.
1515

1616
### `Code Structure`
1717

18-
`JIGSAW` is written as a `header-only` library in `C++`. Both a basic command-line interface and a `C`-format `API` are defined:
18+
`JIGSAW` is written as a `header-only` library in `c++`. Both a basic command-line interface and a `c`-format `API` are defined:
1919

2020
JIGSAW::
2121
├── src -- JIGSAW src code
@@ -32,26 +32,25 @@ The first step is to compile and configure the code! `JIGSAW` can either be buil
3232

3333
### `Building from src`
3434

35-
The full `JIGSAW` src can be found in <a href="../master/src/">`../jigsaw/src/`</a>. It has been built using various `C++11` conforming versions of the `g++`, `clang++` and `msvc` compilers.
35+
The full `JIGSAW` src can be found in <a href="../master/src/">`../jigsaw/src/`</a>. It has been built using various `c++11` conforming versions of the `g++`, `clang++` and `msvc` compilers.
3636

3737
`JIGSAW` is a `header-only` package - the single main `jigsaw.cpp` file simply `#include`'s the rest of the library directly. `JIGSAW` does not currently dependent on any external packages or libraries.
3838

39-
`JIGSAW` consists of several pieces: `(a)` a set of command-line utilities that read and write mesh data from/to file, and `(b)` a shared library, accessible via a `C`-format `API`.
39+
`JIGSAW` consists of several pieces: `(a)` a set of command-line utilities that read and write mesh data from/to file, and `(b)` a shared library, accessible via a `c`-format `API`.
4040

4141
### `Using cmake`
4242

4343
`JIGSAW` can be built using the <a href="https://cmake.org/">`cmake`</a> utility. To build, follow the steps below:
4444

45-
* Ensure you have the cmake utility installed.
4645
* Clone or download this repository.
4746
* Navigate to the root `../jigsaw/` directory.
4847
* Make a new temporary directory BUILD.
4948
* cd build
50-
* cmake .. -D CMAKE_BUILD_TYPE=BUILD_MODE
49+
* cmake .. -DCMAKE_BUILD_TYPE=BUILD_MODE
5150
* cmake --build . --config BUILD_MODE --target install
5251
* Delete the temporary BUILD directory.
5352

54-
This process will build a series of executables and shared libraries: `jigsaw` itself - the main command-line meshing utility, `tripod` - `JIGSAW`'s tessellation infrastructure, as well as `libjigsaw` - `JIGSAW`'s shared `API`. `BUILD_MODE` can be used to select different compiler configurations and should generally either be `Release` or `Debug`.
53+
This process will build a series of executables and shared libraries: `jigsaw` itself - the main command-line meshing utility, `tripod` - `JIGSAW`'s tessellation infrastructure, `marche` - a fast-marching solver designed to optimise mesh-spacing configurations, as well as `libjigsaw` - `JIGSAW`'s shared `API`. `BUILD_MODE` can be used to select different compiler configurations and should generally either be `Release` or `Debug`.
5554

5655
See `example.jig` for documentation on calling the command-line executables, and the headers in <a href="../master/inc/">`../jigsaw/inc/`</a> for details on the `API`.
5756

@@ -92,7 +91,7 @@ The unit-tests can be built using the <a href="https://cmake.org/">`cmake`</a> u
9291
* Navigate to the `../jigsaw/uni/` directory.
9392
* Make a new temporary directory BUILD.
9493
* cd build
95-
* cmake .. -D CMAKE_BUILD_TYPE=BUILD_MODE
94+
* cmake .. -DCMAKE_BUILD_TYPE=BUILD_MODE
9695
* cmake --build . --config BUILD_MODE --target install
9796
* Delete the temporary BUILD directory.
9897

example.jig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,17 @@
298298
# ----------------------
299299
#
300300

301+
# ---> OPTM_KERN - {default='odt+dqdx'} mesh optimisation
302+
# kernel, choice of an Optimal Delaunay Tessellation
303+
# strategy (KERN='odt+dqdx') or a Centroidal Voronoi
304+
# Tessellation method (KERN='cvt+dqdx'). In both
305+
# cases a hybrid formulation is employed, using a
306+
# "blend" of the ODT/CVT updates, and gradients of a
307+
# "fall-back" mesh quality function Q.
308+
309+
# OPTM_KERN = CVT+DQDX
310+
311+
301312
# ---> OPTM_ITER - {default=16} max. number of mesh optim-
302313
# isation iterations. Set ITER=N to see progress after
303314
# N iterations.

0 commit comments

Comments
 (0)