Permalink
Newer
Older
100644 37 lines (34 sloc) 1.69 KB
Apr 24, 2014 @miscco Code cleanups.
1 /*
Feb 1, 2016 @miscco Updated the naming convention and switched to the Random_stream header
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 Code cleanups.
24
Sep 13, 2016 @miscco Major cleanup and code modernization
25 /******************************************************************************/
26 /* Functions for data storage */
27 /******************************************************************************/
Mar 10, 2014 @miscco Code cleanups.
28 #pragma once
Sep 13, 2016 @miscco Major cleanup and code modernization
29 #include <vector>
Apr 18, 2013 @miscco renamed some files, fixed some typos and some descriptions.
30 #include "Thalamic_Column.h"
Apr 29, 2013 @miscco Adapted the different currents as proposed by Zygierewicz2001. The I_T
31
Mar 31, 2017 @miscco Add a missing reference for the vector of data pointers
32 void get_data(unsigned counter, Thalamic_Column& Thalamus, std::vector<double*>& pData) {
Sep 13, 2016 @miscco Major cleanup and code modernization
33 pData[0][counter] = Thalamus.Vt [0];
34 pData[0][counter] = Thalamus.Vr [0];
35 pData[0][counter] = Thalamus.act_h ();
Mar 1, 2014 @miscco Moved RNGs into the population to reduce memory consumption.
36 }