20 #ifndef _CODE_LIBS_POPULISTLIB_ABSTRACTODESYSTEM_INCLUDE_GUARD
21 #define _CODE_LIBS_POPULISTLIB_ABSTRACTODESYSTEM_INCLUDE_GUARD
24 #include <boost/shared_ptr.hpp>
127 boost::shared_ptr<AbstractNeuralDynamics>
_p_dyn;
157 #endif // include guard
MPILib::Time CurrentTime() const
MPILib::Index FindBin(Potential) const
Find which bin in the interpretation array contains this potential.
A geometric grid to represent population densities.
void InitializeSingleBin(vector< MPILib::Density > *) const
Contains the parameters necessary to configure a concrete OdeSystem instance. See AbstractOdeSystem a...
const vector< MPILib::Potential > & MassBuffer() const
Const direct access to the array that represents the density mass. Note that this may be confusing...
MPILib::Index IndexResetBin() const
Index of the reset bin relative to the interpretation array, i.e. constant during simulation...
vector< MPILib::Potential > _buffer_interpretation
virtual Potential DCContribution() const
void InitializeGaussian(vector< MPILib::Density > *) const
The configuration of a GeomAlgorithm requires that the neural dynamics is defined somewhere...
MPILib::Index _i_reversal
void NormaliseDensity(vector< MPILib::Density > *) const
vector< MPILib::Potential > & MassBuffer()
Direct access to the array that represents the density mass. Note that this may be confusing...
MPILib::Index InitializeResetBin() const
virtual MPILib::Rate CurrentRate() const =0
Rate due to neural dynamics driving.
vector< MPILib::Index > _map_cache
const OdeParameter & Par() const
Access to the OdeParameter of the system. It is often time-critical, therefore implemented as referen...
const OdeParameter & _par
virtual ~AbstractOdeSystem()=0
pure virtual destructor for base class
const vector< MPILib::Potential > & InterpretationBuffer() const
Const access to the array of bin limits; be aware of the convention that the upper limit of the highe...
MPILib::Index InitializeReversalBin() const
virtual void Evolve(MPILib::Time)=0
Every sub class defines its own evolution. This Evolve function does not relate to neural dynamics: t...
const string _name_namerical
void PrepareReport(double *, double *) const
Represents the current density profile. Both double pointers must point to contiguous memory at least...
MPILib::Time TStep() const
MPILib::Index MapPotentialToProbabilityBin(MPILib::Index i) const
Maintains the current mapping from a probability mass bin to its current poetntial bin in the interpr...
vector< MPILib::Potential > & InterpretationBuffer()
Access to the array of bin limits; be aware of the convention that the upper limit of the highest bin...
boost::shared_ptr< AbstractNeuralDynamics > _p_dyn
MPILib::Number NumberOfBins() const
Number of bins used in the grid representation.
vector< MPILib::Density > _buffer_mass
vector< MPILib::Density > InitializeDensity() const
The objective is find a numerical solution for this equation This requires a numerical representation of the density We will work in the state space of a two dimensional and define a mesh there We first give two examples and then define the general procedure and given in Table for given fixed Delta g see Fig and we will denote coordinates in this dimension by a small letter $v The second dimension can be used to represent parameters as varied as and will represented by $w A strip is constructed by choosing two neighbouring points in state e g and integrating the vector field for a time $T that is assumed to be an integer multiple of a period of time Delta which we assume to be a defining characteristic of the grid Let then the set of points the set of points which is quadrilateral in shape The quadrilateral should be but not necessarily as long as they are but it is convenient to number them in order of creation In the we will assume that strip numbers created by the integration procedure start and are so that the numbers i in each identify a unique strip Strip no is reserved for stationary points There may or more cells in strip The number of cells in strip $i denoted by with $i the strip number and $j the cell as the i
AbstractOdeSystem(const AbstractNeuralDynamics &)
Constructor using neural dynamics object (see AbstractNeuralDynamics and derived classes).
virtual AbstractOdeSystem * Clone() const =0