Skip to content

Commit b596a9a

Browse files
authored
Merge pull request #110 from gridap/polytopal
Gridap 0.19
2 parents e3613f9 + 4183970 commit b596a9a

File tree

3 files changed

+31
-22
lines changed

3 files changed

+31
-22
lines changed

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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+
## [0.9.7] - 2025-6-11
8+
9+
### Added
10+
11+
- Added support for Gridap v0.19. Since PR[#110](https://github.com/gridap/GridapEmbedded.jl/pull/110).
12+
713
## [0.9.6] - 2025-04-19
814

915
### Added

Project.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,7 @@
1-
authors = ["Francesc Verdugo <[email protected]>", "Eric Neiva <[email protected]>", "Pere Antoni Martorell <[email protected]>", "Santiago Badia <[email protected]>"]
21
name = "GridapEmbedded"
32
uuid = "8838a6a3-0006-4405-b874-385995508d5d"
4-
version = "0.9.6"
5-
6-
[compat]
7-
AbstractTrees = "0.3.3, 0.4"
8-
Algoim = "0.2.2"
9-
Combinatorics = "1"
10-
CxxWrap = "0.16"
11-
FillArrays = "0.10, 0.11, 0.12, 0.13, 1"
12-
FiniteDiff = "2.27.0"
13-
ForwardDiff = "0.10.38, 1"
14-
Graphs = "1.12.0"
15-
Gridap = "0.18.12"
16-
GridapDistributed = "0.3, 0.4"
17-
MPI = "0.20"
18-
MiniQhull = "0.1.0, 0.2, 0.3, 0.4"
19-
PartitionedArrays = "0.3.4"
20-
julia = "1.3"
3+
authors = ["Francesc Verdugo <[email protected]>", "Eric Neiva <[email protected]>", "Pere Antoni Martorell <[email protected]>", "Santiago Badia <[email protected]>"]
4+
version = "0.9.7"
215

226
[deps]
237
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
@@ -37,6 +21,22 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
3721
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3822
algoimWrapper_jll = "3c43aa7b-5398-51f3-8d75-8f051e6faa4d"
3923

24+
[compat]
25+
AbstractTrees = "0.3.3, 0.4"
26+
Algoim = "0.2.2"
27+
Combinatorics = "1"
28+
CxxWrap = "0.16"
29+
FillArrays = "0.10, 0.11, 0.12, 0.13, 1"
30+
FiniteDiff = "2.27.0"
31+
ForwardDiff = "0.10.38, 1"
32+
Graphs = "1.12.0"
33+
Gridap = "0.18.12, 0.19"
34+
GridapDistributed = "0.3, 0.4"
35+
MPI = "0.20"
36+
MiniQhull = "0.1.0, 0.2, 0.3, 0.4"
37+
PartitionedArrays = "0.3.4"
38+
julia = "1.3"
39+
4040
[extras]
4141
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
4242
MPIPreferences = "3da0fdf6-3ccc-4f1b-acd9-58baa6c99267"

src/Interfaces/EmbeddedFacetDiscretizations.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,15 @@ end
215215

216216
function _restrict_boundary_triangulation(model,facets,bgfacet_to_mask)
217217
facet_to_bgfacet = facets.glue.face_to_bgface
218-
facet_to_mask = lazy_map(Reindex(bgfacet_to_mask),facet_to_bgfacet)
218+
219219
n_bgfacets = length(bgfacet_to_mask)
220-
bgfacet_to_mask2 = fill(false,n_bgfacets)
221-
bgfacet_to_mask2[facet_to_bgfacet] .= facet_to_mask
220+
new_bgfacet_to_mask = fill(false,n_bgfacets)
221+
new_bgfacet_to_mask[facet_to_bgfacet] .= view(bgfacet_to_mask,facet_to_bgfacet)
222222

223-
BoundaryTriangulation(model,bgfacet_to_mask2,facets.glue.bgface_to_lcell)
223+
new_bgfacet_to_lcell = fill(Int8(1),n_bgfacets)
224+
new_bgfacet_to_lcell[facet_to_bgfacet] .= facets.glue.face_to_lcell
225+
226+
BoundaryTriangulation(model,new_bgfacet_to_mask,new_bgfacet_to_lcell)
224227
end
225228

226229
function compute_bgfacet_to_inoutcut(cut::EmbeddedFacetDiscretization,geo::CSG.Geometry)

0 commit comments

Comments
 (0)