#include "nvector.h"
#include "sundialstypes.h"
Go to the source code of this file.
Classes | |
struct | _N_VectorContent_NrnThread |
Defines | |
#define | NV_CONTENT_NT(v) ( (N_VectorContent_NrnThread)(v->content) ) |
#define | NV_LENGTH_NT(v) ( NV_CONTENT_NT(v)->length ) |
#define | NV_NT_NT(v) ( NV_CONTENT_NT(v)->nt ) |
#define | NV_OWN_DATA_NT(v) ( NV_CONTENT_NT(v)->own_data ) |
#define | NV_DATA_NT(v) ( NV_CONTENT_NT(v)->data ) |
#define | NV_SUBVEC_NT(v, i) ( NV_CONTENT_NT(v)->data[i] ) |
#define | NV_Ith_NT(v, i) ( NV_DATA_NT(v)[i] ) |
Typedefs | |
typedef struct _N_VectorContent_NrnThread * | N_VectorContent_NrnThread |
Functions | |
N_Vector | N_VNew_NrnThread (long int vec_length, int nthread, long int *sizes) |
N_Vector | N_VNewEmpty_NrnThread (long int vec_length, int nthread, long int *sizes) |
N_Vector | N_VCloneEmpty_NrnThread (N_Vector w) |
N_Vector | N_VMake_NrnThread (long int vec_length, realtype *v_data) |
N_Vector * | N_VNewVectorArray_NrnThread (int count, long int vec_length, int nthread, long int *sizes) |
N_Vector * | N_VNewVectorArrayEmpty_NrnThread (int count, long int vec_length, int nthread, long int *sizes) |
void | N_VDestroyVectorArray_NrnThread (N_Vector *vs, int count) |
void | N_VPrint_NrnThread (N_Vector v) |
N_Vector | N_VClone_NrnThread (N_Vector w) |
void | N_VDestroy_NrnThread (N_Vector v) |
void | N_VSpace_NrnThread (N_Vector v, long int *lrw, long int *liw) |
realtype * | N_VGetArrayPointer_NrnThread (N_Vector v) |
void | N_VSetArrayPointer_NrnThread (realtype *v_data, N_Vector v) |
void | N_VLinearSum_NrnThread (realtype a, N_Vector x, realtype b, N_Vector y, N_Vector z) |
void | N_VConst_NrnThread (realtype c, N_Vector z) |
void | N_VProd_NrnThread (N_Vector x, N_Vector y, N_Vector z) |
void | N_VDiv_NrnThread (N_Vector x, N_Vector y, N_Vector z) |
void | N_VScale_NrnThread (realtype c, N_Vector x, N_Vector z) |
void | N_VAbs_NrnThread (N_Vector x, N_Vector z) |
void | N_VInv_NrnThread (N_Vector x, N_Vector z) |
void | N_VAddConst_NrnThread (N_Vector x, realtype b, N_Vector z) |
realtype | N_VDotProd_NrnThread (N_Vector x, N_Vector y) |
realtype | N_VMaxNorm_NrnThread (N_Vector x) |
realtype | N_VWrmsNorm_NrnThread (N_Vector x, N_Vector w) |
realtype | N_VWrmsNormMask_NrnThread (N_Vector x, N_Vector w, N_Vector id) |
realtype | N_VMin_NrnThread (N_Vector x) |
realtype | N_VWL2Norm_NrnThread (N_Vector x, N_Vector w) |
realtype | N_VL1Norm_NrnThread (N_Vector x) |
void | N_VCompare_NrnThread (realtype c, N_Vector x, N_Vector z) |
booleantype | N_VInvTest_NrnThread (N_Vector x, N_Vector z) |
booleantype | N_VConstrMask_NrnThread (N_Vector c, N_Vector x, N_Vector m) |
realtype | N_VMinQuotient_NrnThread (N_Vector num, N_Vector denom) |
#define NV_CONTENT_NT | ( | v | ) | ( (N_VectorContent_NrnThread)(v->content) ) |
Referenced by N_VCloneEmpty_NrnThread(), and N_VDestroy_NrnThread().
#define NV_DATA_NT | ( | v | ) | ( NV_CONTENT_NT(v)->data ) |
Referenced by N_VGetArrayPointer_NrnThread(), N_VMake_NrnThread(), and N_VSetArrayPointer_NrnThread().
#define NV_LENGTH_NT | ( | v | ) | ( NV_CONTENT_NT(v)->length ) |
#define NV_NT_NT | ( | v | ) | ( NV_CONTENT_NT(v)->nt ) |
Referenced by N_VClone_NrnThread(), N_VDestroy_NrnThread(), and N_VPrint_NrnThread().
#define NV_OWN_DATA_NT | ( | v | ) | ( NV_CONTENT_NT(v)->own_data ) |
Referenced by N_VClone_NrnThread(), N_VDestroy_NrnThread(), N_VMake_NrnThread(), and N_VNew_NrnThread().
Referenced by N_VClone_NrnThread(), N_VDestroy_NrnThread(), N_VNew_NrnThread(), and N_VPrint_NrnThread().
typedef struct _N_VectorContent_NrnThread* N_VectorContent_NrnThread |
void N_VAbs_NrnThread | ( | N_Vector | x, | |
N_Vector | z | |||
) |
References mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThread().
void N_VAddConst_NrnThread | ( | N_Vector | x, | |
realtype | b, | |||
N_Vector | z | |||
) |
References bpass, mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThread().
N_Vector N_VClone_NrnThread | ( | N_Vector | w | ) |
References data, i, _N_VectorContent_NrnSerialLD::length, N_VCloneEmpty_NrnThread(), N_VDestroy_NrnThread(), NV_LENGTH_NT, NV_NT_NT, NV_OWN_DATA_NT, NV_SUBVEC_NT, and v.
Referenced by N_VNewEmpty_NrnThread().
N_Vector N_VCloneEmpty_NrnThread | ( | N_Vector | w | ) |
References _N_VectorContent_NrnThread::data, i, _N_VectorContent_NrnThread::length, _N_VectorContent_NrnThread::nt, NV_CONTENT_NT, NV_LENGTH_NT, _N_VectorContent_NrnThread::own_data, and v.
Referenced by N_VClone_NrnThread().
void N_VCompare_NrnThread | ( | realtype | c, | |
N_Vector | x, | |||
N_Vector | z | |||
) |
References cpass, mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThread().
void N_VConst_NrnThread | ( | realtype | c, | |
N_Vector | z | |||
) |
References cpass, mydebug, nrn_multithread_job(), and zpass.
Referenced by N_VNewEmpty_NrnThread().
booleantype N_VConstrMask_NrnThread | ( | N_Vector | c, | |
N_Vector | x, | |||
N_Vector | m | |||
) |
References mydebug2, nrn_multithread_job(), xpass, ypass, and zpass.
Referenced by N_VNewEmpty_NrnThread().
void N_VDestroy_NrnThread | ( | N_Vector | v | ) |
References data, i, NV_CONTENT_NT, NV_NT_NT, NV_OWN_DATA_NT, and NV_SUBVEC_NT.
Referenced by N_VClone_NrnThread(), N_VDestroyVectorArray_NrnThread(), N_VNew_NrnThread(), and N_VNewEmpty_NrnThread().
References N_VDestroy_NrnThread().
Referenced by N_VNewVectorArray_NrnThread(), and N_VNewVectorArrayEmpty_NrnThread().
void N_VDiv_NrnThread | ( | N_Vector | x, | |
N_Vector | y, | |||
N_Vector | z | |||
) |
References mydebug, nrn_multithread_job(), xpass, ypass, and zpass.
Referenced by N_VNewEmpty_NrnThread().
realtype N_VDotProd_NrnThread | ( | N_Vector | x, | |
N_Vector | y | |||
) |
References mydebug2, nrn_multithread_job(), xpass, ypass, and ZERO.
Referenced by N_VNewEmpty_NrnThread().
realtype* N_VGetArrayPointer_NrnThread | ( | N_Vector | v | ) |
References NV_DATA_NT.
Referenced by N_VNewEmpty_NrnThread().
void N_VInv_NrnThread | ( | N_Vector | x, | |
N_Vector | z | |||
) |
References mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThread().
booleantype N_VInvTest_NrnThread | ( | N_Vector | x, | |
N_Vector | z | |||
) |
References mydebug2, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThread().
realtype N_VL1Norm_NrnThread | ( | N_Vector | x | ) |
References mydebug2, nrn_multithread_job(), xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThread().
void N_VLinearSum_NrnThread | ( | 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_NrnThread().
N_Vector N_VMake_NrnThread | ( | long int | vec_length, | |
realtype * | v_data | |||
) |
References assert, N_VNewEmpty_NrnThread(), NV_DATA_NT, NV_OWN_DATA_NT, and v.
realtype N_VMaxNorm_NrnThread | ( | N_Vector | x | ) |
References mydebug2, nrn_multithread_job(), xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThread().
realtype N_VMin_NrnThread | ( | N_Vector | x | ) |
References mydebug2, nrn_multithread_job(), and xpass.
Referenced by N_VNewEmpty_NrnThread().
realtype N_VMinQuotient_NrnThread | ( | N_Vector | num, | |
N_Vector | denom | |||
) |
References mydebug2, nrn_multithread_job(), xpass, and ypass.
Referenced by N_VNewEmpty_NrnThread().
References data, i, N_VDestroy_NrnThread(), N_VNewEmpty_NrnThread(), NV_OWN_DATA_NT, NV_SUBVEC_NT, and v.
Referenced by N_VNewVectorArray_NrnThread().
References _N_VectorContent_NrnThread::data, i, _N_VectorContent_NrnThread::length, MUTCONSTRUCT, MUTCONSTRUCTED, N_VAbs_NrnThread(), N_VAddConst_NrnThread(), N_VClone_NrnThread(), N_VCompare_NrnThread(), N_VConst_NrnThread(), N_VConstrMask_NrnThread(), N_VDestroy_NrnThread(), N_VDiv_NrnThread(), N_VDotProd_NrnThread(), N_VGetArrayPointer_NrnThread(), N_VInv_NrnThread(), N_VInvTest_NrnThread(), N_VL1Norm_NrnThread(), N_VLinearSum_NrnThread(), N_VMaxNorm_NrnThread(), N_VMin_NrnThread(), N_VMinQuotient_NrnThread(), N_VProd_NrnThread(), N_VScale_NrnThread(), N_VSetArrayPointer_NrnThread(), N_VSpace_NrnThread(), N_VWL2Norm_NrnThread(), N_VWrmsNorm_NrnThread(), N_VWrmsNormMask_NrnThread(), _N_VectorContent_NrnThread::nt, _N_VectorContent_NrnThread::own_data, and v.
Referenced by N_VMake_NrnThread(), N_VNew_NrnThread(), and N_VNewVectorArrayEmpty_NrnThread().
N_Vector* N_VNewVectorArray_NrnThread | ( | int | count, | |
long int | vec_length, | |||
int | nthread, | |||
long int * | sizes | |||
) |
References N_VDestroyVectorArray_NrnThread(), and N_VNew_NrnThread().
N_Vector* N_VNewVectorArrayEmpty_NrnThread | ( | int | count, | |
long int | vec_length, | |||
int | nthread, | |||
long int * | sizes | |||
) |
References N_VDestroyVectorArray_NrnThread(), and N_VNewEmpty_NrnThread().
void N_VPrint_NrnThread | ( | N_Vector | v | ) |
References i, NV_NT_NT, and NV_SUBVEC_NT.
void N_VProd_NrnThread | ( | N_Vector | x, | |
N_Vector | y, | |||
N_Vector | z | |||
) |
References mydebug, nrn_multithread_job(), xpass, ypass, and zpass.
Referenced by N_VNewEmpty_NrnThread().
void N_VScale_NrnThread | ( | realtype | c, | |
N_Vector | x, | |||
N_Vector | z | |||
) |
References cpass, mydebug, nrn_multithread_job(), xpass, and zpass.
Referenced by N_VNewEmpty_NrnThread().
void N_VSetArrayPointer_NrnThread | ( | realtype * | v_data, | |
N_Vector | v | |||
) |
References assert, NV_DATA_NT, and NV_LENGTH_NT.
Referenced by N_VNewEmpty_NrnThread().
References NV_LENGTH_NT.
Referenced by N_VNewEmpty_NrnThread().
realtype N_VWL2Norm_NrnThread | ( | N_Vector | x, | |
N_Vector | w | |||
) |
References mydebug2, nrn_multithread_job(), NV_LENGTH_NT, wpass, xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThread().
realtype N_VWrmsNorm_NrnThread | ( | N_Vector | x, | |
N_Vector | w | |||
) |
References mydebug2, nrn_multithread_job(), NV_LENGTH_NT, wpass, xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThread().
realtype N_VWrmsNormMask_NrnThread | ( | N_Vector | x, | |
N_Vector | w, | |||
N_Vector | id | |||
) |
References idpass, mydebug2, nrn_multithread_job(), NV_LENGTH_NT, wpass, xpass, and ZERO.
Referenced by N_VNewEmpty_NrnThread().