Skip to content

Commit f8d3b69

Browse files
authored
Fix arg-dependent case of BilinearOperatorDG assemble! (#51)
* fixed one case of assembly! of BilinearOperatorDG into matrix * version bump and updated changelog
1 parent ec57ab3 commit f8d3b69

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
# CHANGES
22

3-
## next version
3+
## v1.0.1 April 16, 2025
44

5-
## v1.0.0 April 11, 2025
5+
### Fixed
6+
7+
- assemble! of (args-dependent) BilinearOperatorDG now works
8+
9+
10+
11+
## v1.0.0 April 14, 2025
612

713
### Added
814

915
- new example on coupled Stokes-Darcy (Example264)
1016

11-
### Added
17+
### Changed
1218

1319
- example `Example301` now also demonstrates a nonlinear problem solved by an iterative linear solver
1420
with preconditioning.
1521

16-
### Changed
17-
1822
- `solve` uses now the residual equation for the linear systems
1923
- facelift `Example250`.
2024

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ExtendableFEM"
22
uuid = "a722555e-65e0-4074-a036-ca7ce79a4aed"
33
authors = ["Christian Merdon <[email protected]>", "Patrick Jaap <[email protected]>"]
4-
version = "1.0.0"
4+
version = "1.0.1"
55

66
[deps]
77
CommonSolve = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2"

src/common_operators/bilinear_operator_dg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ function assemble!(A::FEMatrix, O::BilinearOperatorDG{Tv, UT}, sol = nothing; as
10701070
ind_args = O.u_args
10711071
return if length(O.u_args) > 0
10721072
build_assembler!(A.entries, O, [A[j, j] for j in ind_test], [A[j, j] for j in ind_ansatz], [sol[j] for j in ind_args]; kwargs...)
1073-
O.assembler(A.entries, [sol[j] for j in ind_args])
1073+
O.assembler(A.entries, nothing, [sol[j] for j in ind_args])
10741074
else
10751075
build_assembler!(A.entries, O, [A[j, j] for j in ind_test], [A[j, j] for j in ind_ansatz]; kwargs...)
10761076
O.assembler(A.entries, nothing)

0 commit comments

Comments
 (0)