Skip to content

Commit 15ffc55

Browse files
authored
Merge pull request #320 from gridap/add_missing_multifield_sparsematrixassemblerconstructor
Added missing SparseMatrixAssembler constructor for MultiFieldFESpaces
2 parents e9321cc + 4131bad commit 15ffc55

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [0.13.0] - Unreleased
88

99
### Added
10-
10+
- Added missing SparseMatrixAssembler constructor for MultiFieldFESpaces. Since PR [#320](https://github.com/gridap/Gridap.jl/pull/320/).
1111
- kw-argument `space` to `LagrangianRefFE` constructor in order to select the type of underlying polynomial space, i.e., `:Q`, `:S`, or `:P`. Since PR [#321](https://github.com/gridap/Gridap.jl/pull/321).
1212

1313
### Changed

src/MultiField/MultiFieldSparseMatrixAssemblers.jl

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ struct MultiFieldSparseMatrixAssembler{M,V} <: SparseMatrixAssembler
1212
strategy::AssemblyStrategy
1313
end
1414

15+
function SparseMatrixAssembler(
16+
matrix_type::Type{<:AbstractSparseMatrix},
17+
vector_type::Type{<:AbstractVector},
18+
test::MultiFieldFESpace,
19+
trial::MultiFieldFESpace,
20+
strategy::AssemblyStrategy)
21+
MultiFieldSparseMatrixAssembler(matrix_type,vector_type,test,trial,strategy)
22+
end
23+
1524
function SparseMatrixAssembler(
1625
matrix_type::Type{<:AbstractSparseMatrix},
1726
vector_type::Type{<:AbstractVector},

0 commit comments

Comments
 (0)