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>
211 :
DeviceInstance(IB, configuration.getInstanceParameters(), factory_block),
234 fallRateGiven(false),
444 bool bsuccess =
true;
457 const std::vector<int> & extLIDVecRef)
462 #ifdef Xyce_DEBUG_DEVICE
465 Xyce::dout() << std::endl << section_divider << std::endl;
466 Xyce::dout() <<
" Instance::registerLIDs" << std::endl;
467 Xyce::dout() <<
" name = " <<
getName() << std::endl;
478 #ifdef Xyce_DEBUG_DEVICE
481 Xyce::dout() <<
" li_V = " <<
li_V << std::endl
482 <<
" li_U = " <<
li_U << std::endl;
487 #ifdef Xyce_DEBUG_DEVICE
490 Xyce::dout() << section_divider << std::endl;
594 bool bsuccess =
true;
601 double vVal = (*solVectorPtr)[
li_V];
602 double uVal = (*solVectorPtr)[
li_U];
646 Xyce::dout() <<
"In resetting section uPeak + d = " << (
uPeak+
d*
uscale) <<
" u - (uP +d) = " << (uVal - (
uPeak +
d*
uscale)) << std::endl;
747 bool bsuccess =
true;
764 bool bsuccess =
true;
786 bool bsuccess =
true;
830 bool bsuccess =
true;
856 bool bsuccess =
true;
879 bool bsuccess =
true;
911 :
DeviceModel(MB, configuration.getModelParameters(), factory_block),
980 std::vector<Instance*>::iterator iter;
984 for (iter=first; iter!=last; ++iter)
1016 std::vector<Instance*>::iterator iter;
1020 for (iter=first; iter!=last; ++iter)
1022 (*iter)->processParams();
1037 std::vector<Instance*>::const_iterator iter;
1045 os <<
"Number of Neuron instances: " << isize << std::endl;
1046 os <<
" name=\t\tmodelName\tParameters" << std::endl;
1047 for (i=0, iter=first; iter!=last; ++iter, ++i)
1049 os <<
" " << i <<
": " << (*iter)->getName() <<
"\t";
1074 for (std::vector<Instance *>::const_iterator it = instanceContainer.begin(); it != instanceContainer.end(); ++it)
1088 .registerDevice(
"neuron", 7)
1089 .registerModelType(
"neuron", 7);