class CurrentSourceModels::Base

Overview

Base class for all current source models. More…

#include <currentSourceModels.h>

class Base: public Models::Base
{
public:
    // methods

    virtual std::string getInjectionCode() const;
};

// direct descendants

class DC;
class GaussianNoise;

Inherited Members

public:
    // typedefs

    typedef std::vector<std::string> StringVec;
    typedef std::vector<EGP> EGPVec;
    typedef std::vector<ParamVal> ParamValVec;
    typedef std::vector<DerivedParam> DerivedParamVec;
    typedef std::vector<Var> VarVec;

    // structs

    struct DerivedParam;
    struct EGP;
    struct ParamVal;
    struct Var;

    // methods

    virtual ~Base();
    virtual StringVec getParamNames() const;
    virtual DerivedParamVec getDerivedParams() const;
    virtual VarVec getVars() const;
    virtual EGPVec getExtraGlobalParams() const;
    size_t getVarIndex(const std::string& varName) const;
    size_t getExtraGlobalParamIndex(const std::string& paramName) const;

Detailed Documentation

Base class for all current source models.

Methods

virtual std::string getInjectionCode() const

Gets the code that defines current injected each timestep.