#include "nvector.h"
#include "sundialstypes.h"
Go to the source code of this file.
Classes | |
struct | _N_VectorContent_NrnSerialLD |
Defines | |
#define | NV_CONTENT_S_LD(v) ( (N_VectorContent_NrnSerialLD)(v->content) ) |
#define | NV_LENGTH_S_LD(v) ( NV_CONTENT_S_LD(v)->length ) |
#define | NV_OWN_DATA_S_LD(v) ( NV_CONTENT_S_LD(v)->own_data ) |
#define | NV_DATA_S_LD(v) ( NV_CONTENT_S_LD(v)->data ) |
#define | NV_Ith_S_LD(v, i) ( NV_DATA_S_LD(v)[i] ) |
Typedefs | |
typedef struct _N_VectorContent_NrnSerialLD * | N_VectorContent_NrnSerialLD |
Functions | |
N_Vector | N_VNew_NrnSerialLD (long int vec_length) |
N_Vector | N_VNewEmpty_NrnSerialLD (long int vec_length) |
N_Vector | N_VCloneEmpty_NrnSerialLD (N_Vector w) |
N_Vector | N_VMake_NrnSerialLD (long int vec_length, realtype *v_data) |
N_Vector * | N_VNewVectorArray_NrnSerialLD (int count, long int vec_length) |
N_Vector * | N_VNewVectorArrayEmpty_NrnSerialLD (int count, long int vec_length) |
void | N_VDestroyVectorArray_NrnSerialLD (N_Vector *vs, int count) |
void | N_VPrint_NrnSerialLD (N_Vector v) |
N_Vector | N_VClone_NrnSerialLD (N_Vector w) |
void | N_VDestroy_NrnSerialLD (N_Vector v) |
void | N_VSpace_NrnSerialLD (N_Vector v, long int *lrw, long int *liw) |
realtype * | N_VGetArrayPointer_NrnSerialLD (N_Vector v) |
void | N_VSetArrayPointer_NrnSerialLD (realtype *v_data, N_Vector v) |
void | N_VLinearSum_NrnSerialLD (realtype a, N_Vector x, realtype b, N_Vector y, N_Vector z) |
void | N_VConst_NrnSerialLD (realtype c, N_Vector z) |
void | N_VProd_NrnSerialLD (N_Vector x, N_Vector y, N_Vector z) |
void | N_VDiv_NrnSerialLD (N_Vector x, N_Vector y, N_Vector z) |
void | N_VScale_NrnSerialLD (realtype c, N_Vector x, N_Vector z) |
void | N_VAbs_NrnSerialLD (N_Vector x, N_Vector z) |
void | N_VInv_NrnSerialLD (N_Vector x, N_Vector z) |
void | N_VAddConst_NrnSerialLD (N_Vector x, realtype b, N_Vector z) |
realtype | N_VDotProd_NrnSerialLD (N_Vector x, N_Vector y) |
realtype | N_VMaxNorm_NrnSerialLD (N_Vector x) |
realtype | N_VWrmsNorm_NrnSerialLD (N_Vector x, N_Vector w) |
realtype | N_VWrmsNormMask_NrnSerialLD (N_Vector x, N_Vector w, N_Vector id) |
realtype | N_VMin_NrnSerialLD (N_Vector x) |
realtype | N_VWL2Norm_NrnSerialLD (N_Vector x, N_Vector w) |
realtype | N_VL1Norm_NrnSerialLD (N_Vector x) |
void | N_VCompare_NrnSerialLD (realtype c, N_Vector x, N_Vector z) |
booleantype | N_VInvTest_NrnSerialLD (N_Vector x, N_Vector z) |
booleantype | N_VConstrMask_NrnSerialLD (N_Vector c, N_Vector x, N_Vector m) |
realtype | N_VMinQuotient_NrnSerialLD (N_Vector num, N_Vector denom) |
#define NV_CONTENT_S_LD | ( | v | ) | ( (N_VectorContent_NrnSerialLD)(v->content) ) |
#define NV_DATA_S_LD | ( | v | ) | ( NV_CONTENT_S_LD(v)->data ) |
Referenced by N_VAbs_NrnSerialLD(), N_VAddConst_NrnSerialLD(), N_VClone_NrnSerialLD(), N_VCompare_NrnSerialLD(), N_VConst_NrnSerialLD(), N_VConstrMask_NrnSerialLD(), N_VDestroy_NrnSerialLD(), N_VDiv_NrnSerialLD(), N_VDotProd_NrnSerialLD(), N_VGetArrayPointer_NrnSerialLD(), N_VInv_NrnSerialLD(), N_VInvTest_NrnSerialLD(), N_VL1Norm_NrnSerialLD(), N_VLinearSum_NrnSerialLD(), N_VMake_NrnSerialLD(), N_VMaxNorm_NrnSerialLD(), N_VMin_NrnSerialLD(), N_VMinQuotient_NrnSerialLD(), N_VNew_NrnSerialLD(), N_VOneMask_NrnSerialLD(), N_VPrint_NrnSerialLD(), N_VProd_NrnSerialLD(), N_VScale_NrnSerialLD(), N_VSetArrayPointer_NrnSerialLD(), N_VWL2Norm_NrnSerialLD(), N_VWrmsNorm_NrnSerialLD(), and N_VWrmsNormMask_NrnSerialLD().
#define NV_LENGTH_S_LD | ( | v | ) | ( NV_CONTENT_S_LD(v)->length ) |
Referenced by N_VAbs_NrnSerialLD(), N_VAddConst_NrnSerialLD(), N_VClone_NrnSerialLD(), N_VCloneEmpty_NrnSerialLD(), N_VCompare_NrnSerialLD(), N_VConst_NrnSerialLD(), N_VConstrMask_NrnSerialLD(), N_VDiv_NrnSerialLD(), N_VDotProd_NrnSerialLD(), N_VInv_NrnSerialLD(), N_VInvTest_NrnSerialLD(), N_VL1Norm_NrnSerialLD(), N_VLinearSum_NrnSerialLD(), N_VMaxNorm_NrnSerialLD(), N_VMin_NrnSerialLD(), N_VMinQuotient_NrnSerialLD(), N_VOneMask_NrnSerialLD(), N_VPrint_NrnSerialLD(), N_VProd_NrnSerialLD(), N_VScale_NrnSerialLD(), N_VSetArrayPointer_NrnSerialLD(), N_VSpace_NrnSerialLD(), N_VWL2Norm_NrnSerialLD(), N_VWrmsNorm_NrnSerialLD(), and N_VWrmsNormMask_NrnSerialLD().
#define NV_OWN_DATA_S_LD | ( | v | ) | ( NV_CONTENT_S_LD(v)->own_data ) |
Referenced by N_VClone_NrnSerialLD(), N_VDestroy_NrnSerialLD(), N_VMake_NrnSerialLD(), and N_VNew_NrnSerialLD().
typedef struct _N_VectorContent_NrnSerialLD* N_VectorContent_NrnSerialLD |
void N_VAbs_NrnSerialLD | ( | N_Vector | x, | |
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, and NV_LENGTH_S_LD.
Referenced by N_VNewEmpty_NrnSerialLD().
void N_VAddConst_NrnSerialLD | ( | N_Vector | x, | |
realtype | b, | |||
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, and NV_LENGTH_S_LD.
Referenced by N_VNewEmpty_NrnSerialLD().
N_Vector N_VClone_NrnSerialLD | ( | N_Vector | w | ) |
References data, N_VCloneEmpty_NrnSerialLD(), N_VDestroy_NrnSerialLD(), NV_DATA_S_LD, NV_LENGTH_S_LD, NV_OWN_DATA_S_LD, and v.
Referenced by N_VNewEmpty_NrnSerialLD().
N_Vector N_VCloneEmpty_NrnSerialLD | ( | N_Vector | w | ) |
References _N_VectorContent_NrnSerialLD::data, _N_VectorContent_NrnSerialLD::length, NV_LENGTH_S_LD, _N_VectorContent_NrnSerialLD::own_data, and v.
Referenced by N_VClone_NrnSerialLD().
void N_VCompare_NrnSerialLD | ( | realtype | c, | |
N_Vector | x, | |||
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, NV_LENGTH_S_LD, ONE, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().
void N_VConst_NrnSerialLD | ( | realtype | c, | |
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, and NV_LENGTH_S_LD.
Referenced by N_VNewEmpty_NrnSerialLD().
booleantype N_VConstrMask_NrnSerialLD | ( | N_Vector | c, | |
N_Vector | x, | |||
N_Vector | m | |||
) |
References HALF, i, NV_DATA_S_LD, NV_LENGTH_S_LD, ONE, ONEPT5, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().
void N_VDestroy_NrnSerialLD | ( | N_Vector | v | ) |
References NV_DATA_S_LD, and NV_OWN_DATA_S_LD.
Referenced by N_VClone_NrnSerialLD(), N_VDestroyVectorArray_NrnSerialLD(), N_VNew_NrnSerialLD(), and N_VNewEmpty_NrnSerialLD().
References N_VDestroy_NrnSerialLD().
Referenced by N_VNewVectorArray_NrnSerialLD(), and N_VNewVectorArrayEmpty_NrnSerialLD().
void N_VDiv_NrnSerialLD | ( | N_Vector | x, | |
N_Vector | y, | |||
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, and NV_LENGTH_S_LD.
Referenced by N_VNewEmpty_NrnSerialLD().
realtype N_VDotProd_NrnSerialLD | ( | N_Vector | x, | |
N_Vector | y | |||
) |
References i, NV_DATA_S_LD, NV_LENGTH_S_LD, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().
realtype* N_VGetArrayPointer_NrnSerialLD | ( | N_Vector | v | ) |
References NV_DATA_S_LD.
Referenced by N_VNewEmpty_NrnSerialLD().
void N_VInv_NrnSerialLD | ( | N_Vector | x, | |
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, NV_LENGTH_S_LD, and ONE.
Referenced by N_VNewEmpty_NrnSerialLD().
booleantype N_VInvTest_NrnSerialLD | ( | N_Vector | x, | |
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, NV_LENGTH_S_LD, ONE, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().
realtype N_VL1Norm_NrnSerialLD | ( | N_Vector | x | ) |
References i, ldrealtype, NV_DATA_S_LD, NV_LENGTH_S_LD, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().
void N_VLinearSum_NrnSerialLD | ( | realtype | a, | |
N_Vector | x, | |||
realtype | b, | |||
N_Vector | y, | |||
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, NV_LENGTH_S_LD, and ONE.
Referenced by N_VNewEmpty_NrnSerialLD().
N_Vector N_VMake_NrnSerialLD | ( | long int | vec_length, | |
realtype * | v_data | |||
) |
References N_VNewEmpty_NrnSerialLD(), NV_DATA_S_LD, NV_OWN_DATA_S_LD, and v.
realtype N_VMaxNorm_NrnSerialLD | ( | N_Vector | x | ) |
References i, NV_DATA_S_LD, NV_LENGTH_S_LD, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().
realtype N_VMin_NrnSerialLD | ( | N_Vector | x | ) |
References i, NV_DATA_S_LD, and NV_LENGTH_S_LD.
Referenced by N_VNewEmpty_NrnSerialLD().
realtype N_VMinQuotient_NrnSerialLD | ( | N_Vector | num, | |
N_Vector | denom | |||
) |
References i, nd, NV_DATA_S_LD, NV_LENGTH_S_LD, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().
N_Vector N_VNew_NrnSerialLD | ( | long int | vec_length | ) |
References data, N_VDestroy_NrnSerialLD(), N_VNewEmpty_NrnSerialLD(), NV_DATA_S_LD, NV_OWN_DATA_S_LD, and v.
Referenced by N_VNewVectorArray_NrnSerialLD().
N_Vector N_VNewEmpty_NrnSerialLD | ( | long int | vec_length | ) |
References _N_VectorContent_NrnSerialLD::data, _N_VectorContent_NrnSerialLD::length, N_VAbs_NrnSerialLD(), N_VAddConst_NrnSerialLD(), N_VClone_NrnSerialLD(), N_VCompare_NrnSerialLD(), N_VConst_NrnSerialLD(), N_VConstrMask_NrnSerialLD(), N_VDestroy_NrnSerialLD(), N_VDiv_NrnSerialLD(), N_VDotProd_NrnSerialLD(), N_VGetArrayPointer_NrnSerialLD(), N_VInv_NrnSerialLD(), N_VInvTest_NrnSerialLD(), N_VL1Norm_NrnSerialLD(), N_VLinearSum_NrnSerialLD(), N_VMaxNorm_NrnSerialLD(), N_VMin_NrnSerialLD(), N_VMinQuotient_NrnSerialLD(), N_VProd_NrnSerialLD(), N_VScale_NrnSerialLD(), N_VSetArrayPointer_NrnSerialLD(), N_VSpace_NrnSerialLD(), N_VWL2Norm_NrnSerialLD(), N_VWrmsNorm_NrnSerialLD(), N_VWrmsNormMask_NrnSerialLD(), _N_VectorContent_NrnSerialLD::own_data, and v.
Referenced by N_VMake_NrnSerialLD(), N_VNew_NrnSerialLD(), and N_VNewVectorArrayEmpty_NrnSerialLD().
References N_VDestroyVectorArray_NrnSerialLD(), and N_VNew_NrnSerialLD().
References N_VDestroyVectorArray_NrnSerialLD(), and N_VNewEmpty_NrnSerialLD().
void N_VPrint_NrnSerialLD | ( | N_Vector | v | ) |
References i, NV_DATA_S_LD, and NV_LENGTH_S_LD.
void N_VProd_NrnSerialLD | ( | N_Vector | x, | |
N_Vector | y, | |||
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, and NV_LENGTH_S_LD.
Referenced by N_VNewEmpty_NrnSerialLD().
void N_VScale_NrnSerialLD | ( | realtype | c, | |
N_Vector | x, | |||
N_Vector | z | |||
) |
References i, NV_DATA_S_LD, NV_LENGTH_S_LD, and ONE.
Referenced by N_VNewEmpty_NrnSerialLD().
void N_VSetArrayPointer_NrnSerialLD | ( | realtype * | v_data, | |
N_Vector | v | |||
) |
References NV_DATA_S_LD, and NV_LENGTH_S_LD.
Referenced by N_VNewEmpty_NrnSerialLD().
References NV_LENGTH_S_LD.
Referenced by N_VNewEmpty_NrnSerialLD().
realtype N_VWL2Norm_NrnSerialLD | ( | N_Vector | x, | |
N_Vector | w | |||
) |
References i, ldrealtype, NV_DATA_S_LD, NV_LENGTH_S_LD, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().
realtype N_VWrmsNorm_NrnSerialLD | ( | N_Vector | x, | |
N_Vector | w | |||
) |
References i, ldrealtype, NV_DATA_S_LD, NV_LENGTH_S_LD, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().
realtype N_VWrmsNormMask_NrnSerialLD | ( | N_Vector | x, | |
N_Vector | w, | |||
N_Vector | id | |||
) |
References i, ldrealtype, NV_DATA_S_LD, NV_LENGTH_S_LD, and ZERO.
Referenced by N_VNewEmpty_NrnSerialLD().