Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
1cb54d29
Commit
1cb54d29
authored
7 years ago
by
Ben Cumming
Committed by
kabicm
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lif_cell_description.hpp
+4
-0
4 additions, 0 deletions
src/lif_cell_description.hpp
src/lif_cell_group.hpp
+2
-0
2 additions, 0 deletions
src/lif_cell_group.hpp
with
6 additions
and
0 deletions
src/lif_cell_description.hpp
+
4
−
0
View file @
1cb54d29
#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
This diff is collapsed.
Click to expand it.
src/lif_cell_group.hpp
+
2
−
0
View file @
1cb54d29
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment