![]() |
NEURON
|
#include <../../nrnconf.h>#include <stdio.h>#include <assert.h>#include <string.h>#include "grids.h"#include "rxd.h"#include <nrnwrap_Python.h>#include <unistd.h>#include <cmath>Go to the source code of this file.
Functions | |
| void | set_hybrid_data (int64_t *num_1d_indices_per_grid, int64_t *num_3d_indices_per_grid, int64_t *hybrid_indices1d, int64_t *hybrid_indices3d, int64_t *num_3d_indices_per_1d_seg, int64_t *hybrid_grid_ids, double *rates, double *volumes1d, double *volumes3d, double *dxs) |
| static int | solve_dd_tridiag (int N, const double *l_diag, const double *diag, const double *u_diag, double *b, double *c) |
| void | ics_find_deltas (long start, long stop, long node_start, double *delta, long *line_defs, long *ordered_nodes, double *states, double dc, double *alphas) |
| void | ics_find_deltas (long start, long stop, long node_start, double *delta, long *line_defs, long *ordered_nodes, double *states, double *dc, double *alphas) |
| static void * | do_ics_deltas (void *dataptr) |
| void | run_threaded_deltas (ICS_Grid_node *g, ICSAdiDirection *ics_adi_dir) |
| void | ics_dg_adi_x_inhom (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double, double *states, double *RHS, double *scratchpad, double *u_diag, double *diag, double *l_diag) |
| void | ics_dg_adi_y_inhom (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double, double *states, double *RHS, double *scratchpad, double *u_diag, double *diag, double *l_diag) |
| void | ics_dg_adi_z_inhom (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double, double *states, double *RHS, double *scratchpad, double *u_diag, double *diag, double *l_diag) |
| void | ics_dg_adi_x (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double, double *states, double *RHS, double *scratchpad, double *u_diag, double *diag, double *l_diag) |
| void | ics_dg_adi_y (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double, double *states, double *RHS, double *scratchpad, double *u_diag, double *diag, double *l_diag) |
| void | ics_dg_adi_z (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double, double *states, double *RHS, double *scratchpad, double *u_diag, double *diag, double *l_diag) |
| void * | do_ics_dg_adi (void *dataptr) |
| static double | flux (const double alphai, const double alphaj, const double statei, const double statej) |
| static void | variable_step_delta (long start, long stop, long node_start, double *ydot, long *line_defs, long *ordered_nodes, double const *const states, double r, double *alphas) |
| static void | variable_step_delta (long start, long stop, long node_start, double *ydot, long *line_defs, long *ordered_nodes, double const *const states, double r, double *dcs, double *alphas) |
| void | _ics_rhs_variable_step_helper (ICS_Grid_node *g, double const *const states, double *ydot) |
| static void | variable_step_x (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double *states, double *CVodeRHS, double *RHS, double *scratchpad, double *alphas, double *dcs, double dt) |
| static void | variable_step_y (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double *states, double *RHS, double *scratchpad, double *alphas, double *dcs, double dt) |
| static void | variable_step_z (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double *states, double *RHS, double *scratchpad, double *alphas, double *dcs, double dt) |
| static void | variable_step_x (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double *states, double *CVodeRHS, double *RHS, double *scratchpad, double *alphas, double dt) |
| static void | variable_step_y (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double *states, double *RHS, double *scratchpad, double *alphas, double dt) |
| static void | variable_step_z (ICS_Grid_node *g, int line_start, int line_stop, int node_start, double *states, double *RHS, double *scratchpad, double *alphas, double dt) |
| void | ics_ode_solve_helper (ICS_Grid_node *g, double dt, double *CVodeRHS) |
| void | _ics_hybrid_helper (ICS_Grid_node *g) |
| void | _ics_variable_hybrid_helper (ICS_Grid_node *g, const double *cvode_states_3d, double *const ydot_3d, const double *cvode_states_1d, double *const ydot_1d) |
Variables | |
| int | NUM_THREADS |
| TaskQueue * | AllTasks |
| double * | states |
| const int | ICS_PREFETCH = 3 |
| void _ics_hybrid_helper | ( | ICS_Grid_node * | g | ) |
Definition at line 1361 of file rxd_intracellular.cpp.
| void _ics_rhs_variable_step_helper | ( | ICS_Grid_node * | g, |
| double const *const | states, | ||
| double * | ydot | ||
| ) |
Definition at line 800 of file rxd_intracellular.cpp.
| void _ics_variable_hybrid_helper | ( | ICS_Grid_node * | g, |
| const double * | cvode_states_3d, | ||
| double *const | ydot_3d, | ||
| const double * | cvode_states_1d, | ||
| double *const | ydot_1d | ||
| ) |
Definition at line 1416 of file rxd_intracellular.cpp.
Definition at line 211 of file rxd_intracellular.cpp.
Definition at line 642 of file rxd_intracellular.cpp.
|
inlinestatic |
Definition at line 677 of file rxd_intracellular.cpp.
| void ics_dg_adi_x | ( | ICS_Grid_node * | g, |
| int | line_start, | ||
| int | line_stop, | ||
| int | node_start, | ||
| double | , | ||
| double * | states, | ||
| double * | RHS, | ||
| double * | scratchpad, | ||
| double * | u_diag, | ||
| double * | diag, | ||
| double * | l_diag | ||
| ) |
Definition at line 450 of file rxd_intracellular.cpp.
| void ics_dg_adi_x_inhom | ( | ICS_Grid_node * | g, |
| int | line_start, | ||
| int | line_stop, | ||
| int | node_start, | ||
| double | , | ||
| double * | states, | ||
| double * | RHS, | ||
| double * | scratchpad, | ||
| double * | u_diag, | ||
| double * | diag, | ||
| double * | l_diag | ||
| ) |
Definition at line 253 of file rxd_intracellular.cpp.
| void ics_dg_adi_y | ( | ICS_Grid_node * | g, |
| int | line_start, | ||
| int | line_stop, | ||
| int | node_start, | ||
| double | , | ||
| double * | states, | ||
| double * | RHS, | ||
| double * | scratchpad, | ||
| double * | u_diag, | ||
| double * | diag, | ||
| double * | l_diag | ||
| ) |
Definition at line 518 of file rxd_intracellular.cpp.
| void ics_dg_adi_y_inhom | ( | ICS_Grid_node * | g, |
| int | line_start, | ||
| int | line_stop, | ||
| int | node_start, | ||
| double | , | ||
| double * | states, | ||
| double * | RHS, | ||
| double * | scratchpad, | ||
| double * | u_diag, | ||
| double * | diag, | ||
| double * | l_diag | ||
| ) |
Definition at line 325 of file rxd_intracellular.cpp.
| void ics_dg_adi_z | ( | ICS_Grid_node * | g, |
| int | line_start, | ||
| int | line_stop, | ||
| int | node_start, | ||
| double | , | ||
| double * | states, | ||
| double * | RHS, | ||
| double * | scratchpad, | ||
| double * | u_diag, | ||
| double * | diag, | ||
| double * | l_diag | ||
| ) |
Definition at line 581 of file rxd_intracellular.cpp.
| void ics_dg_adi_z_inhom | ( | ICS_Grid_node * | g, |
| int | line_start, | ||
| int | line_stop, | ||
| int | node_start, | ||
| double | , | ||
| double * | states, | ||
| double * | RHS, | ||
| double * | scratchpad, | ||
| double * | u_diag, | ||
| double * | diag, | ||
| double * | l_diag | ||
| ) |
Definition at line 388 of file rxd_intracellular.cpp.
| void ics_find_deltas | ( | long | start, |
| long | stop, | ||
| long | node_start, | ||
| double * | delta, | ||
| long * | line_defs, | ||
| long * | ordered_nodes, | ||
| double * | states, | ||
| double | dc, | ||
| double * | alphas | ||
| ) |
Definition at line 110 of file rxd_intracellular.cpp.
| void ics_find_deltas | ( | long | start, |
| long | stop, | ||
| long | node_start, | ||
| double * | delta, | ||
| long * | line_defs, | ||
| long * | ordered_nodes, | ||
| double * | states, | ||
| double * | dc, | ||
| double * | alphas | ||
| ) |
Definition at line 161 of file rxd_intracellular.cpp.
| void ics_ode_solve_helper | ( | ICS_Grid_node * | g, |
| double | dt, | ||
| double * | CVodeRHS | ||
| ) |
Definition at line 1276 of file rxd_intracellular.cpp.
| void run_threaded_deltas | ( | ICS_Grid_node * | g, |
| ICSAdiDirection * | ics_adi_dir | ||
| ) |
Definition at line 233 of file rxd_intracellular.cpp.
| void set_hybrid_data | ( | int64_t * | num_1d_indices_per_grid, |
| int64_t * | num_3d_indices_per_grid, | ||
| int64_t * | hybrid_indices1d, | ||
| int64_t * | hybrid_indices3d, | ||
| int64_t * | num_3d_indices_per_1d_seg, | ||
| int64_t * | hybrid_grid_ids, | ||
| double * | rates, | ||
| double * | volumes1d, | ||
| double * | volumes3d, | ||
| double * | dxs | ||
| ) |
Definition at line 20 of file rxd_intracellular.cpp.
|
static |
Definition at line 85 of file rxd_intracellular.cpp.
|
static |
Definition at line 684 of file rxd_intracellular.cpp.
|
static |
Definition at line 740 of file rxd_intracellular.cpp.
|
static |
Definition at line 865 of file rxd_intracellular.cpp.
|
static |
Definition at line 1067 of file rxd_intracellular.cpp.
|
static |
Definition at line 935 of file rxd_intracellular.cpp.
|
static |
Definition at line 1139 of file rxd_intracellular.cpp.
|
static |
Definition at line 1001 of file rxd_intracellular.cpp.
|
static |
Definition at line 1208 of file rxd_intracellular.cpp.
| const int ICS_PREFETCH = 3 |
Definition at line 15 of file rxd_intracellular.cpp.