Skip to content

Commit 4ddb09a

Browse files
authored
Merge pull request #62 from gridap/ode-refactor
Update compats to include Gridap 0.18
2 parents bcd4ca5 + e216fb7 commit 4ddb09a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1717
[compat]
1818
ArgParse = "1"
1919
FillArrays = "0.8.4, 0.9, 0.10, 0.11, 0.12, 1"
20-
Gridap = "0.17.22"
20+
Gridap = "0.17.22, 0.18"
21+
GridapDistributed = "0.3.1, 0.4"
2122
MPI = "0.20"
2223
P4est_wrapper = "0.2.2"
2324
PartitionedArrays = "0.3.3"

src/FESpaces.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,9 +1133,10 @@ function _add_constraints(model::OctreeDistributedDiscreteModel{Dc},
11331133
map(partition(gids)) do indices
11341134
@debug "[$(part_id(indices))]: l2g_cell_gids=$(local_to_global(indices))"
11351135
@debug "[$(part_id(indices))]: l2o_owner=$(local_to_owner(indices))"
1136-
end
1136+
end
1137+
trian = GridapDistributed.DistributedTriangulation(map(get_triangulation,spaces_w_constraints),model)
11371138
vector_type = GridapDistributed._find_vector_type(spaces_w_constraints,gids)
1138-
GridapDistributed.DistributedSingleFieldFESpace(spaces_w_constraints,gids,vector_type)
1139+
GridapDistributed.DistributedSingleFieldFESpace(spaces_w_constraints,gids,trian,vector_type)
11391140
end
11401141

11411142
# Generates a new DistributedSingleFieldFESpace composed

0 commit comments

Comments
 (0)