10 #ifndef BRAINSIMULATION_KERNELS_H 11 #define BRAINSIMULATION_KERNELS_H 59 #endif //BRAINSIMULATION_KERNELS_H int id_kernel_4neighbors(nodeval_t *result, int number_nodes_x, int number_nodes_y, nodeval_t **nodegrid, int x, int y)
Calculates the indirect kernel for one specific node of the node grid, i.e., the indirect neighborhoo...
Definition: kernels.c:54
double nodeval_t
Type that the nodes in the brainsimulation use to store their energy level.
Definition: definitions.h:120
Common definitions (mostly types).
kernelfunc_t d_kernel_function_factory(char *name)
Returns a function pointer to function of the direct neighborhood kernel.
Definition: kernels.c:10
int(* kernelfunc_t)(nodeval_t *, int, int, nodeval_t **, int, int)
Definition of the kernel-function interface.
Definition: definitions.h:190
int d_kernel_4neighbors(nodeval_t *result, int number_nodes_x, int number_nodes_y, nodeval_t **nodegrid, int x, int y)
Calculates the direct kernel for one specific node of the node grid, i.e., the direct neighborhood...
Definition: kernels.c:24
kernelfunc_t id_kernel_function_factory(char *name)
Returns a function pointer to function of the indirect neighborhood kernel.
Definition: kernels.c:17