Skip to content

Commit

Permalink
Merge pull request #62 from gridap/ode-refactor
Browse files Browse the repository at this point in the history
Update compats to include Gridap 0.18
  • Loading branch information
JordiManyer authored Apr 15, 2024
2 parents bcd4ca5 + e216fb7 commit 4ddb09a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[compat]
ArgParse = "1"
FillArrays = "0.8.4, 0.9, 0.10, 0.11, 0.12, 1"
Gridap = "0.17.22"
Gridap = "0.17.22, 0.18"
GridapDistributed = "0.3.1, 0.4"
MPI = "0.20"
P4est_wrapper = "0.2.2"
PartitionedArrays = "0.3.3"
Expand Down
5 changes: 3 additions & 2 deletions src/FESpaces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1133,9 +1133,10 @@ function _add_constraints(model::OctreeDistributedDiscreteModel{Dc},
map(partition(gids)) do indices
@debug "[$(part_id(indices))]: l2g_cell_gids=$(local_to_global(indices))"
@debug "[$(part_id(indices))]: l2o_owner=$(local_to_owner(indices))"
end
end
trian = GridapDistributed.DistributedTriangulation(map(get_triangulation,spaces_w_constraints),model)
vector_type = GridapDistributed._find_vector_type(spaces_w_constraints,gids)
GridapDistributed.DistributedSingleFieldFESpace(spaces_w_constraints,gids,vector_type)
GridapDistributed.DistributedSingleFieldFESpace(spaces_w_constraints,gids,trian,vector_type)
end

# Generates a new DistributedSingleFieldFESpace composed
Expand Down

0 comments on commit 4ddb09a

Please sign in to comment.