Skip to content

Commit 329059c

Browse files
committed
[DEV] Change default tolerance for relativistic-termination.
1 parent d7d91d5 commit 329059c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/callbacks.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Default fraction is 0.002, which is 1022 eV for an electron.
8787
struct RelativisticConditionGCA
8888
fractionofrestenergy::Real
8989

90-
function RelativisticConditionGCA(mass, fraction=0.002)
90+
function RelativisticConditionGCA(mass, fraction=0.02)
9191
return new(fraction * mass * csqrd)
9292
end
9393
end

src/reduction_functions.jl

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function print_batch_statistics(batch)
2929
println("Number of maxiters: $(sum(batch.retcode .== :maxiters))")
3030
println("Number of OutofDomain: $(sum(batch.retmsg .== "OutofDomain"))")
3131
println("Number of GCABreakDown: $(sum(batch.retmsg .== "GCABreakDown"))")
32+
println("Number of Relativistic: $(sum(batch.retmsg .== "Relativistic"))")
3233
println("=================================================================",
3334
"===============")
3435
end

0 commit comments

Comments
 (0)