-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doc] add doc-strings and setup doc-pages
- Loading branch information
1 parent
b508266
commit 0a310ed
Showing
9 changed files
with
1,612 additions
and
12 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,5 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
GridapEmbedded = "8838a6a3-0006-4405-b874-385995508d5d" | ||
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" | ||
STLCutters = "284f087d-c8bb-44c4-af3c-39d0e1f330a5" |
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,17 +1,15 @@ | ||
using Documenter, STLCutters | ||
using Revise | ||
using Documenter | ||
using Literate | ||
using STLCutters | ||
|
||
makedocs(; | ||
modules=[STLCutters], | ||
format=Documenter.HTML(), | ||
pages=[ | ||
"Home" => "index.md", | ||
"Introduction" => "index.md", | ||
"Usage" => "usage.md", | ||
"Distributed" => "distributed.md", | ||
], | ||
repo="https://github.com/pmartorell/STLCutters.jl/blob/{commit}{path}#L{line}", | ||
sitename="STLCutters.jl", | ||
authors="Pere Antoni Martorell, Large Scale Scientific Computing", | ||
assets=String[], | ||
) | ||
|
||
# deploydocs(; | ||
# repo="github.com/pmartorell/STLCutters.jl", | ||
# ) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,45 @@ | ||
# STLCutter.jl | ||
|
||
Welcome to the documentation for STLCutters. | ||
|
||
|
||
!!! note | ||
|
||
These documentation pages are under construction. | ||
|
||
|
||
## What | ||
|
||
This package provides the tools for solving partial differential equations (PDEs) on domains bounded by [STL](https://en.wikipedia.org/wiki/STL_(file_format)) surfaces. STLCutters is an extension of [GridapEmbedded](https://github.com/gridap/GridapEmbedded.jl). GridapEmbedded is a package for solving | ||
PDEs on embedded domains, e.g., using embedded, unfitted or immersed finite element methods. Both, GridapEmbedded and STLCutters build on top of [Gridap](https://github.com/gridap/GridapEmbedded.jl). | ||
|
||
In the following work, you can find the research related with STLCutters: | ||
|
||
> Santiago Badia, Pere A. Martorell, Francesc Verdugo. "Geometrical discretisations for unfitted finite elements on explicit boundary representations." Journal of Computational Physics 460 (2022): 111162. doi: [10.1016/j.jcp.2022.111162](https://doi.org/10.1016/j.jcp.2022.111162) | ||
## Why | ||
|
||
The simulation of industrial and scientific problems involves solving PDEs on complex geometries. The generation of body-fitted unstructured meshes requires extensive human intervention. Additionaly, mesh partitioners are inherently serial and represent a botleneck (or a limitation) in the parallelization. Embedded methods (e.g., [GridapEmbedded](https://github.com/gridap/GridapEmbedded.jl)) address this limitation by using simple (e.g., structured) meshes for the functional discretization.. However, these methods define the domain through implicit functions (i.e., level sets) which represents a significant limitation. | ||
|
||
This package addresses explicit boundary representations with embedded methods. Specifically, we provide algorithmic tools for the discretizations of embedded methods on STL surfaces. The implementations are designed to be efficient in large-scale distributed memory environments. | ||
|
||
|
||
|
||
```@index | ||
``` | ||
|
||
|
||
|
||
```@autodocs | ||
Modules = [STLCutters] | ||
Order = [:type, :function] | ||
``` | ||
|
||
```@meta | ||
CurrentModule = STLCutters | ||
``` | ||
|
||
```@docs | ||
subtriangulate | ||
``` | ||
|
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,11 @@ | ||
# Usage | ||
|
||
## Installation | ||
|
||
STLCutters is a registered package. You can install it by running: | ||
|
||
```julia | ||
julia> ] add STLCutters | ||
``` | ||
|
||
# Downloading STL files |
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