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;
511 tmpstr =
getName() +
"_" +
"U" ;
513 Xyce::dout() << tmpstr << std::endl;
599 bool bsuccess =
true;
606 double vVal = (*solVectorPtr)[
li_V];
607 double uVal = (*solVectorPtr)[
li_U];
651 Xyce::dout() <<
"In resetting section uPeak + d = " << (
uPeak+
d*
uscale) <<
" u - (uP +d) = " << (uVal - (
uPeak +
d*
uscale)) << std::endl;
752 bool bsuccess =
true;
769 bool bsuccess =
true;
791 bool bsuccess =
true;
835 bool bsuccess =
true;
861 bool bsuccess =
true;
884 bool bsuccess =
true;
916 :
DeviceModel(MB, configuration.getModelParameters(), factory_block),
985 std::vector<Instance*>::iterator iter;
989 for (iter=first; iter!=last; ++iter)
1021 std::vector<Instance*>::iterator iter;
1025 for (iter=first; iter!=last; ++iter)
1027 (*iter)->processParams();
1042 std::vector<Instance*>::const_iterator iter;
1050 os <<
"Number of Neuron instances: " << isize << std::endl;
1051 os <<
" name=\t\tmodelName\tParameters" << std::endl;
1052 for (i=0, iter=first; iter!=last; ++iter, ++i)
1054 os <<
" " << i <<
": " << (*iter)->getName() <<
"\t";
1079 for (std::vector<Instance *>::const_iterator it = instanceContainer.begin(); it != instanceContainer.end(); ++it)
1093 .registerDevice(
"neuron", 8)
1094 .registerModelType(
"neuron", 8);