Skip to content

Commit c1e0e6a

Browse files
authored
Merge pull request #404 from gridap/fe_space_with_dof_potentially_removed
Fe space with dof potentially removed (pending changes from PR #396)
2 parents 5faa6e0 + bcaead3 commit c1e0e6a

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

NEWS.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## Unreleased
7+
## [0.14.1]
88

99
### Added
10-
- Added VectorWithEntryInserted and VectorWithEntryRemoved. Since PR [#401](https://github.com/gridap/Gridap.jl/pull/401/)
10+
- Added VectorWithEntryInserted and VectorWithEntryRemoved. Since PR [#401](https://github.com/gridap/Gridap.jl/pull/401/).
11+
12+
### Deprecated
13+
- The name FESpaceWithLastDofRemoved has been deprecated in favor of its generalization FESpaceWithConstantFixed. Since PR [#396](https://github.com/gridap/Gridap.jl/pull/396) and PR [#404](https://github.com/gridap/Gridap.jl/pull/404).
1114

1215
## [0.14.0] - 2020-08-27
1316

src/FESpaces/FESpaces.jl

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ export collect_cell_jacobian_and_residual
205205
export collect_cell_residual
206206

207207
export FESpaceWithConstantFixed
208+
export FESpaceWithLastDofRemoved
208209

209210
export ZeroMeanFESpace
210211
export CLagrangianFESpace

src/FESpaces/FESpacesWithConstantFixed.jl

+7
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ struct FESpaceWithConstantFixed{CS,CA<:ConstantApproach} <: SingleFieldFESpace
3030
end
3131
end
3232

33+
34+
const FESpaceWithLastDofRemoved{CS} = FESpaceWithConstantFixed{CS,FixConstant}
35+
36+
@deprecate(FESpaceWithLastDofRemoved(space::SingleFieldFESpace),
37+
FESpaceWithConstantFixed(space,true))
38+
39+
3340
# Genuine functions
3441
function num_free_dofs(f::FESpaceWithConstantFixed{CS,FixConstant}) where {CS}
3542
num_free_dofs(f.space)-1

0 commit comments

Comments
 (0)