Commit 0920896b authored by Volker Springel's avatar Volker Springel
Browse files

cleaned-up obsolete TODOs

parent 18986850
......@@ -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
......
......@@ -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)
......
......@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment