Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new JustRelax logo #202

Merged
merged 11 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# JustRelax.jl
<h1> <img src="./docs/src/assets/logo.png" alt="JustRelax.jl" width="50"> JustRelax.jl </h1>

[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://ptsolvers.github.io/JustRelax.jl/dev/)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10212422.svg)](https://doi.org/10.5281/zenodo.10212422)
![CI](https://github.com/PTSolvers/JustRelax.jl/actions/workflows/ci.yml/badge.svg)
[![Build status](https://badge.buildkite.com/6b970b1066dc828a56a75bccc65a8bc896a8bb76012a61fe96.svg)](https://buildkite.com/julialang/justrelax-dot-jl)
[![codecov](https://codecov.io/gh/PTsolvers/JustRelax.jl/graph/badge.svg?token=4ZJO7ZGT8H)](https://codecov.io/gh/PTsolvers/JustRelax.jl)

<p align="center"><img src="./docs/src/assets/logo.png" alt="JustRelax.jl" width="200"></p>

:warning: This Package is still under active development
- The API is still subject to change.
Expand Down Expand Up @@ -75,12 +77,12 @@ const backend_JR = CPUBackend
For this specific example we use particles to define the material phases, for which we rely on [JustPIC.jl](https://github.com/JuliaGeodynamics/JustPIC.jl). As in `JustRelax.jl`, we need to set up the environment of `JustPIC.jl`. This is done by running/including the following commands:

```julia
using JustPIC
using JustPIC._2D
using JustPIC
using JustPIC._2D

const backend = CPUBackend # Threads is the default backend
const backend = CUDABackend # to run on a CUDA GPU load CUDA.jl (i.e. "using CUDA") at the beginning of the script
const backend = AMDGPUBackend # and to run on an AMD GPU load AMDGPU.jl (i.e. "using AMDGPU") at the beginning of the script.
const backend = CPUBackend # Threads is the default backend
const backend = CUDABackend # to run on a CUDA GPU load CUDA.jl (i.e. "using CUDA") at the beginning of the script
const backend = AMDGPUBackend # and to run on an AMD GPU load AMDGPU.jl (i.e. "using AMDGPU") at the beginning of the script.
```

We will also use `ParallelStencil.jl` to write some device-agnostic helper functions:
Expand Down Expand Up @@ -122,7 +124,7 @@ grid = Geometry(ni, li; origin = origin)
dt = Inf
```

### Initialisation of the rheology with [GeoParams.jl](https://github.com/JuliaGeodynamics/GeoParams.jl).
### Initialisation of the rheology with [GeoParams.jl](https://github.com/JuliaGeodynamics/GeoParams.jl).

The rheology can be tailored to the specific problem with different creep laws and material parameters or the miniapps in the [convection folder](miniapps/convection).

Expand Down
3 changes: 2 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ makedocs(;
sitename="JustRelax.jl",
authors="Albert de Montserrat, Pascal Aellig and contributors",
modules=[JustRelax],
format=Documenter.HTML(; prettyurls=get(ENV, "CI", nothing) == "true",
format=Documenter.HTML(; assets = ["assets/favicon.ico"],
prettyurls=get(ENV, "CI", nothing) == "true",
size_threshold_ignore = ["man/listfunctions.md"]), # easier local build

warnonly = Documenter.except(:footnote),
Expand Down
Loading