Skip to content

Commit

Permalink
Fixing compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fverdugo committed Apr 20, 2020
1 parent d9d90da commit 5608777
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/Geometry/Geometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ include("DiscreteModels.jl")

include("DiscreteModelPortions.jl")

include("RestrictedDiscreteModels.jl")

include("DiscreteModelMocks.jl")

include("UnstructuredDiscreteModels.jl")
Expand All @@ -260,4 +258,6 @@ include("QPointCellFields.jl")

include("AppendedTriangulations.jl")

include("RestrictedDiscreteModels.jl")

end # module
7 changes: 7 additions & 0 deletions src/Geometry/RestrictedDiscreteModels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@ function BoundaryTriangulation(model::RestrictedDiscreteModel,face_to_mask::Vect
BoundaryTriangulation(oldmodel,oldface_to_mask)
end

function InterfaceTriangulation(model_in::RestrictedDiscreteModel,model_out::RestrictedDiscreteModel)
cells_in = get_cell_to_oldcell(model_in)
cells_out = get_cell_to_oldcell(model_out)
model = get_oldmodel(model_in)
InterfaceTriangulation(model,cells_in,cells_out)
end

7 changes: 0 additions & 7 deletions src/Geometry/SkeletonTriangulations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ function InterfaceTriangulation(model::DiscreteModel,cells_in,cells_out)
InterfaceTriangulation(model,cell_to_inout)
end

function InterfaceTriangulation(model_in::RestrictedDiscreteModel,model_out::RestrictedDiscreteModel)
cells_in = get_cell_to_oldcell(model_in)
cells_out = get_cell_to_oldcell(model_out)
model = get_oldmodel(model_in)
InterfaceTriangulation(model,cells_in,cells_out)
end

function InterfaceTriangulation(model::DiscreteModel,cell_to_inout::AbstractVector{<:Integer})

D = num_cell_dims(model)
Expand Down

0 comments on commit 5608777

Please sign in to comment.