Permalink
Newer
Older
100644 40 lines (37 sloc) 1.79 KB
Apr 24, 2014 @miscco Cleanup. Made comments line save
1 /*
Nov 9, 2015 @miscco Updated the code with correct license.
2 * Copyright (c) 2015 University of Lübeck
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
6 * in the Software without restriction, including without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 * THE SOFTWARE.
21 *
22 * AUTHORS: Michael Schellenberger Costa: mschellenbergercosta@gmail.com
23 */
Apr 24, 2014 @miscco Cleanup. Made comments line save
24
Sep 13, 2016 @miscco Major cleanup and moderinization
25 /******************************************************************************/
26 /* Functions for data storage */
27 /******************************************************************************/
Mar 1, 2014 @miscco New implementation of the thalamo-cortical model
28 #pragma once
Sep 13, 2016 @miscco Major cleanup and moderinization
29 #include <vector>
Mar 1, 2014 @miscco New implementation of the thalamo-cortical model
30 #include "Cortical_Column.h"
Mar 10, 2014 @miscco First modular implementation of the thalamo-cortical model.
31 #include "Thalamic_Column.h"
Mar 1, 2014 @miscco New implementation of the thalamo-cortical model
32
Sep 13, 2016 @miscco Major cleanup and moderinization
33 void get_data(int counter, Cortical_Column& Cortex, Thalamic_Column& Thalamus,
Mar 31, 2017 @miscco Add missing reference to vector of data pointers
34 std::vector<double*>& pData) {
Sep 13, 2016 @miscco Major cleanup and moderinization
35 pData[0][counter] = Cortex.Vp [0];
36 pData[1][counter] = Thalamus.Vt [0];
37 pData[2][counter] = Thalamus.Ca [0];
38 pData[3][counter] = Thalamus.act_h ();
Mar 1, 2014 @miscco New implementation of the thalamo-cortical model
39 }