8 #include "BaseInitV.hpp" 9 #include "columns/HyPerCol.hpp" 13 BaseInitV::BaseInitV() { initialize_base(); }
15 BaseInitV::BaseInitV(
char const *name, HyPerCol *hc) {
20 BaseInitV::~BaseInitV() {}
22 int BaseInitV::initialize_base() {
return PV_SUCCESS; }
24 int BaseInitV::initialize(
char const *name, HyPerCol *hc) {
25 return BaseObject::initialize(name, hc);
28 void BaseInitV::setObjectType() {
29 auto *params = parent->parameters();
30 char const *initVTypeString = params->stringValue(name,
"InitVType",
false);
31 mObjectType = initVTypeString ? std::string(initVTypeString) : mDefaultInitV;
36 void BaseInitV::calcV(
float *V,
PVLayerLoc const *loc) {}
38 string const BaseInitV::mDefaultInitV =
"ConstantV";
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override