add em color
[sddekit.git] / sk_net.h
blob5503b191f1f8f9abf435758ec4fd970f4d93d4a9
1 /* Apache 2.0 INS-AMU 2015 */
3 #ifndef SK_NET_H
4 #define SK_NET_H
6 #include "sk_solv.h"
8 /* sk_net provides a sk_sys which adapts another sk_sys into a network.
10 * In TVB we have just a model & pre/post coupling functions, but post can be
11 * folded into model as expression of afferent, and pre folded in as expression
12 * pushed into efferent, so c array becomes in/out.
16 /* TODO extend to heterogeneous node model */
17 struct sk_net_data {
18 sk_sys node_sys;
19 int nnz;
20 double *nzw;
21 void *node_data;
24 SK_DEFSYS(sk_net_sys);
26 #endif