#include <../../nrnconf.h>#include <stdio.h>#include <stdlib.h>#include "nvector_nrnserial_ld.h"#include "nvector.h"#include "sundialstypes.h"#include "shared/sundialsmath.h"#include "shared/sundialstypes.h"

Defines | |
| #define | USELONGDOUBLE 1 |
| #define | ZERO RCONST(0.0) |
| #define | HALF RCONST(0.5) |
| #define | ONE RCONST(1.0) |
| #define | ONEPT5 RCONST(1.5) |
| #define | ldrealtype long double |
Functions | |
| N_Vector | N_VNewEmpty_NrnSerialLD (long int length) |
| N_Vector | N_VNew_NrnSerialLD (long int length) |
| N_Vector | N_VCloneEmpty_NrnSerialLD (N_Vector w) |
| N_Vector | N_VMake_NrnSerialLD (long int length, realtype *v_data) |
| N_Vector * | N_VNewVectorArray_NrnSerialLD (int count, long int length) |
| N_Vector * | N_VNewVectorArrayEmpty_NrnSerialLD (int count, long int length) |
| void | N_VDestroyVectorArray_NrnSerialLD (N_Vector *vs, int count) |
| void | N_VPrint_NrnSerialLD (N_Vector x) |
| 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_VOneMask_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 HALF RCONST(0.5) |
Referenced by N_VConstrMask_NrnSerialLD().
| #define ldrealtype long double |
| #define ONE RCONST(1.0) |
| #define ONEPT5 RCONST(1.5) |
Referenced by N_VConstrMask_NrnSerialLD().
| #define USELONGDOUBLE 1 |
| #define ZERO RCONST(0.0) |
Referenced by N_VCompare_NrnSerialLD(), N_VConstrMask_NrnSerialLD(), N_VDotProd_NrnSerialLD(), N_VDotProd_NrnThread(), N_VDotProd_NrnThreadLD(), N_VInvTest_NrnSerialLD(), N_VL1Norm_NrnSerialLD(), N_VL1Norm_NrnThread(), N_VL1Norm_NrnThreadLD(), N_VMaxNorm_NrnSerialLD(), N_VMaxNorm_NrnThread(), N_VMaxNorm_NrnThreadLD(), N_VMinQuotient_NrnSerialLD(), N_VOneMask_NrnSerialLD(), N_VWL2Norm_NrnSerialLD(), N_VWL2Norm_NrnThread(), N_VWL2Norm_NrnThreadLD(), N_VWrmsNorm_NrnSerialLD(), N_VWrmsNorm_NrnThread(), N_VWrmsNorm_NrnThreadLD(), N_VWrmsNormMask_NrnSerialLD(), N_VWrmsNormMask_NrnThread(), and N_VWrmsNormMask_NrnThreadLD().
| 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 | 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 | 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 | 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_VOneMask_NrnSerialLD | ( | N_Vector | x | ) |
References i, NV_DATA_S_LD, NV_LENGTH_S_LD, ONE, and ZERO.
| void N_VPrint_NrnSerialLD | ( | N_Vector | x | ) |
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().
1.6.3