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
Open sidebar
Volker Springel
Gadget4
Commits
0920896b
Commit
0920896b
authored
Oct 07, 2020
by
Volker Springel
Browse files
cleaned-up obsolete TODOs
parent
18986850
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/run.cc
View file @
0920896b
...
...
@@ -36,11 +36,6 @@
#include
"../sort/parallel_sort.h"
#include
"../system/system.h"
/* TODO:
* - modify restart code to still support continuation of run beyond a new MaxTime from restart files.
* - consolidate global variables into ones that need to be kept across a restart, and ones that don't.
*/
/*!
* Main driver routine for advancing the simulation forward in time.
* The loop terminates when the cpu-time limit is reached, when a `stop' file
...
...
src/mpi_utils/myalltoall.cc
View file @
0920896b
...
...
@@ -145,7 +145,6 @@ void myMPI_Alltoallv_new(void *sendbuf, int *sendcnt, int *sdispls, MPI_Datatype
int
*
disp_at_sender
=
(
int
*
)
Mem
.
mymalloc
(
"disp_at_sender"
,
nranks
*
sizeof
(
int
));
disp_at_sender
[
rank
]
=
sdispls
[
rank
];
MPI_Win
win
;
// TODO:supply info object with "no_lock"
MPI_Win_create
(
sdispls
,
nranks
*
sizeof
(
MPI_INT
),
sizeof
(
MPI_INT
),
MPI_INFO_NULL
,
comm
,
&
win
);
MPI_Win_fence
(
0
,
win
);
for
(
int
i
=
1
;
i
<
nranks
;
++
i
)
...
...
src/ngenic/power.cc
View file @
0920896b
...
...
@@ -220,7 +220,7 @@ double ngenic::ngenic_tk_eh(double k) /* from Martin White */
omegam
=
All
.
Omega0
;
ombh2
=
All
.
OmegaBaryon
*
All
.
HubbleParam
*
All
.
HubbleParam
;
if
(
All
.
OmegaBaryon
==
0
)
// TODO AB: remove this???
if
(
All
.
OmegaBaryon
==
0
)
ombh2
=
0.04
*
All
.
HubbleParam
*
All
.
HubbleParam
;
k
*=
(
3.085678e24
/
All
.
UnitLength_in_cm
);
/* convert to h/Mpc */
...
...
Write
Preview
Supports
Markdown
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