Skip to content

Commit 38df5d9

Browse files
authored
Merge pull request #102 from gridap/warning-fix
Fixed compilation warning
2 parents 8d675f5 + 67af119 commit 38df5d9

4 files changed

Lines changed: 62 additions & 3 deletions

File tree

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.6.2] - 2026-03-08
9+
10+
### Fixed
11+
12+
- Fixed compilation warning for `num_fields`. Since PR[#102](https://github.com/gridap/GridapSolvers.jl/pull/102).
13+
814
## [0.6.1] - 2025-07-25
915

1016
### Added

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "GridapSolvers"
22
uuid = "6d3209ee-5e3c-4db7-a716-942eb12ed534"
33
authors = ["Santiago Badia <santiago.badia@monash.edu>", "Jordi Manyer <jordi.manyer@monash.edu>", "Alberto F. Martin <alberto.f.martin@anu.edu.au>", "Javier Principe <principe@cimne.upc.edu>"]
4-
version = "0.6.1"
4+
version = "0.6.2"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
@@ -35,7 +35,7 @@ AbstractTrees = "0.4"
3535
BlockArrays = "1"
3636
FillArrays = "1"
3737
Gridap = "0.19"
38-
GridapDistributed = "0.4"
38+
GridapDistributed = "0.4.11"
3939
GridapP4est = "0.3"
4040
GridapPETSc = "0.5"
4141
IterativeSolvers = "0.9"

docs/src/changelog.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.7.0] - 2025-08-30
9+
10+
### Breaking
11+
12+
- Complete rework of patch-based smoothers. Since PR[#94](https://github.com/gridap/GridapSolvers.jl/pull/94/files). List of breaking changes:
13+
- All the patch machinery has been removed (`PatchDecomposition`, `PatchFESpace`, `PatchTriangulation`, etc...) in favour of the new Gridap patch machinery (since Gridap v0.19).
14+
- The old `PatchBasedLinearSolver` has been renamed to `PatchSolver` and now uses the new patch machinery. The constructors are similar but should be simpler and more flexible/robust. This still integrates the blocks on demand.
15+
- The old `VankaSolver` has been renamed to `BlockJacobiSolver` and has been extended to distributed. It it now an alternative to `PatchSolver` where the local problems are extracted directly from the matrix instead of re-computing the local problems (and are equivalent if the patched weakform coincides with the original problem).
16+
17+
### Added
18+
19+
- `GMGLinearSolver` now supports F- and W-cycles on top of the existing V-cycle. The iteration type can be now chosen through the `cycle_type` kwarg. Since PR[#94](https://github.com/gridap/GridapSolvers.jl/pull/94/files).
20+
21+
## [0.6.1] - 2025-07-25
22+
23+
### Added
24+
25+
- Added support for the `HPDDM` library, with a new solver `HPDDMLinearSolver`. Since PR[#95](https://github.com/gridap/GridapSolvers.jl/pull/95).
26+
27+
## [0.6.0] - 2025-06-13
28+
29+
### Added
30+
31+
- Added support for Gridap v0.19. Since PR[#92](https://github.com/gridap/GridapSolvers.jl/pull/92).
32+
- Added a new extension for `Pardiso.jl`. Since PR[#92](https://github.com/gridap/GridapSolvers.jl/pull/92).
33+
34+
### Changed
35+
36+
- **BREAKING:** Removed the `ModelHierarchy` from the `GMGLinearSolver` constructors. This should allow more flexibility for the GMG solver (for instance, to create a P-GMG). Since PR[#92](https://github.com/gridap/GridapSolvers.jl/pull/92).
37+
38+
## [0.5.0] - 2025-04-29
39+
40+
### Added
41+
42+
- Added support for GMG in serial. Since PR[#68](https://github.com/gridap/GridapSolvers.jl/pull/68).
43+
- Added Vanka-like smoothers in serial. Since PR[#68](https://github.com/gridap/GridapSolvers.jl/pull/68).
44+
- Added `StaggeredFEOperators` and `StaggeredFESolvers`. Since PR[#84](https://github.com/gridap/GridapSolvers.jl/pull/84).
45+
- Added `RichardsonLinearSolver`. Since PR[#87](https://github.com/gridap/GridapSolvers.jl/pull/87).
46+
- Added `NullspaceSolver` for serial. Since PR[#88](https://github.com/gridap/GridapSolvers.jl/pull/88).
47+
48+
### Changed
49+
50+
- **BREAKING:** Moved GridapP4est, GridapPETSc and IterativeSolvers into extensions (i.e weak dependencies). Since PR[#76](https://github.com/gridap/GridapSolvers.jl/pull/76).
51+
52+
## Previous versions
53+
54+
A changelog is not maintained for older versions than 0.4.0.

src/BlockSolvers/StaggeredFEOperators.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ function MultiField.get_block_ranges(::StaggeredFEOperator{NB,SB}) where {NB,SB}
2424
end
2525

2626
# TODO: This is type piracy -> move to GridapDistributed
27-
MultiField.num_fields(space::DistributedFESpace) = 1
2827
MultiField.split_fespace(space::DistributedMultiFieldFESpace) = [space...]
2928

3029
function get_solution(op::StaggeredFEOperator{NB,SB}, xh::MultiFieldFEFunction, k) where {NB,SB}

0 commit comments

Comments
 (0)