Skip to content

Commit

Permalink
test distributed aggregates
Browse files Browse the repository at this point in the history
  • Loading branch information
pmartorell committed Jul 10, 2024
1 parent 19ad83a commit 6c115b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Downloads = "1.4"
FileIO = "1.6"
FillArrays = "0.11, 0.13, 1"
Gridap = "0.18"
GridapDistributed = "0.3, 0.4"
GridapEmbedded = "0.9.2"
GridapDistributed = "0.4"
GridapEmbedded = "0.9.4"
IterativeSolvers = "0.9"
MPI = "0.20"
MeshIO = "0.4"
Expand Down
5 changes: 4 additions & 1 deletion test/DistributedTests/Poisson.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ function main(distribute;
cutter = STLCutter(;tolfactor)
cutgeo = cut(cutter,bgmodel,geo)

model,cutgeo,aggregates = aggregate(AggregateAllCutCells(),cutgeo)

Ω = Triangulation(cutgeo,PHYSICAL_IN)
Γ = EmbeddedBoundary(cutgeo)
n_Γ = get_normal_vector(Γ)
Expand All @@ -52,7 +54,8 @@ function main(distribute;
# Setup FESpace
order = 1
Ω_act = Triangulation(cutgeo,ACTIVE)
V = TestFESpace(Ω_act,ReferenceFE(lagrangian,Float64,order),conformity=:H1)
Vstd = TestFESpace(Ω_act,ReferenceFE(lagrangian,Float64,order),conformity=:H1)
V = AggFESpace(model,Vstd,aggregates)
U = TrialFESpace(V)

# Weak form
Expand Down

0 comments on commit 6c115b9

Please sign in to comment.