Skip to content

Commit

Permalink
Merge branch 'distributed' of github.com:gridap/STLCutters.jl into do…
Browse files Browse the repository at this point in the history
…cumentation
  • Loading branch information
pmartorell committed May 6, 2024
2 parents fdefdcf + 18064a8 commit f2055fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ IterativeSolvers = "42fd0dbc-a981-5370-80f2-aaf504508153"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
MeshIO = "7269a6da-0436-5bbc-96c2-40638cbb6118"
MiniQhull = "978d7f02-9e05-4691-894f-ae31a51d76ca"
PartitionedArrays = "5a9dfac6-5c52-46f7-8278-5e2210713be9"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"

Expand All @@ -27,8 +28,9 @@ Gridap = "0.18"
GridapDistributed = "0.3, 0.4"
GridapEmbedded = "0.9.2"
IterativeSolvers = "0.9"
MeshIO = "0.4"
MPI = "0.20"
MeshIO = "0.4"
MiniQhull = "0.4"
PartitionedArrays = "0.3"
ProgressMeter = "1.7"
julia = "1.5"
Expand Down
12 changes: 0 additions & 12 deletions src/Distributed.jl
Original file line number Diff line number Diff line change
Expand Up @@ -557,18 +557,6 @@ function interface_facets(model::DiscreteModel,acells,bcells)
findall(f_to_ab)
end


# PR @ Gridap.jl

using Gridap.Fields
using Gridap.TensorValues
function Base.zero(::Type{<:AffineMap{D1,D2,T}}) where {D1,D2,T}
gradient = TensorValue{D1,D2}(tfill(zero(T),Val{D1*D2}()))
origin = Point{D2,T}(tfill(zero(T),Val{D2}()))
AffineMap(gradient,origin)
end


# PR @ GridapDistributed.jl

function Gridap.ReferenceFEs.simplexify(model::DistributedDiscreteModel{D};kwargs...) where D
Expand Down
2 changes: 1 addition & 1 deletion test/DistributedTests/mpi/runtests_body.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function all_tests(distribute,parts)

DistributedPoissonTests.main(distribute,np=parts,nc=(4,4,4))
DistributedPoissonTests.main(distribute,np=parts,nc=(8,8,8))
DistributedPoissonTests.main(distribute,np=(2,2,2),nc=(8,8,8),geoname="Bunny-LowPoly")
DistributedPoissonTests.main(distribute,np=parts,nc=(8,8,8),geoname="Bunny-LowPoly")
PArrays.toc!(t,"MPIDistributedPoisson")

display(t)
Expand Down

0 comments on commit f2055fd

Please sign in to comment.