![]() |
NEURON
|
#include "coreneuron/sim/scopmath/errcodes.h"
#include "coreneuron/sim/scopmath/newton_struct.h"
#include "coreneuron/sim/scopmath/crout_thread.hpp"
#include <algorithm>
#include <cmath>
Go to the source code of this file.
Namespaces | |
coreneuron | |
THIS FILE IS AUTO GENERATED DONT MODIFY IT. | |
coreneuron::detail | |
Macros | |
#define | scopmath_newton_ix(arg) CNRN_FLAT_INDEX_IML_ROW(arg) |
#define | scopmath_newton_s(arg) _p[CNRN_FLAT_INDEX_IML_ROW(s[arg])] |
#define | scopmath_newton_x(arg) _p[CNRN_FLAT_INDEX_IML_ROW(arg)] |
Functions | |
template<typename F > | |
void | coreneuron::detail::nrn_buildjacobian_thread (NewtonSpace *ns, int n, int *index, F const &func, double *value, double **jacobian, _threadargsproto_) |
Calculate the Jacobian matrix using finite central differences. More... | |
template<typename F > | |
int | coreneuron::nrn_newton_thread (NewtonSpace *ns, int n, int *s, F func, double *value, _threadargsproto_) |
Iteratively solves simultaneous nonlinear equations by Newton's method, using a Jacobian matrix computed by finite differences. More... | |
NewtonSpace * | coreneuron::nrn_cons_newtonspace (int n, int n_instance) |
void | coreneuron::nrn_destroy_newtonspace (NewtonSpace *ns) |
#define scopmath_newton_ix | ( | arg | ) | CNRN_FLAT_INDEX_IML_ROW(arg) |
Definition at line 24 of file newton_thread.hpp.
#define scopmath_newton_s | ( | arg | ) | _p[CNRN_FLAT_INDEX_IML_ROW(s[arg])] |
Definition at line 25 of file newton_thread.hpp.
#define scopmath_newton_x | ( | arg | ) | _p[CNRN_FLAT_INDEX_IML_ROW(arg)] |
Definition at line 26 of file newton_thread.hpp.