Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
TurTLE
TurTLE
Commits
1ce23567
Commit
1ce23567
authored
May 19, 2021
by
Berenger Bramas
Browse files
Forgot to let the original test :)
parent
56191869
Pipeline
#101784
failed with stages
in 21 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cpp/particles/p2p/p2p_distr_mpi.hpp
View file @
1ce23567
...
...
@@ -231,7 +231,9 @@ public:
const
long
double
field_section_width_z
=
spatial_box_width
[
IDXC_Z
]
/
(
long
double
)(
field_grid_dim
[
IDXC_Z
]);
const
long
int
limite
=
static_cast
<
long
int
>
((
field_section_width_z
*
(
long
double
)(
partition_interval_offset_per_proc
[
dest_proc
+
1
])
-
std
::
numeric_limits
<
long
double
>::
epsilon
())
/
cutoff_radius
);
if
(
limite
==
nb_cell_levels
[
IDXC_Z
]){
if
(
static_cast
<
long
double
>
(
limite
)
*
cutoff_radius
==
field_section_width_z
*
(
long
double
)(
partition_interval_offset_per_proc
[
dest_proc
+
1
])
||
limite
==
nb_cell_levels
[
IDXC_Z
]){
return
limite
-
1
;
}
return
limite
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment