Skip to content

Commit

Permalink
change some kwarg values
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Aug 13, 2024
1 parent 55d3a00 commit 74427f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ext/AMDGPU/2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function JR2D.PTThermalCoeffs(
di::NTuple,
li::NTuple;
ϵ=1e-8,
CFL=0.9 / 2,
CFL=0.9 / 3,
)
return PTThermalCoeffs(rheology, args, dt, ni, di, li; ϵ=ϵ, CFL=CFL)
end
Expand Down
4 changes: 2 additions & 2 deletions src/ext/CUDA/2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function JR2D.PhaseRatio(::Type{CUDABackend}, ni, num_phases)
end

function JR2D.PTThermalCoeffs(
::Type{CUDABackend}, K, ρCp, dt, di::NTuple, li::NTuple; ϵ=1e-8, CFL=0.9 / 2
::Type{CUDABackend}, K, ρCp, dt, di::NTuple, li::NTuple; ϵ=1e-8, CFL=0.9 / 3
)
return PTThermalCoeffs(K, ρCp, dt, di, li; ϵ=ϵ, CFL=CFL)
end
Expand Down Expand Up @@ -79,7 +79,7 @@ function JR2D.PTThermalCoeffs(
di::NTuple,
li::NTuple;
ϵ=1e-8,
CFL=0.9 / 2,
CFL=0.9 / 3,
)
return PTThermalCoeffs(rheology, args, dt, ni, di, li; ϵ=ϵ, CFL=CFL)
end
Expand Down

0 comments on commit 74427f8

Please sign in to comment.