From 4e248eb2db8b403340c6e0a2d7d502b119d11541 Mon Sep 17 00:00:00 2001 From: zjwegert <60646897+zjwegert@users.noreply.github.com> Date: Wed, 15 May 2024 15:23:32 +1000 Subject: [PATCH] Bug fix in test --- test/mpi/PZMultiFieldRepeatingStateTests.jl | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/test/mpi/PZMultiFieldRepeatingStateTests.jl b/test/mpi/PZMultiFieldRepeatingStateTests.jl index 2ebf4c37..dbe6f25d 100644 --- a/test/mpi/PZMultiFieldRepeatingStateTests.jl +++ b/test/mpi/PZMultiFieldRepeatingStateTests.jl @@ -7,7 +7,7 @@ using Gridap, GridapDistributed, GridapPETSc, GridapSolvers, using Gridap.TensorValues, Gridap.Helpers, Gridap.MultiField ## Parameters -function main(distribute,mesh_partition;AD,use_mfs=false) +function main(distribute,mesh_partition;AD) ranks = distribute(LinearIndices((prod(mesh_partition),))) el_size = (10,10) order = 1 @@ -39,14 +39,8 @@ function main(distribute,mesh_partition;AD,use_mfs=false) U = TrialFESpace(V,VectorValue(0.0,0.0)) Q = TestFESpace(model,reffe_scalar;conformity=:H1,dirichlet_tags=["origin"]) P = TrialFESpace(Q,0) - if use_mfs - mfs = BlockMultiFieldStyle() - UP = MultiFieldFESpace([U,P];style=mfs) - VQ = MultiFieldFESpace([V,Q];style=mfs) - else - UP = MultiFieldFESpace([U,P]) - VQ = MultiFieldFESpace([V,Q]) - end + UP = MultiFieldFESpace([U,P]) + VQ = MultiFieldFESpace([V,Q]) V_φ = TestFESpace(model,reffe_scalar) V_reg = TestFESpace(model,reffe_scalar) @@ -195,8 +189,6 @@ end with_mpi() do distribute @test main(distribute,(2,2);AD=true) @test main(distribute,(2,2);AD=false) - @test main(distribute,(2,2);AD=true,use_mfs=true) - @test main(distribute,(2,2);AD=false,use_mfs=true) end end # module \ No newline at end of file