Skip to content

Commit 72a5654

Browse files
committed
Update master to main in readme files
1 parent 68dbeea commit 72a5654

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Master
1+
## Main
22

33
- Lib: Update to `nalgebra` 0.29
44
- Lib: Replace some unsafe blocks by using `bytemuck` instead

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ![splashsurf logo](https://raw.githubusercontent.com/w1th0utnam3/splashsurf/master/logos/logo_small.svg "splashsurf")
1+
# ![splashsurf logo](https://raw.githubusercontent.com/w1th0utnam3/splashsurf/main/logos/logo_small.svg "splashsurf")
22
[![On crates.io](https://img.shields.io/crates/v/splashsurf)](https://crates.io/crates/splashsurf)
33
[![On docs.rs](https://docs.rs/splashsurf_lib/badge.svg)](https://docs.rs/splashsurf_lib)
44
[![Commits since last release](https://img.shields.io/github/commits-since/w1th0utnam3/splashsurf/latest)](https://github.com/w1th0utnam3/splashsurf)
5-
[![License: MIT](https://img.shields.io/crates/l/splashsurf)](https://github.com/w1th0utnam3/splashsurf/blob/master/LICENSE)
5+
[![License: MIT](https://img.shields.io/crates/l/splashsurf)](https://github.com/w1th0utnam3/splashsurf/blob/main/LICENSE)
66
[![Dependency status](https://deps.rs/repo/github/w1th0utnam3/splashsurf/status.svg)](https://deps.rs/repo/github/w1th0utnam3/splashsurf)
77
![Build and test GitHub Actions workflow](https://github.com/w1th0utnam3/splashsurf/workflows/Build%20and%20test/badge.svg)
88

@@ -28,10 +28,11 @@ then be fed into 3D rendering software such as [Blender](https://www.blender.org
2828
The result might look something like this (please excuse the lack of 3D rendering skills):
2929

3030
<p align="center">
31-
<img src="https://raw.githubusercontent.com/w1th0utnam3/w1th0utnam3.github.io/master/splashsurf.gif" alt="Rendered water animation" width="96%">
31+
<img src="https://raw.githubusercontent.com/w1th0utnam3/w1th0utnam3.github.io/main/splashsurf.gif" alt="Rendered water animation" width="96%">
3232
</p>
3333

3434
**Contents**
35+
- [!splashsurf logo](#)
3536
- [The `splashsurf` CLI](#the-splashsurf-cli)
3637
- [Introduction](#introduction)
3738
- [Notes](#notes)
@@ -54,7 +55,7 @@ The result might look something like this (please excuse the lack of 3D renderin
5455

5556
# The `splashsurf` CLI
5657

57-
The following sections mainly focus on the CLI of `splashsurf`. For more information on the library, see the [corresponding readme](https://github.com/w1th0utnam3/splashsurf/blob/master/splashsurf_lib) in the `splashsurf_lib` subfolder or the [`splashsurf_lib` crate](https://crates.io/crates/splashsurf_lib) on crates.io.
58+
The following sections mainly focus on the CLI of `splashsurf`. For more information on the library, see the [corresponding readme](https://github.com/w1th0utnam3/splashsurf/blob/main/splashsurf_lib) in the `splashsurf_lib` subfolder or the [`splashsurf_lib` crate](https://crates.io/crates/splashsurf_lib) on crates.io.
5859

5960
## Introduction
6061

@@ -67,7 +68,7 @@ By default, a domain decomposition of the particle set is performed using octree
6768
The implementation first computes the density of each particle using the typical SPH approach with a cubic kernel.
6869
This density is then evaluated or mapped onto a sparse grid using spatial hashing in the support radius of each particle.
6970
This implies that memory is only allocated in areas where the fluid density is non-zero. This is in contrast to a naive approach where the marching cubes background grid is allocated for the whole domain.
70-
The marching cubes reconstruction is performed only in the narrow band of grid cells where the density values cross the surface threshold. Cells completely in the interior of the fluid are skipped. For more details, please refer to the [readme of the library]((https://github.com/w1th0utnam3/splashsurf/blob/master/splashsurf_lib/README.md)).
71+
The marching cubes reconstruction is performed only in the narrow band of grid cells where the density values cross the surface threshold. Cells completely in the interior of the fluid are skipped. For more details, please refer to the [readme of the library]((https://github.com/w1th0utnam3/splashsurf/blob/main/splashsurf_lib/README.md)).
7172
Finally, all surface patches are stitched together by walking the octree back up, resulting in a closed surface.
7273

7374
## Notes

splashsurf/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# ![splashsurf logo](https://raw.githubusercontent.com/w1th0utnam3/splashsurf/master/logos/logo_small.svg "splashsurf")
1+
# ![splashsurf logo](https://raw.githubusercontent.com/w1th0utnam3/splashsurf/main/logos/logo_small.svg "splashsurf")
22
[![On crates.io](https://img.shields.io/crates/v/splashsurf)](https://crates.io/crates/splashsurf)
33
[![On docs.rs](https://docs.rs/splashsurf_lib/badge.svg)](https://docs.rs/splashsurf_lib)
44
[![Commits since last release](https://img.shields.io/github/commits-since/w1th0utnam3/splashsurf/latest)](https://github.com/w1th0utnam3/splashsurf)
5-
[![License: MIT](https://img.shields.io/crates/l/splashsurf)](https://github.com/w1th0utnam3/splashsurf/blob/master/LICENSE)
5+
[![License: MIT](https://img.shields.io/crates/l/splashsurf)](https://github.com/w1th0utnam3/splashsurf/blob/main/LICENSE)
66
[![Dependency status](https://deps.rs/repo/github/w1th0utnam3/splashsurf/status.svg)](https://deps.rs/repo/github/w1th0utnam3/splashsurf)
77
![Build and test GitHub Actions workflow](https://github.com/w1th0utnam3/splashsurf/workflows/Build%20and%20test/badge.svg)
88

9-
CLI for surface reconstruction of particle data from SPH simulations, written in Rust.
9+
CLI for surface reconstruction of particle data from SPH simulations, written in Rust. For a the library used by the CLI see the [`splashsurf_lib`](https://crates.io/crates/splashsurf_lib) crate.
1010

1111
<p align="center">
12-
<img src="https://raw.githubusercontent.com/w1th0utnam3/splashsurf/master/example_particles.png" alt="Image of the original particle data" width="32%"> <img src="https://raw.githubusercontent.com/w1th0utnam3/splashsurf/master/example_coarse.png" alt="Image of a coarse reconstructed surface mesh" width="32%"> <img src="https://raw.githubusercontent.com/w1th0utnam3/splashsurf/master/example_fine.png" alt="Image of a fine reconstructed surface mesh" width="32%">
12+
<img src="https://raw.githubusercontent.com/w1th0utnam3/splashsurf/main/example_particles.png" alt="Image of the original particle data" width="32%"> <img src="https://raw.githubusercontent.com/w1th0utnam3/splashsurf/main/example_coarse.png" alt="Image of a coarse reconstructed surface mesh" width="32%"> <img src="https://raw.githubusercontent.com/w1th0utnam3/splashsurf/main/example_fine.png" alt="Image of a fine reconstructed surface mesh" width="32%">
1313
</p>
1414

1515
`splashsurf` is a tool to reconstruct surfaces meshes from SPH particle data.
@@ -22,10 +22,11 @@ then be fed into 3D rendering software such as [Blender](https://www.blender.org
2222
The result might look something like this (please excuse the lack of 3D rendering skills):
2323

2424
<p align="center">
25-
<img src="https://raw.githubusercontent.com/w1th0utnam3/w1th0utnam3.github.io/master/splashsurf.gif" alt="Rendered water animation" width="96%">
25+
<img src="https://raw.githubusercontent.com/w1th0utnam3/w1th0utnam3.github.io/main/splashsurf.gif" alt="Rendered water animation" width="96%">
2626
</p>
2727

2828
**Contents**
29+
- [!splashsurf logo](#)
2930
- [The `splashsurf` CLI](#the-splashsurf-cli)
3031
- [Introduction](#introduction)
3132
- [Notes](#notes)
@@ -48,7 +49,7 @@ The result might look something like this (please excuse the lack of 3D renderin
4849

4950
# The `splashsurf` CLI
5051

51-
The following sections mainly focus on the CLI of `splashsurf`. For more information on the library, see the [corresponding readme](https://github.com/w1th0utnam3/splashsurf/blob/master/splashsurf_lib) in the `splashsurf_lib` subfolder or the [`splashsurf_lib` crate](https://crates.io/crates/splashsurf_lib) on crates.io.
52+
The following sections mainly focus on the CLI of `splashsurf`. For more information on the library, see the [corresponding readme](https://github.com/w1th0utnam3/splashsurf/blob/main/splashsurf_lib) in the `splashsurf_lib` subfolder or the [`splashsurf_lib` crate](https://crates.io/crates/splashsurf_lib) on crates.io.
5253

5354
## Introduction
5455

@@ -61,7 +62,7 @@ By default, a domain decomposition of the particle set is performed using octree
6162
The implementation first computes the density of each particle using the typical SPH approach with a cubic kernel.
6263
This density is then evaluated or mapped onto a sparse grid using spatial hashing in the support radius of each particle.
6364
This implies that memory is only allocated in areas where the fluid density is non-zero. This is in contrast to a naive approach where the marching cubes background grid is allocated for the whole domain.
64-
The marching cubes reconstruction is performed only in the narrow band of grid cells where the density values cross the surface threshold. Cells completely in the interior of the fluid are skipped. For more details, please refer to the [readme of the library]((https://github.com/w1th0utnam3/splashsurf/blob/master/splashsurf_lib/README.md)).
65+
The marching cubes reconstruction is performed only in the narrow band of grid cells where the density values cross the surface threshold. Cells completely in the interior of the fluid are skipped. For more details, please refer to the [readme of the library]((https://github.com/w1th0utnam3/splashsurf/blob/main/splashsurf_lib/README.md)).
6566
Finally, all surface patches are stitched together by walking the octree back up, resulting in a closed surface.
6667

6768
## Notes

splashsurf_lib/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The library re-exports `nalgebra` to avoid version conflicts for users of the li
2828

2929
By default none of the following features are enabled to reduce the dependencies introduced by this library. The following feature flags are available for `splashsurf_lib`:
3030

31-
- **vtk-extras**: Enables convenience traits and helper functions to convert the mesh types returned by the library to [`vtkio`](https://crates.io/crates/vtkio) data structures (in particular [`UnstructuredGridPiece`](https://docs.rs/vtkio/latest/vtkio/model/struct.UnstructuredGridPiece.html)) that can be used to easily write the meshes to VTK files (e.g. for viewing them with [Paraview](https://www.paraview.org/)). Check out the documentation of `vtkio` or the [corresponding io module](https://github.com/w1th0utnam3/splashsurf/blob/master/splashsurf/src/io/vtk_format.rs) of the `splashsurf` CLI for reference.
31+
- **vtk-extras**: Enables convenience traits and helper functions to convert the mesh types returned by the library to [`vtkio`](https://crates.io/crates/vtkio) data structures (in particular [`UnstructuredGridPiece`](https://docs.rs/vtkio/latest/vtkio/model/struct.UnstructuredGridPiece.html)) that can be used to easily write the meshes to VTK files (e.g. for viewing them with [Paraview](https://www.paraview.org/)). Check out the documentation of `vtkio` or the [corresponding io module](https://github.com/w1th0utnam3/splashsurf/blob/main/splashsurf/src/io/vtk_format.rs) of the `splashsurf` CLI for reference.
3232
- **profiling**: Enables profiling of the library using [`coarse-prof`](https://crates.io/crates/coarse-prof). Several functions in the library will use the [`profile!`](https://docs.rs/coarse-prof/latest/coarse_prof/macro.profile.html) macro with the function name as an argument to record their runtime. The user of the library can then obtain the profiling data using the functions provided by the `coarse-prof` crate. Note that profiling using this crate might reduce performance for surface reconstructions with a very small number of particles (i.e. only a few hundred).
3333

3434
For each of the features, `splashsurf_lib` re-exports the corresponding dependencies to avoid version conflicts for users of the library.

0 commit comments

Comments
 (0)