Skip to content
Snippets Groups Projects
Commit 1cb54d29 authored by Ben Cumming's avatar Ben Cumming Committed by kabicm
Browse files

put arb_cell_description in arb namespace (#445)

Added cell description to the Arbor namespace.
parent 2d4bd154
No related branches found
No related tags found
No related merge requests found
#pragma once #pragma once
namespace arb {
// Model parameteres of leaky integrate and fire neuron model. // Model parameteres of leaky integrate and fire neuron model.
struct lif_cell_description { struct lif_cell_description {
// Neuronal parameters. // Neuronal parameters.
...@@ -11,3 +13,5 @@ struct lif_cell_description { ...@@ -11,3 +13,5 @@ struct lif_cell_description {
double V_reset = E_L; // Reset potential [mV]. double V_reset = E_L; // Reset potential [mV].
double t_ref = 2; // Refractory period [ms]. double t_ref = 2; // Refractory period [ms].
}; };
} // namespace arb
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <vector> #include <vector>
namespace arb { namespace arb {
class lif_cell_group: public cell_group { class lif_cell_group: public cell_group {
public: public:
using value_type = double; using value_type = double;
...@@ -50,4 +51,5 @@ private: ...@@ -50,4 +51,5 @@ private:
// Time when the cell was last updated. // Time when the cell was last updated.
std::vector<time_type> last_time_updated_; std::vector<time_type> last_time_updated_;
}; };
} // namespace arb } // namespace arb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment