Skip to content

Commit 90fd338

Browse files
committed
Merge branch 'master' of github.com:gridap/GridapDistributed.jl into issue_177
2 parents 95f1176 + aa71c9c commit 90fd338

14 files changed

Lines changed: 961 additions & 558 deletions

.github/workflows/ci.yml

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
- pull_request
55
jobs:
66
SequentialTests:
7-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
7+
name: Serial Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
fail-fast: false
@@ -16,30 +16,23 @@ jobs:
1616
arch:
1717
- x64
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020
- uses: julia-actions/setup-julia@v2
2121
with:
2222
version: ${{ matrix.version }}
2323
arch: ${{ matrix.arch }}
24-
- uses: actions/cache@v4
25-
env:
26-
cache-name: cache-artifacts
27-
with:
28-
path: ~/.julia/artifacts
29-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
30-
restore-keys: |
31-
${{ runner.os }}-test-${{ env.cache-name }}-
32-
${{ runner.os }}-test-
33-
${{ runner.os }}-
24+
- uses: julia-actions/cache@v2
3425
- uses: julia-actions/julia-buildpkg@v1
3526
- run: julia --project=. -e 'using Pkg; Pkg.instantiate()'
3627
- run: julia --project=. --color=yes --check-bounds=yes test/sequential/runtests.jl
3728
- uses: julia-actions/julia-processcoverage@v1
3829
- uses: codecov/codecov-action@v5
3930
with:
40-
file: lcov.info
31+
verbose: true
32+
token: ${{ secrets.CODECOV_TOKEN }}
33+
flags: sequential
4134
MPITests:
42-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
35+
name: MPI Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
4336
runs-on: ${{ matrix.os }}
4437
strategy:
4538
fail-fast: false
@@ -51,22 +44,12 @@ jobs:
5144
arch:
5245
- x64
5346
steps:
54-
- uses: actions/checkout@v4
55-
- uses: actions/cache@v4
56-
env:
57-
cache-name: cache-artifacts
58-
with:
59-
path: ~/.julia/artifacts
60-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
61-
restore-keys: |
62-
${{ runner.os }}-test-${{ env.cache-name }}-
63-
${{ runner.os }}-test-
64-
${{ runner.os }}-
47+
- uses: actions/checkout@v5
48+
- uses: julia-actions/cache@v2
6549
- uses: julia-actions/setup-julia@v2
6650
with:
6751
version: ${{ matrix.version }}
6852
arch: ${{ matrix.arch }}
69-
#- uses: julia-actions/julia-buildpkg@v1
7053
- run: |
7154
julia --project=test/TestApp/ -e '
7255
using Pkg
@@ -77,12 +60,14 @@ jobs:
7760
- uses: julia-actions/julia-processcoverage@v1
7861
- uses: codecov/codecov-action@v5
7962
with:
80-
file: lcov.info
63+
verbose: true
64+
token: ${{ secrets.CODECOV_TOKEN }}
65+
flags: mpi
8166
docs:
8267
name: Documentation
8368
runs-on: ubuntu-latest
8469
steps:
85-
- uses: actions/checkout@v4
70+
- uses: actions/checkout@v5
8671
- uses: julia-actions/setup-julia@v2
8772
with:
8873
version: '1.10'
@@ -91,11 +76,6 @@ jobs:
9176
using Pkg
9277
Pkg.develop(PackageSpec(path=pwd()))
9378
Pkg.instantiate()'
94-
# - run: |
95-
# julia --project=docs -e '
96-
# using Documenter: doctest
97-
# using Gridap
98-
# doctest(Gridap)'
9979
- run: julia --project=docs docs/make.jl
10080
env:
10181
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

NEWS.md

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,53 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added support for multiple ghost layers on cartesian models. Since PR[#182](https://github.com/gridap/GridapDistributed.jl/pull/182).
13+
1014
### Fixed
1115

1216
- Fixed issue [#177](https://github.com/gridap/GridapDistributed.jl/issues/177) and [#170](https://github.com/gridap/GridapDistributed.jl/issues/170). Since PR[#180](https://github.com/gridap/GridapDistributed.jl/pull/180).
17+
- Fixed issue where calling `Boundary(with_ghost, dmodel)` would return the local processor boundaries (which include the faces at the interface between processors) instead of returning the local part of the global boundary. Since PR[#180](https://github.com/gridap/GridapDistributed.jl/pull/180).
18+
19+
## [0.4.9] - 2025-08-08
20+
21+
### Added
22+
23+
- Added a new framework for redistributing dofs, which is more efficient and flexible than the previous one. Since PR[#179](https://github.com/gridap/GridapDistributed.jl/pull/179).
24+
25+
### Fixed
26+
27+
- Fixed bug when redistributing periodic cartesian models. Since PR[#179](https://github.com/gridap/GridapDistributed.jl/pull/179).
1328

14-
## [0.4.8] 2025-06-11
29+
## [0.4.8] - 2025-06-11
1530

1631
### Added
1732

1833
- Added support for Gridap v0.19, with distributed counterparts for the new feaures introduced. This includes support for polytopal meshes, polytopal methods and patch assembly. Since PR[#175](https://github.com/gridap/GridapDistributed.jl/pull/175).
1934
- Added `MacroDiscreteModel`, which gives a global numbering and classification of the interfaces between processors. Since PR[#175](https://github.com/gridap/GridapDistributed.jl/pull/175).
2035

21-
## [0.4.7] 2025-03-04
36+
## [0.4.7] - 2025-03-04
2237

2338
### Added
2439

2540
- Extended support for automatic differentiation to multi-field spaces and skeleton triangulations. Since PR[#169](https://github.com/gridap/GridapDistributed.jl/pull/169).
2641

27-
## [0.4.6] 2024-12-03
42+
## [0.4.6] - 2024-12-03
2843

2944
### Added
3045

3146
- Added support for automatic differentiation with ForwardDiff. Since PR[#167](https://github.com/gridap/GridapDistributed.jl/pull/167).
3247
- Added ConstantFESpaces. Since PR[#166](https://github.com/gridap/GridapDistributed.jl/pull/166).
3348

34-
## [0.4.5] 2024-10-08
49+
## [0.4.5] - 2024-10-08
3550

3651
### Fixed
3752

3853
- Fixed bug in `num_cells` in the case where a `DistributedTriangulation` contained ghost cells. Since PR[#160](https://github.com/gridap/GridapDistributed.jl/pull/160).
3954
- Fixed bug in writevtk when dealing with empty processors. Since PR[#158](https://github.com/gridap/GridapDistributed.jl/pull/158).
4055

41-
## [0.4.4] 2024-08-14
56+
## [0.4.4] - 2024-08-14
4257

4358
### Added
4459

@@ -49,7 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4964

5065
- Fixed distributed interpolators for Vector-Valued FESpaces. Since PR[#152](https://github.com/gridap/GridapDistributed.jl/pull/152).
5166

52-
## [0.4.3] 2024-07-18
67+
## [0.4.3] - 2024-07-18
5368

5469
### Added
5570

@@ -59,27 +74,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5974

6075
- Added DiracDelta in distributed setting. Since PR[#133](https://github.com/gridap/GridapDistributed.jl/pull/133).
6176

62-
## [0.4.2] 2024-07-4
77+
## [0.4.2] - 2024-07-4
6378

6479
### Added
6580

6681
- Added uniform anisotropic refinement of distributed cartesian meshes. Since PR[#148](https://github.com/gridap/GridapDistributed.jl/pull/148).
6782

68-
## [0.4.1] 2024-06-25
83+
## [0.4.1] - 2024-06-25
6984

7085
### Fixed
7186

7287
- Fixed bug in block-assembly whenever owners of touched dofs were not present in the local portion of the FESpace. Since PR[#147](https://github.com/gridap/GridapDistributed.jl/pull/147).
7388

74-
## [0.4.0] 2024-04-12
89+
## [0.4.0] - 2024-04-12
7590

7691
### Changed
7792

7893
- `DistributedCellField` now inherits from `CellField`. To accomodate the necessary API, we now save a pointer to the `DistributedTriangulation` where it is defined. This also requires `DistributedSingleFieldFESpace` to save the triangulation. Since PR[#141](https://github.com/gridap/GridapDistributed.jl/pull/141).
7994
- All the distributed `Multifield` cellfield types are now represented by a `DistributedMultiFieldCellField`. Both `DistributedMultiFieldFEFunction` and `DistributedMultiFieldFEBasis` structs have been removed and replaced with constant aliases, which makes it more consistent with single-field types. Since PR[#141](https://github.com/gridap/GridapDistributed.jl/pull/141).
8095
- Major refactor of ODE module. Implementation has been significantly simplified, while increasing the capability of the API. All `TransientDistributedObjects` structs have been removed, and replaced by `DistributedTransientObjects = DistributedObjects{TransientObject}`. Full support for EX/IM/IMEX methods. See Gridap's release for details. Since PR[#141](https://github.com/gridap/GridapDistributed.jl/pull/141).
8196

82-
## [0.3.6] 2024-01-28
97+
## [0.3.6] - 2024-01-28
8398

8499
### Added
85100

Project.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name = "GridapDistributed"
22
uuid = "f9701e48-63b3-45aa-9a63-9bc6c271f355"
33
authors = ["S. Badia <santiago.badia@monash.edu>", "A. F. Martin <alberto.f.martin@anu.edu.au>", "F. Verdugo <f.verdugo.rojano@vu.nl>"]
4-
version = "0.4.8"
4+
version = "0.4.9"
55

66
[deps]
77
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"
8+
CircularArrays = "7a955b69-7140-5f4e-a0ed-f168c5e2e749"
89
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
910
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
1011
Gridap = "56d4f2e9-7ea1-5844-9cf6-b9c51ca7ce8e"
@@ -17,9 +18,10 @@ WriteVTK = "64499a7a-5c06-52f2-abe2-ccb03c286192"
1718

1819
[compat]
1920
BlockArrays = "1"
21+
CircularArrays = "1.4.0"
2022
FillArrays = "1"
2123
ForwardDiff = "0.10, 1"
22-
Gridap = "0.19.1"
24+
Gridap = "0.19.4"
2325
LinearAlgebra = "1"
2426
MPI = "0.16, 0.17, 0.18, 0.19, 0.20"
2527
PartitionedArrays = "0.3.3"

docs/src/Adaptivity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
```@autodocs
44
Modules = [GridapDistributed]
5-
Pages = ["Adaptivity.jl"]
5+
Pages = ["Adaptivity.jl","Redistribution.jl"]
66
```

0 commit comments

Comments
 (0)