8 #ifndef MOMENTUMLCALAYER_HPP_ 9 #define MOMENTUMLCALAYER_HPP_ 11 #include "HyPerLCALayer.hpp" 22 int initialize(
const char *name,
HyPerCol *hc);
23 virtual Response::Status allocateDataStructures()
override;
32 virtual void ioParam_LCAMomentumRate(
enum ParamsIOFlag ioFlag);
36 virtual Response::Status registerData(
Checkpointer *checkpointer)
override;
37 virtual Response::Status processCheckpointRead()
override;
38 virtual Response::Status prepareCheckpointWrite()
override;
40 virtual Response::Status updateState(
double time,
double dt)
override;
43 virtual Response::Status updateStateGpu(
double time,
double dt)
override;
44 virtual int allocateUpdateKernel()
override;
47 float LCAMomentumRate;
50 PVCuda::CudaBuffer *d_prevDrive;
54 int initialize_base();
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override