Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Nov 15, 2024
1 parent 70df1fd commit 065f6a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Applications/expansion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ function expansion_mesh(::Val{:gridap_SG},mesh::Dict,ranks,params)
end
setup_expansion_mesh_tags!(base_model)
model = Meshers.generate_refined_mesh(ranks,base_model,num_refs)
if hashey(mesh,:simplexify) && mesh[:simplexify]
if haskey(mesh,:simplexify) && mesh[:simplexify]
model = simplexify(model)
end
params[:model] = model
Expand All @@ -311,7 +311,7 @@ function expansion_mesh(::Val{:p4est_SG},mesh::Dict,ranks,params)
end
setup_expansion_mesh_tags!(base_model)
model = Meshers.generate_p4est_refined_mesh(ranks,base_model,num_refs)
if hashey(mesh,:simplexify) && mesh[:simplexify]
if haskey(mesh,:simplexify) && mesh[:simplexify]
model = simplexify(model)
end
params[:model] = model
Expand Down

0 comments on commit 065f6a7

Please sign in to comment.