CoreNEURON
newton_struct.h
Go to the documentation of this file.
1
/*
2
# =============================================================================
3
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
4
#
5
# See top-level LICENSE file for details.
6
# =============================================================================
7
*/
8
#pragma once
9
#include "
coreneuron/mechanism/mech/mod2c_core_thread.hpp
"
10
11
namespace
coreneuron
{
12
13
/* avoid incessant alloc/free memory */
14
struct
NewtonSpace
{
15
int
n
;
16
int
n_instance
;
17
double
*
delta_x
;
18
double
**
jacobian
;
19
int
*
perm
;
20
double
*
high_value
;
21
double
*
low_value
;
22
double
*
rowmax
;
23
};
24
25
void
nrn_newtonspace_copyto_device
(
NewtonSpace
* ns);
26
void
nrn_newtonspace_delete_from_device
(
NewtonSpace
* ns);
27
28
}
// namespace coreneuron
coreneuron::NewtonSpace::high_value
double * high_value
Definition:
newton_struct.h:20
coreneuron::NewtonSpace::perm
int * perm
Definition:
newton_struct.h:19
coreneuron::NewtonSpace
Definition:
newton_struct.h:14
coreneuron::NewtonSpace::delta_x
double * delta_x
Definition:
newton_struct.h:17
coreneuron::NewtonSpace::jacobian
double ** jacobian
Definition:
newton_struct.h:18
coreneuron::NewtonSpace::n_instance
int n_instance
Definition:
newton_struct.h:16
coreneuron
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
Definition:
corenrn_parameters.cpp:12
coreneuron::nrn_newtonspace_delete_from_device
void nrn_newtonspace_delete_from_device(NewtonSpace *ns)
Definition:
nrn_acc_manager.cpp:1290
mod2c_core_thread.hpp
coreneuron::nrn_newtonspace_copyto_device
void nrn_newtonspace_copyto_device(NewtonSpace *ns)
Definition:
nrn_acc_manager.cpp:1248
coreneuron::NewtonSpace::low_value
double * low_value
Definition:
newton_struct.h:21
coreneuron::NewtonSpace::rowmax
double * rowmax
Definition:
newton_struct.h:22
coreneuron::NewtonSpace::n
int n
Definition:
newton_struct.h:15
coreneuron
sim
scopmath
newton_struct.h