#include "nvector.h"
#include "sundialstypes.h"
Go to the source code of this file.
Classes | |
struct | _N_VectorContent_NrnThreadLD |
Defines | |
#define | NV_CONTENT_NT_LD(v) ( (N_VectorContent_NrnThreadLD)(v->content) ) |
#define | NV_LENGTH_NT_LD(v) ( NV_CONTENT_NT_LD(v)->length ) |
#define | NV_NT_NT_LD(v) ( NV_CONTENT_NT_LD(v)->nt ) |
#define | NV_OWN_DATA_NT_LD(v) ( NV_CONTENT_NT_LD(v)->own_data ) |
#define | NV_DATA_NT_LD(v) ( NV_CONTENT_NT_LD(v)->data ) |
#define | NV_SUBVEC_NT_LD(v, i) ( NV_CONTENT_NT_LD(v)->data[i] ) |
#define | NV_Ith_NT_LD(v, i) ( NV_DATA_NT_LD(v)[i] ) |
Typedefs | |
typedef struct _N_VectorContent_NrnThreadLD * | N_VectorContent_NrnThreadLD |
Functions | |
N_Vector | N_VNew_NrnThreadLD (long int vec_length, int nthread, long int *sizes) |
N_Vector | N_VNewEmpty_NrnThreadLD (long int vec_length, int nthread, long int *sizes) |
N_Vector | N_VCloneEmpty_NrnThreadLD (N_Vector w) |
N_Vector | N_VMake_NrnThreadLD (long int vec_length, realtype *v_data) |
N_Vector * | N_VNewVectorArray_NrnThreadLD (int count, long int vec_length, int nthread, long int *sizes) |
N_Vector * | N_VNewVectorArrayEmpty_NrnThreadLD (int count, long int vec_length, int nthread, long int *sizes) |
void | N_VDestroyVectorArray_NrnThreadLD (N_Vector *vs, int count) |
void | N_VPrint_NrnThreadLD (N_Vector v) |
N_Vector | N_VClone_NrnThreadLD (N_Vector w) |
void | N_VDestroy_NrnThreadLD (N_Vector v) |
void | N_VSpace_NrnThreadLD (N_Vector v, long int *lrw, long int *liw) |
realtype * | N_VGetArrayPointer_NrnThreadLD (N_Vector v) |
void | N_VSetArrayPointer_NrnThreadLD (realtype *v_data, N_Vector v) |
void | N_VLinearSum_NrnThreadLD (realtype a, N_Vector x, realtype b, N_Vector y, N_Vector z) |
void | N_VConst_NrnThreadLD (realtype c, N_Vector z) |
void | N_VProd_NrnThreadLD (N_Vector x, N_Vector y, N_Vector z) |
void | N_VDiv_NrnThreadLD (N_Vector x, N_Vector y, N_Vector z) |
void | N_VScale_NrnThreadLD (realtype c, N_Vector x, N_Vector z) |
void | N_VAbs_NrnThreadLD (N_Vector x, N_Vector z) |
void | N_VInv_NrnThreadLD (N_Vector x, N_Vector z) |
void | N_VAddConst_NrnThreadLD (N_Vector x, realtype b, N_Vector z) |
realtype | N_VDotProd_NrnThreadLD (N_Vector x, N_Vector y) |
realtype | N_VMaxNorm_NrnThreadLD (N_Vector x) |
realtype | N_VWrmsNorm_NrnThreadLD (N_Vector x, N_Vector w) |
realtype | N_VWrmsNormMask_NrnThreadLD (N_Vector x, N_Vector w, N_Vector id) |
realtype | N_VMin_NrnThreadLD (N_Vector x) |
realtype | N_VWL2Norm_NrnThreadLD (N_Vector x, N_Vector w) |
realtype | N_VL1Norm_NrnThreadLD (N_Vector x) |
void | N_VCompare_NrnThreadLD (realtype c, N_Vector x, N_Vector z) |
booleantype | N_VInvTest_NrnThreadLD (N_Vector x, N_Vector z) |
booleantype | N_VConstrMask_NrnThreadLD (N_Vector c, N_Vector x, N_Vector m) |
realtype | N_VMinQuotient_NrnThreadLD (N_Vector num, N_Vector denom) |
#define NV_CONTENT_NT_LD | ( | v | ) | ( (N_VectorContent_NrnThreadLD)(v->content) ) |
Referenced by N_VCloneEmpty_NrnThreadLD(), and N_VDestroy_NrnThreadLD().
#define NV_DATA_NT_LD | ( | v | ) | ( NV_CONTENT_NT_LD(v)->data ) |
Referenced by N_VGetArrayPointer_NrnThreadLD(), N_VMake_NrnThreadLD(), and N_VSetArrayPointer_NrnThreadLD().
#define NV_LENGTH_NT_LD | ( | v | ) | ( NV_CONTENT_NT_LD(v)->length ) |
#define NV_NT_NT_LD | ( | v | ) | ( NV_CONTENT_NT_LD(v)->nt ) |
Referenced by N_VClone_NrnThreadLD(), N_VDestroy_NrnThreadLD(), and N_VPrint_NrnThreadLD().
#define NV_OWN_DATA_NT_LD | ( | v | ) | ( NV_CONTENT_NT_LD(v)->own_data ) |
Referenced by N_VClone_NrnThreadLD(), N_VDestroy_NrnThreadLD(), N_VMake_NrnThreadLD(), and N_VNew_NrnThreadLD().
Referenced by N_VClone_NrnThreadLD(), N_VDestroy_NrnThreadLD(), N_VNew_NrnThreadLD(), and N_VPrint_NrnThreadLD().
typedef struct _N_VectorContent_NrnThreadLD* N_VectorContent_NrnThreadLD |
void N_VAbs_NrnThreadLD | ( | N_Vector | x, | |
N_Vector | z | |||
) |
References mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
void N_VAddConst_NrnThreadLD | ( | N_Vector | x, | |
realtype | b, | |||
N_Vector | z | |||
) |
References bpass, mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
N_Vector N_VClone_NrnThreadLD | ( | N_Vector | w | ) |
References data, i, _N_VectorContent_NrnThread::length, N_VCloneEmpty_NrnThreadLD(), N_VDestroy_NrnThreadLD(), _N_VectorContent_NrnThread::nt, NV_LENGTH_NT_LD, NV_NT_NT_LD, NV_OWN_DATA_NT_LD, NV_SUBVEC_NT_LD, and v.
Referenced by N_VNewEmpty_NrnThreadLD().
N_Vector N_VCloneEmpty_NrnThreadLD | ( | N_Vector | w | ) |
void N_VCompare_NrnThreadLD | ( | realtype | c, | |
N_Vector | x, | |||
N_Vector | z | |||
) |
References cpass, mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
void N_VConst_NrnThreadLD | ( | realtype | c, | |
N_Vector | z | |||
) |
References cpass, mydebug, nrn_multithread_job(), and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
booleantype N_VConstrMask_NrnThreadLD | ( | N_Vector | c, | |
N_Vector | x, | |||
N_Vector | m | |||
) |
References mydebug2, nrn_multithread_job(), xpass, ypass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
void N_VDestroy_NrnThreadLD | ( | N_Vector | v | ) |
References data, i, _N_VectorContent_NrnThread::nt, NV_CONTENT_NT_LD, NV_NT_NT_LD, NV_OWN_DATA_NT_LD, and NV_SUBVEC_NT_LD.
Referenced by N_VClone_NrnThreadLD(), N_VDestroyVectorArray_NrnThreadLD(), N_VNew_NrnThreadLD(), and N_VNewEmpty_NrnThreadLD().
References N_VDestroy_NrnThreadLD().
Referenced by N_VNewVectorArray_NrnThreadLD(), and N_VNewVectorArrayEmpty_NrnThreadLD().
void N_VDiv_NrnThreadLD | ( | N_Vector | x, | |
N_Vector | y, | |||
N_Vector | z | |||
) |
References mydebug, nrn_multithread_job(), xpass, ypass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
realtype N_VDotProd_NrnThreadLD | ( | N_Vector | x, | |
N_Vector | y | |||
) |
References mydebug2, nrn_multithread_job(), xpass, ypass, and ZERO.
Referenced by N_VNewEmpty_NrnThreadLD().
realtype* N_VGetArrayPointer_NrnThreadLD | ( | N_Vector | v | ) |
References NV_DATA_NT_LD.
Referenced by N_VNewEmpty_NrnThreadLD().
void N_VInv_NrnThreadLD | ( | N_Vector | x, | |
N_Vector | z | |||
) |
References mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
booleantype N_VInvTest_NrnThreadLD | ( | N_Vector | x, | |
N_Vector | z | |||
) |
References mydebug2, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
realtype N_VL1Norm_NrnThreadLD | ( | N_Vector | x | ) |
References mydebug2, nrn_multithread_job(), xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThreadLD().
void N_VLinearSum_NrnThreadLD | ( | realtype | a, | |
N_Vector | x, | |||
realtype | b, | |||
N_Vector | y, | |||
N_Vector | z | |||
) |
References apass, bpass, mydebug, nrn_multithread_job(), xpass, ypass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
N_Vector N_VMake_NrnThreadLD | ( | long int | vec_length, | |
realtype * | v_data | |||
) |
References assert, N_VNewEmpty_NrnThreadLD(), NV_DATA_NT_LD, NV_OWN_DATA_NT_LD, and v.
realtype N_VMaxNorm_NrnThreadLD | ( | N_Vector | x | ) |
References mydebug2, nrn_multithread_job(), xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThreadLD().
realtype N_VMin_NrnThreadLD | ( | N_Vector | x | ) |
References mydebug2, nrn_multithread_job(), and xpass.
Referenced by N_VNewEmpty_NrnThreadLD().
realtype N_VMinQuotient_NrnThreadLD | ( | N_Vector | num, | |
N_Vector | denom | |||
) |
References mydebug2, nrn_multithread_job(), xpass, and ypass.
Referenced by N_VNewEmpty_NrnThreadLD().
References data, i, N_VDestroy_NrnThreadLD(), N_VNewEmpty_NrnThreadLD(), NV_OWN_DATA_NT_LD, NV_SUBVEC_NT_LD, and v.
Referenced by N_VNewVectorArray_NrnThreadLD().
References _N_VectorContent_NrnThreadLD::data, i, _N_VectorContent_NrnThreadLD::length, MUTCONSTRUCT, MUTCONSTRUCTED, N_VAbs_NrnThreadLD(), N_VAddConst_NrnThreadLD(), N_VClone_NrnThreadLD(), N_VCompare_NrnThreadLD(), N_VConst_NrnThreadLD(), N_VConstrMask_NrnThreadLD(), N_VDestroy_NrnThreadLD(), N_VDiv_NrnThreadLD(), N_VDotProd_NrnThreadLD(), N_VGetArrayPointer_NrnThreadLD(), N_VInv_NrnThreadLD(), N_VInvTest_NrnThreadLD(), N_VL1Norm_NrnThreadLD(), N_VLinearSum_NrnThreadLD(), N_VMaxNorm_NrnThreadLD(), N_VMin_NrnThreadLD(), N_VMinQuotient_NrnThreadLD(), N_VProd_NrnThreadLD(), N_VScale_NrnThreadLD(), N_VSetArrayPointer_NrnThreadLD(), N_VSpace_NrnThreadLD(), N_VWL2Norm_NrnThreadLD(), N_VWrmsNorm_NrnThreadLD(), N_VWrmsNormMask_NrnThreadLD(), _N_VectorContent_NrnThreadLD::nt, _N_VectorContent_NrnThreadLD::own_data, and v.
Referenced by N_VMake_NrnThreadLD(), N_VNew_NrnThreadLD(), and N_VNewVectorArrayEmpty_NrnThreadLD().
N_Vector* N_VNewVectorArray_NrnThreadLD | ( | int | count, | |
long int | vec_length, | |||
int | nthread, | |||
long int * | sizes | |||
) |
References N_VDestroyVectorArray_NrnThreadLD(), and N_VNew_NrnThreadLD().
N_Vector* N_VNewVectorArrayEmpty_NrnThreadLD | ( | int | count, | |
long int | vec_length, | |||
int | nthread, | |||
long int * | sizes | |||
) |
References N_VDestroyVectorArray_NrnThreadLD(), and N_VNewEmpty_NrnThreadLD().
void N_VPrint_NrnThreadLD | ( | N_Vector | v | ) |
References i, _N_VectorContent_NrnThread::nt, NV_NT_NT_LD, and NV_SUBVEC_NT_LD.
void N_VProd_NrnThreadLD | ( | N_Vector | x, | |
N_Vector | y, | |||
N_Vector | z | |||
) |
References mydebug, nrn_multithread_job(), xpass, ypass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
void N_VScale_NrnThreadLD | ( | realtype | c, | |
N_Vector | x, | |||
N_Vector | z | |||
) |
References cpass, mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThreadLD().
void N_VSetArrayPointer_NrnThreadLD | ( | realtype * | v_data, | |
N_Vector | v | |||
) |
References assert, NV_DATA_NT_LD, and NV_LENGTH_NT_LD.
Referenced by N_VNewEmpty_NrnThreadLD().
References NV_LENGTH_NT_LD.
Referenced by N_VNewEmpty_NrnThreadLD().
realtype N_VWL2Norm_NrnThreadLD | ( | N_Vector | x, | |
N_Vector | w | |||
) |
References mydebug2, nrn_multithread_job(), NV_LENGTH_NT_LD, wpass, xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThreadLD().
realtype N_VWrmsNorm_NrnThreadLD | ( | N_Vector | x, | |
N_Vector | w | |||
) |
References mydebug2, nrn_multithread_job(), NV_LENGTH_NT_LD, wpass, xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThreadLD().
realtype N_VWrmsNormMask_NrnThreadLD | ( | N_Vector | x, | |
N_Vector | w, | |||
N_Vector | id | |||
) |
References idpass, mydebug2, nrn_multithread_job(), NV_LENGTH_NT_LD, wpass, xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThreadLD().