You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ghost_margin_cubes > subdomain_cubes / I::two(){
145
+
if ghost_margin_cubes > subdomain_cubes {
146
146
panic!(
147
-
"The ghost margin is {ghost_margin_cubes} cubes wide (rounded up), while the subdomain only has an extent of {subdomain_cubes} cubes. The subdomain has to have at least twice the number of cubes ({})!",
148
-
ghost_margin_cubes.times(2)
147
+
"The ghost margin is {ghost_margin_cubes} cubes wide (rounded up), while the subdomain only has an extent of {subdomain_cubes} cubes. The subdomain has to have at least the same number of cubes ({})!",
148
+
ghost_margin_cubes
149
149
);
150
150
}
151
151
}
@@ -1494,7 +1494,7 @@ pub(crate) mod subdomain_classification {
1494
1494
1495
1495
/// Classifier that assign a particle to its owning subdomain and all subdomains where it's a ghost particle
0 commit comments