NEURON
multisend_setup.cpp File Reference
#include "oc_ansi.h"
#include <nrnran123.h>

Go to the source code of this file.

Classes

class  TarList
 

Typedefs

using Int2TarList = std::unordered_map< int, std::unique_ptr< TarList > >
 

Functions

static void del (int *a)
 
static int * newintval (int val, int size)
 
static int * newoffset (int *acnt, int size)
 
static void all2allv_helper (int *scnt, int *sdispl, int *&rcnt, int *&rdispl)
 
static void all2allv_int (int *s, int *scnt, int *sdispl, int *&r, int *&rcnt, int *&rdispl, const char *dmes)
 
static void random_init (int i)
 
static unsigned int get_random ()
 
static int iran (int i1, int i2)
 
static void phase2organize (TarList *tl)
 
static int setup_target_lists (int **)
 
static void fill_multisend_send_lists (int, int *)
 
static void setup_presyn_multisend_lists ()
 

Variables

static nrnran123_Stateranstate
 

Typedef Documentation

◆ Int2TarList

using Int2TarList = std::unordered_map<int, std::unique_ptr<TarList> >

Definition at line 78 of file multisend_setup.cpp.

Function Documentation

◆ all2allv_helper()

static void all2allv_helper ( int *  scnt,
int *  sdispl,
int *&  rcnt,
int *&  rdispl 
)
static

Definition at line 42 of file multisend_setup.cpp.

◆ all2allv_int()

static void all2allv_int ( int *  s,
int *  scnt,
int *  sdispl,
int *&  r,
int *&  rcnt,
int *&  rdispl,
const char *  dmes 
)
static

Definition at line 55 of file multisend_setup.cpp.

◆ del()

static void del ( int *  a)
static

Definition at line 14 of file multisend_setup.cpp.

◆ fill_multisend_send_lists()

static void fill_multisend_send_lists ( int  sz,
int *  r 
)
static

Definition at line 195 of file multisend_setup.cpp.

◆ get_random()

static unsigned int get_random ( )
static

Definition at line 105 of file multisend_setup.cpp.

◆ iran()

static int iran ( int  i1,
int  i2 
)
static

Definition at line 109 of file multisend_setup.cpp.

◆ newintval()

static int* newintval ( int  val,
int  size 
)
static

Definition at line 20 of file multisend_setup.cpp.

◆ newoffset()

static int* newoffset ( int *  acnt,
int  size 
)
static

Definition at line 31 of file multisend_setup.cpp.

◆ phase2organize()

static void phase2organize ( TarList tl)
static

Definition at line 119 of file multisend_setup.cpp.

◆ random_init()

static void random_init ( int  i)
static

Definition at line 99 of file multisend_setup.cpp.

◆ setup_presyn_multisend_lists()

static void setup_presyn_multisend_lists ( )
static

Definition at line 166 of file multisend_setup.cpp.

◆ setup_target_lists()

static int setup_target_lists ( int **  r_return)
static

Definition at line 270 of file multisend_setup.cpp.

Variable Documentation

◆ ranstate

nrnran123_State* ranstate
static

Definition at line 97 of file multisend_setup.cpp.