CoreNEURON
node_permute.h
Go to the documentation of this file.
1 /*
2 # =============================================================================
3 # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
4 #
5 # See top-level LICENSE file for details.
6 # =============================================================================
7 */
8 
9 #pragma once
10 
12 
13 namespace coreneuron {
14 // determine ml->_permute and permute the ml->nodeindices accordingly
15 void permute_nodeindices(Memb_list* ml, int* permute);
16 
17 // vec values >= 0 updated according to permutation
18 void node_permute(int* vec, int n, int* permute);
19 
20 // moves values to new location but does not change those values
21 void permute_ptr(int* vec, int n, int* permute);
22 
23 void permute_data(double* vec, int n, int* permute);
24 void permute_ml(Memb_list* ml, int type, NrnThread& nt);
25 int nrn_index_permute(int, int type, Memb_list* ml);
26 
27 int* inverse_permute(int* p, int n);
28 
29 int type_of_ntdata(NrnThread&, int index, bool reset);
30 } // namespace coreneuron
coreneuron::type_of_ntdata
int type_of_ntdata(NrnThread &nt, int i, bool reset)
Definition: node_permute.cpp:186
coreneuron::permute_data
void permute_data(double *vec, int n, int *p)
Definition: node_permute.cpp:349
coreneuron
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
Definition: corenrn_parameters.cpp:12
coreneuron::nrn_index_permute
int nrn_index_permute(int ix, int type, Memb_list *ml)
Definition: node_permute.cpp:363
coreneuron::permute_ptr
void permute_ptr(int *vec, int n, int *p)
Definition: node_permute.cpp:345
coreneuron::node_permute
void node_permute(int *vec, int n, int *permute)
Definition: node_permute.cpp:337
coreneuron::permute_ml
void permute_ml(Memb_list *ml, int type, NrnThread &nt)
Definition: node_permute.cpp:353
coreneuron::inverse_permute
int * inverse_permute(int *p, int n)
Definition: node_permute.cpp:131
multicore.hpp
coreneuron::permute_nodeindices
void permute_nodeindices(Memb_list *ml, int *p)
Definition: node_permute.cpp:431
coreneuron::permute
static int permute(int i, NrnThread &nt)
Definition: prcellstate.cpp:28