SiReNe Simulation Software  1.0
RandGenerConnect.c File Reference

Pseudo-random connectivity generator and post-synaptic neurons update. More...

#include <math.h>
#include <stdlib.h>
#include "Sirene.h"
#include "SynapticCurrent.h"
Include dependency graph for RandGenerConnect.c:

Functions

void RandomConnections (Simul *Simulation, int ModelNum, int NeuronNum, double SpikeTime)
 Generation of pseudo-random post-synaptic connections of neuron NeuronNum in model ModelNum. More...
 

Function Documentation

◆ RandomConnections()

void RandomConnections ( Simul Simulation,
int  ModelNum,
int  NeuronNum,
double  SpikeTime 
)

The SynapticSpike function is used to update the synaptic current of the post-synaptic neurons.

Parameters
SimulationStructure where all simulation information is stored
ModelNumNeural model number
NeuronNumNeuron number
SpikeTimeSpike time

References Simul::Chrono_RandGenConn, Neuron::GlobalNumNeuron, InitPRNG(), INPUT_CALL, Simul::NeuralModels, NeuralModel::Neurons, Simul::NumberNeuralModels, SynapseModel::NumberOfConnections, NeuralModel::NumberOfNeurons, SynapseModel::NumberOfParameters, RETURN_CALL, Simul::SynapseModels, SynapticSpike(), Simul::Time_RandGenConn, and ValPRNGi().

Referenced by InitSimu(), and main().