Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TurTLE
TurTLE
Commits
dc24de0c
Commit
dc24de0c
authored
May 01, 2020
by
Cristian Lalescu
Browse files
Merge branch 'bugfix/p2p_cylinder_collisions' into develop
parents
82f06978
0764ee9a
Pipeline
#74168
passed with stage
in 8 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cpp/particles/p2p_distr_mpi.hpp
View file @
dc24de0c
...
...
@@ -279,7 +279,7 @@ public:
real_number
particles_positions
[],
std
::
unique_ptr
<
real_number
[]
>
particles_current_rhs
[],
const
int
nb_rhs
,
partsize_t
inout_index_particles
[]){
TIMEZONE
(
"compute_distr"
);
TIMEZONE
(
"
p2p_distr_mpi::
compute_distr"
);
// Some processes might not be involved
if
(
nb_processes_involved
<=
my_rank
){
...
...
@@ -558,8 +558,8 @@ public:
lock_free_bool_array
cells_locker
(
512
);
std
::
vector
<
std
::
unique_ptr
<
computer_class
>>
computer_for_all_threads
(
omp_get_
num
_threads
()
-
1
);
for
(
int
idxThread
=
1
;
idxThread
<
omp_get_
num
_threads
()
;
++
idxThread
){
std
::
vector
<
std
::
unique_ptr
<
computer_class
>>
computer_for_all_threads
(
omp_get_
max
_threads
()
-
1
);
for
(
int
idxThread
=
1
;
idxThread
<
omp_get_
max
_threads
()
;
++
idxThread
){
computer_for_all_threads
[
idxThread
-
1
].
reset
(
new
computer_class
(
in_computer
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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