Skip to content

Commit 529c764

Browse files
committed
Updating RefFE constructor in PDiscRefFE
1 parent 4dda769 commit 529c764

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/RefFEs/PDiscRefFEs.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function PDiscRefFE(
3030
extrusion_tet = fill(TET_AXIS,D)
3131
polytope_tet = Polytope(extrusion_tet...)
3232

33-
reffe_tet = LagrangianRefFE{D,T}(polytope_tet,order)
33+
reffe_tet = LagrangianRefFE(T,polytope_tet,order)
3434

3535
# We assign all DOFs to the interior of the cell.
3636
# It is not possible to construct continuous spaces

test/FESpacesTests/runtests.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ using Test
1010

1111
@testset "DLagrangianFESpaces" begin include("DLagrangianFESpacesTests.jl") end
1212

13-
# @testset "DiscFESpaces" begin include("DiscFESpacesTests.jl") end
13+
@testset "DiscFESpaces" begin include("DiscFESpacesTests.jl") end
1414

1515
@testset "ConstrainedFESpaces" begin include("ConstrainedFESpacesTests.jl") end
1616

test/RefFEsTests/PDiscRefFEsTests.jl

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ using Gridap
66
D = 2
77
order = 1
88

9-
# reffe = PDiscRefFE(Float64,D,order)
9+
reffe = PDiscRefFE(Float64,D,order)
1010

11-
# @test reffe.nfacedofs[end] == [1,2,3]
11+
@test reffe.nfacedofs[end] == [1,2,3]
1212

13-
# dofbasis(reffe)
14-
# polytope(reffe)
15-
# shfbasis(reffe)
16-
# nfacedofs(reffe)
13+
dofbasis(reffe)
14+
polytope(reffe)
15+
shfbasis(reffe)
16+
nfacedofs(reffe)
1717

1818
end # module

0 commit comments

Comments
 (0)