Skip to content

Commit 7fcfd7f

Browse files
Merge pull request #178 from AlexandreMagueresse/master
Updated tutorial for transient PDEs
2 parents 2e29dd1 + ce2a2ad commit 7fcfd7f

12 files changed

Lines changed: 396 additions & 252 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
${{ runner.os }}-test-
125125
${{ runner.os }}-
126126
- uses: julia-actions/julia-buildpkg@v1
127-
- run: cd test/; julia --project=.. --color=yes --check-bounds=yes runtests.jl isotropic_damage.jl validation_DrWatson.jl interpolation_fe.jl poisson_transient.jl TopOptEMFocus.jl
127+
- run: cd test/; julia --project=.. --color=yes --check-bounds=yes runtests.jl isotropic_damage.jl validation_DrWatson.jl interpolation_fe.jl transient_linear.jl transient_nonlinear.jl TopOptEMFocus.jl
128128
tutorials_mpi:
129129
name: TutorialsMPI ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
130130
runs-on: ${{ matrix.os }}

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
3333
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
3434

3535
[compat]
36-
Gridap = "=0.17.19"
37-
GridapDistributed = "=0.3"
36+
Gridap = "0.18"
37+
GridapDistributed = "0.4"
3838
GridapGmsh = "=0.7"
3939
GridapP4est = "=0.3"
4040
GridapPETSc = "=0.5"
-2.51 MB
Binary file not shown.

assets/transient_linear/result.gif

4.51 MB
Loading
3.94 MB
Loading

deps/build.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ files = [
2121
"On using DrWatson.jl"=>"validation_DrWatson.jl",
2222
"Interpolation of CellFields"=>"interpolation_fe.jl",
2323
"Poisson equation on parallel distributed-memory computers"=>"poisson_distributed.jl",
24-
"Transient Poisson equation"=>"poisson_transient.jl",
24+
"Transient Poisson equation"=>"transient_linear.jl",
25+
"Transient nonlinear equation"=>"transient_nonlinear.jl",
2526
"Topology optimization"=>"TopOptEMFocus.jl",
2627
"Unfitted Poisson"=>"unfitted_poisson.jl"]
2728

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ nbviwer_logo = "https://img.shields.io/badge/show-nbviewer-579ACA.svg"
3232
for (i,(title,filename)) in enumerate(Tutorials.files)
3333
# Generate strings
3434
tutorial_prefix = string("t",@sprintf "%03d_" i)
35-
tutorial_title = string("# # Tutorial ", i, ": ", title)
35+
tutorial_id = replace(filename, " " => "_")
36+
tutorial_title = string("# # [Tutorial ", i, ": ", title, "](@id ", tutorial_id, ")")
3637
tutorial_file = string(tutorial_prefix,splitext(filename)[1])
3738
notebook_filename = string(tutorial_file, ".ipynb")
3839
binder_url = joinpath("@__BINDER_ROOT_URL__","notebooks", notebook_filename)

src/TopOptEMFocus.jl

Lines changed: 126 additions & 127 deletions
Large diffs are not rendered by default.

src/interpolation_fe.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ writevtk(get_triangulation(gₕ), "target", cellfields=["gₕ"=>gₕ])
145145
# functions in Raviart-Thomas spaces are vector-valued. The degrees of
146146
# freedom of the RT spaces are fluxes of the function across the edge
147147
# of the element. Refer to the
148-
# [tutorial](https://gridap.github.io/Tutorials/dev/pages/t007_darcy/)
148+
# [tutorial](@ref darcy.jl)
149149
# on Darcy equation with RT for more information on the RT
150150
# elements.
151151

src/poisson_transient.jl

Lines changed: 0 additions & 119 deletions
This file was deleted.

0 commit comments

Comments
 (0)