Skip to content

Commit

Permalink
Adding Gridap.Adaptivity. to adapt
Browse files Browse the repository at this point in the history
  • Loading branch information
amartinhuertas committed Mar 3, 2024
1 parent 8fc1207 commit e62494d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/AdaptivityFlagsMarkingStrategiesTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module AdaptivityFlagsMarkingStrategiesTests
error_indicators;
verbose=true)

model,glue=adapt(dmodel,ref_coarse_flags);
model,glue=Gridap.Adaptivity.adapt(dmodel,ref_coarse_flags);

# Define manufactured functions
u(x) = x[1]+x[2]^order
Expand Down
6 changes: 3 additions & 3 deletions test/DarcyNonConformingOctreeModelsTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module DarcyNonConformingOctreeModelsTests
end
flags
end
fmodel,glue=adapt(dmodel,ref_coarse_flags);
fmodel,glue=Gridap.Adaptivity.adapt(dmodel,ref_coarse_flags);

# Solve coarse
xH,XH=solve_darcy(dmodel,order)
Expand Down Expand Up @@ -120,7 +120,7 @@ module DarcyNonConformingOctreeModelsTests
end
flags
end
fmodel,glue=adapt(dmodel,ref_coarse_flags);
fmodel,glue=Gridap.Adaptivity.adapt(dmodel,ref_coarse_flags);

# Solve coarse
xH,XH=solve_darcy(dmodel,order)
Expand Down Expand Up @@ -262,7 +262,7 @@ module DarcyNonConformingOctreeModelsTests
flags[own_length(indices)]=refine_flag
flags
end
fmodel,glue=adapt(model,ref_coarse_flags)
fmodel,glue=Gridap.Adaptivity.adapt(model,ref_coarse_flags)
xh,Xh = solve_darcy(fmodel,order)
check_error_darcy(fmodel,order,xh)
end
Expand Down

0 comments on commit e62494d

Please sign in to comment.