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
Sten Delos
Gadget4
Commits
d2ba21e6
Commit
d2ba21e6
authored
Mar 02, 2021
by
Volker Springel
Browse files
fixed a compilation problem if LIGHTCONE_PARTICLES_GROUPS was used without SUBFIND_HBT
parent
9315b1db
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/subfind/subfind_density.cc
View file @
d2ba21e6
...
...
@@ -151,7 +151,7 @@ class subdens_comm : public generic_comm<subdens_in, subdens_out, T_tree, T_doma
{
int
p
,
type
;
double
mass
,
r2
;
particle_
data
*
P
;
typename
T_partset
::
p
data
*
P
;
if
(
no
<
Tree
->
MaxPart
)
/* single particle */
{
...
...
src/subfind/subfind_findlinkngb.cc
View file @
d2ba21e6
...
...
@@ -122,7 +122,7 @@ class nearest_comm : public generic_comm<nearest_in, nearest_out, T_tree, T_doma
{
if
(
no
<
Tree
->
MaxPart
)
/* single particle */
{
particle_data
*
P
=
Tree
->
get_Pp
(
no
,
shmrank
);
auto
*
P
=
Tree
->
get_Pp
(
no
,
shmrank
);
no
=
Tree
->
get_nextnodep
(
shmrank
)[
no
];
/* note: here shmrank cannot change */
...
...
src/subfind/subfind_nearesttwo.cc
View file @
d2ba21e6
...
...
@@ -189,7 +189,7 @@ class sngb_comm : public generic_comm<sngb_in, sngb_out, T_tree, T_domain, T_par
{
if
(
no
<
Tree
->
MaxPart
)
/* single particle */
{
particle_data
*
P
=
Tree
->
get_Pp
(
no
,
shmrank
);
auto
*
P
=
Tree
->
get_Pp
(
no
,
shmrank
);
subfind_data
*
PS
=
Tree
->
get_PSp
(
no
,
shmrank
);
no
=
Tree
->
get_nextnodep
(
shmrank
)[
no
];
/* note: here shmrank cannot change */
...
...
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