Skip to content

Commit

Permalink
Replace Isaac64 by Random123 (#3188)
Browse files Browse the repository at this point in the history
  • Loading branch information
alkino authored Nov 9, 2024
1 parent a5d0015 commit 625f3d1
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 365 deletions.
1 change: 0 additions & 1 deletion cmake/NeuronFileLists.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ set(STRUCTURED_HEADER_FILES_TO_INSTALL
neuron/model_data_fwd.hpp)
set(HEADER_FILES_TO_INSTALL
gnu/mcran4.h
gnu/nrnisaac.h
gnu/nrnran123.h
nrniv/backtrace_utils.h
nrniv/bbsavestate.h
Expand Down
3 changes: 0 additions & 3 deletions src/gnu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ add_library(
Erlang.cpp
Geom.cpp
HypGeom.cpp
isaac64.cpp
Isaac64RNG.cpp
LogNorm.cpp
MCellRan4RNG.cpp
mcran4.cpp
NegExp.cpp
Normal.cpp
nrnisaac.cpp
nrnran123.cpp
Poisson.cpp
Rand.cpp
Expand Down
20 changes: 0 additions & 20 deletions src/gnu/Isaac64RNG.cpp

This file was deleted.

33 changes: 0 additions & 33 deletions src/gnu/Isaac64RNG.hpp

This file was deleted.

2 changes: 1 addition & 1 deletion src/gnu/Rand.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ struct Object;
* 0: ACG
* 1: unused
* 2: MCellRan4
* 3: Isaac64
* 3: unused
* 4: Random123
*/
class Rand {
Expand Down
145 changes: 0 additions & 145 deletions src/gnu/isaac64.cpp

This file was deleted.

88 changes: 0 additions & 88 deletions src/gnu/isaac64.h

This file was deleted.

25 changes: 0 additions & 25 deletions src/gnu/nrnisaac.cpp

This file was deleted.

9 changes: 0 additions & 9 deletions src/gnu/nrnisaac.h

This file was deleted.

9 changes: 0 additions & 9 deletions src/ivoc/ivocmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,6 @@ extern std::string nrnmpi_load();
void nrnmpi_load_or_exit();
#endif

// some things are defined in libraries earlier than they are used so...
#include <nrnisaac.h>
static void force_load() {
if (always_false) {
nrnisaac_new();
}
}

#ifdef MINGW
// see iv/src/OS/directory.cpp
#include <sys/stat.h>
Expand Down Expand Up @@ -382,7 +374,6 @@ int ivocmain_session(int argc, const char** argv, const char** env, int start_se
// extern char** environ;
int i;
// prargs("at beginning", argc, argv);
force_load();
nrn_global_argc = argc;
// https://en.cppreference.com/w/cpp/language/main_function, note that argv is
// of length argc + 1 and argv[argc] is null.
Expand Down
Loading

0 comments on commit 625f3d1

Please sign in to comment.