46 #include <Xyce_config.h>
48 #include <N_UTL_Misc.h>
58 #include <N_ERH_ErrorMgr.h>
62 #include <N_LAS_Vector.h>
63 #include <N_LAS_Matrix.h>
212 :
DeviceInstance(IB, configuration.getInstanceParameters(), factory_block),
235 fallRateGiven(false),
445 bool bsuccess =
true;
458 const std::vector<int> & extLIDVecRef)
463 #ifdef Xyce_DEBUG_DEVICE
466 Xyce::dout() << std::endl << section_divider << std::endl;
467 Xyce::dout() <<
" Instance::registerLIDs" << std::endl;
468 Xyce::dout() <<
" name = " <<
getName() << std::endl;
482 Xyce::dout() <<
" li_V = " <<
li_V << std::endl
483 <<
" li_U = " <<
li_U << std::endl;
488 #ifdef Xyce_DEBUG_DEVICE
491 Xyce::dout() << section_divider << std::endl;
595 bool bsuccess =
true;
602 double vVal = (*solVectorPtr)[
li_V];
603 double uVal = (*solVectorPtr)[
li_U];
647 Xyce::dout() <<
"In resetting section uPeak + d = " << (
uPeak+
d*
uscale) <<
" u - (uP +d) = " << (uVal - (
uPeak +
d*
uscale)) << std::endl;
748 bool bsuccess =
true;
765 bool bsuccess =
true;
787 bool bsuccess =
true;
831 bool bsuccess =
true;
857 bool bsuccess =
true;
880 bool bsuccess =
true;
912 :
DeviceModel(MB, configuration.getModelParameters(), factory_block),
981 std::vector<Instance*>::iterator iter;
985 for (iter=first; iter!=last; ++iter)
1017 std::vector<Instance*>::iterator iter;
1021 for (iter=first; iter!=last; ++iter)
1023 (*iter)->processParams();
1038 std::vector<Instance*>::const_iterator iter;
1046 os <<
"Number of Neuron instances: " << isize << std::endl;
1047 os <<
" name=\t\tmodelName\tParameters" << std::endl;
1048 for (i=0, iter=first; iter!=last; ++iter, ++i)
1050 os <<
" " << i <<
": " << (*iter)->getName() <<
"\t";
1075 for (std::vector<Instance *>::const_iterator it = instanceContainer.begin(); it != instanceContainer.end(); ++it)
1089 .registerDevice(
"neuron", 8)
1090 .registerModelType(
"neuron", 8);