/************************************************************************************
Flag MODELTYPE to decide if Type I or Type C model to be loaded and createNewSyn.hoc
& createNewSyn2.hoc set syn wt correspondly;
0: Type I Model
1: Type C Model
2: Passive Model
*************************************************************************************/
printf("regular & synchronous input. frequency = %d \n", freq)

for i=0, totSyn-1 {  //totSyn is the total # of synapses
	Ens[i].start=0 //Ens: the reference to the NetStim
	Ens[i].number=1000000000000000000000000000000
	Ens[i].noise=0
}

intv = 1000/freq
for i=0, totSyn-1 {
	Ens[i].interval = intv //set each syn. wt
}
run()