NEURON
nvector_nrnparallel_ld.h File Reference
#include <nrnmpiuse.h>
#include "nvector.h"
#include "sundialstypes.h"

Go to the source code of this file.

Classes

struct  _N_VectorContent_NrnParallelLD
 

Macros

#define MPI_Comm   int
 
#define NV_CONTENT_P_LD(v)   ((N_VectorContent_NrnParallelLD) (v->content))
 
#define NV_LOCLENGTH_P_LD(v)   (NV_CONTENT_P_LD(v)->local_length)
 
#define NV_GLOBLENGTH_P_LD(v)   (NV_CONTENT_P_LD(v)->global_length)
 
#define NV_OWN_DATA_P_LD(v)   (NV_CONTENT_P_LD(v)->own_data)
 
#define NV_DATA_P_LD(v)   (NV_CONTENT_P_LD(v)->data)
 
#define NV_COMM_P_LD(v)   (NV_CONTENT_P_LD(v)->comm)
 
#define NV_Ith_P_LD(v, i)   (NV_DATA_P_LD(v)[i])
 

Typedefs

typedef struct _N_VectorContent_NrnParallelLDN_VectorContent_NrnParallelLD
 

Functions

N_Vector N_VNew_NrnParallelLD (MPI_Comm comm, long int local_length, long int global_length)
 
N_Vector N_VNewEmpty_NrnParallelLD (MPI_Comm comm, long int local_length, long int global_length)
 
N_Vector N_VCloneEmpty_NrnParallelLD (N_Vector w)
 
N_Vector N_VMake_NrnParallelLD (MPI_Comm comm, long int local_length, long int global_length, realtype *v_data)
 
N_Vector * N_VNewVectorArray_NrnParallelLD (int count, MPI_Comm comm, long int local_length, long int global_length)
 
N_Vector * N_VNewVectorArrayEmpty_NrnParallelLD (int count, MPI_Comm comm, long int local_length, long int global_length)
 
void N_VDestroyVectorArray_NrnParallelLD (N_Vector *vs, int count)
 
void N_VPrint_NrnParallelLD (N_Vector v)
 
N_Vector N_VClone_NrnParallelLD (N_Vector w)
 
void N_VDestroy_NrnParallelLD (N_Vector v)
 
void N_VSpace_NrnParallelLD (N_Vector v, long int *lrw, long int *liw)
 
realtype * N_VGetArrayPointer_NrnParallelLD (N_Vector v)
 
void N_VSetArrayPointer_NrnParallelLD (realtype *v_data, N_Vector v)
 
void N_VLinearSum_NrnParallelLD (realtype a, N_Vector x, realtype b, N_Vector y, N_Vector z)
 
void N_VConst_NrnParallelLD (realtype c, N_Vector z)
 
void N_VProd_NrnParallelLD (N_Vector x, N_Vector y, N_Vector z)
 
void N_VDiv_NrnParallelLD (N_Vector x, N_Vector y, N_Vector z)
 
void N_VScale_NrnParallelLD (realtype c, N_Vector x, N_Vector z)
 
void N_VAbs_NrnParallelLD (N_Vector x, N_Vector z)
 
void N_VInv_NrnParallelLD (N_Vector x, N_Vector z)
 
void N_VAddConst_NrnParallelLD (N_Vector x, realtype b, N_Vector z)
 
realtype N_VDotProd_NrnParallelLD (N_Vector x, N_Vector y)
 
realtype N_VMaxNorm_NrnParallelLD (N_Vector x)
 
realtype N_VWrmsNorm_NrnParallelLD (N_Vector x, N_Vector w)
 
realtype N_VWrmsNormMask_NrnParallelLD (N_Vector x, N_Vector w, N_Vector id)
 
realtype N_VMin_NrnParallelLD (N_Vector x)
 
realtype N_VWL2Norm_NrnParallelLD (N_Vector x, N_Vector w)
 
realtype N_VL1Norm_NrnParallelLD (N_Vector x)
 
void N_VCompare_NrnParallelLD (realtype c, N_Vector x, N_Vector z)
 
booleantype N_VInvTest_NrnParallelLD (N_Vector x, N_Vector z)
 
booleantype N_VConstrMask_NrnParallelLD (N_Vector c, N_Vector x, N_Vector m)
 
realtype N_VMinQuotient_NrnParallelLD (N_Vector num, N_Vector denom)
 

Macro Definition Documentation

◆ MPI_Comm

#define MPI_Comm   int

Definition at line 66 of file nvector_nrnparallel_ld.h.

◆ NV_COMM_P_LD

#define NV_COMM_P_LD (   v)    (NV_CONTENT_P_LD(v)->comm)

Definition at line 166 of file nvector_nrnparallel_ld.h.

◆ NV_CONTENT_P_LD

#define NV_CONTENT_P_LD (   v)    ((N_VectorContent_NrnParallelLD) (v->content))

Definition at line 156 of file nvector_nrnparallel_ld.h.

◆ NV_DATA_P_LD

#define NV_DATA_P_LD (   v)    (NV_CONTENT_P_LD(v)->data)

Definition at line 164 of file nvector_nrnparallel_ld.h.

◆ NV_GLOBLENGTH_P_LD

#define NV_GLOBLENGTH_P_LD (   v)    (NV_CONTENT_P_LD(v)->global_length)

Definition at line 160 of file nvector_nrnparallel_ld.h.

◆ NV_Ith_P_LD

#define NV_Ith_P_LD (   v,
  i 
)    (NV_DATA_P_LD(v)[i])

Definition at line 168 of file nvector_nrnparallel_ld.h.

◆ NV_LOCLENGTH_P_LD

#define NV_LOCLENGTH_P_LD (   v)    (NV_CONTENT_P_LD(v)->local_length)

Definition at line 158 of file nvector_nrnparallel_ld.h.

◆ NV_OWN_DATA_P_LD

#define NV_OWN_DATA_P_LD (   v)    (NV_CONTENT_P_LD(v)->own_data)

Definition at line 162 of file nvector_nrnparallel_ld.h.

Typedef Documentation

◆ N_VectorContent_NrnParallelLD

Function Documentation

◆ N_VAbs_NrnParallelLD()

void N_VAbs_NrnParallelLD ( N_Vector  x,
N_Vector  z 
)

Definition at line 574 of file nvector_nrnparallel_ld.cpp.

◆ N_VAddConst_NrnParallelLD()

void N_VAddConst_NrnParallelLD ( N_Vector  x,
realtype  b,
N_Vector  z 
)

Definition at line 598 of file nvector_nrnparallel_ld.cpp.

◆ N_VClone_NrnParallelLD()

N_Vector N_VClone_NrnParallelLD ( N_Vector  w)

Definition at line 373 of file nvector_nrnparallel_ld.cpp.

◆ N_VCloneEmpty_NrnParallelLD()

N_Vector N_VCloneEmpty_NrnParallelLD ( N_Vector  w)

Definition at line 188 of file nvector_nrnparallel_ld.cpp.

◆ N_VCompare_NrnParallelLD()

void N_VCompare_NrnParallelLD ( realtype  c,
N_Vector  x,
N_Vector  z 
)

Definition at line 768 of file nvector_nrnparallel_ld.cpp.

◆ N_VConst_NrnParallelLD()

void N_VConst_NrnParallelLD ( realtype  c,
N_Vector  z 
)

Definition at line 515 of file nvector_nrnparallel_ld.cpp.

◆ N_VConstrMask_NrnParallelLD()

booleantype N_VConstrMask_NrnParallelLD ( N_Vector  c,
N_Vector  x,
N_Vector  m 
)

Definition at line 806 of file nvector_nrnparallel_ld.cpp.

◆ N_VDestroy_NrnParallelLD()

void N_VDestroy_NrnParallelLD ( N_Vector  v)

Definition at line 401 of file nvector_nrnparallel_ld.cpp.

◆ N_VDestroyVectorArray_NrnParallelLD()

void N_VDestroyVectorArray_NrnParallelLD ( N_Vector *  vs,
int  count 
)

Definition at line 341 of file nvector_nrnparallel_ld.cpp.

◆ N_VDiv_NrnParallelLD()

void N_VDiv_NrnParallelLD ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)

Definition at line 539 of file nvector_nrnparallel_ld.cpp.

◆ N_VDotProd_NrnParallelLD()

realtype N_VDotProd_NrnParallelLD ( N_Vector  x,
N_Vector  y 
)

Definition at line 610 of file nvector_nrnparallel_ld.cpp.

◆ N_VGetArrayPointer_NrnParallelLD()

realtype* N_VGetArrayPointer_NrnParallelLD ( N_Vector  v)

Definition at line 420 of file nvector_nrnparallel_ld.cpp.

◆ N_VInv_NrnParallelLD()

void N_VInv_NrnParallelLD ( N_Vector  x,
N_Vector  z 
)

Definition at line 586 of file nvector_nrnparallel_ld.cpp.

◆ N_VInvTest_NrnParallelLD()

booleantype N_VInvTest_NrnParallelLD ( N_Vector  x,
N_Vector  z 
)

Definition at line 781 of file nvector_nrnparallel_ld.cpp.

◆ N_VL1Norm_NrnParallelLD()

realtype N_VL1Norm_NrnParallelLD ( N_Vector  x)

Definition at line 747 of file nvector_nrnparallel_ld.cpp.

◆ N_VLinearSum_NrnParallelLD()

void N_VLinearSum_NrnParallelLD ( realtype  a,
N_Vector  x,
realtype  b,
N_Vector  y,
N_Vector  z 
)

Definition at line 433 of file nvector_nrnparallel_ld.cpp.

◆ N_VMake_NrnParallelLD()

N_Vector N_VMake_NrnParallelLD ( MPI_Comm  comm,
long int  local_length,
long int  global_length,
realtype *  v_data 
)

Definition at line 259 of file nvector_nrnparallel_ld.cpp.

◆ N_VMaxNorm_NrnParallelLD()

realtype N_VMaxNorm_NrnParallelLD ( N_Vector  x)

Definition at line 627 of file nvector_nrnparallel_ld.cpp.

◆ N_VMin_NrnParallelLD()

realtype N_VMin_NrnParallelLD ( N_Vector  x)

Definition at line 698 of file nvector_nrnparallel_ld.cpp.

◆ N_VMinQuotient_NrnParallelLD()

realtype N_VMinQuotient_NrnParallelLD ( N_Vector  num,
N_Vector  denom 
)

Definition at line 842 of file nvector_nrnparallel_ld.cpp.

◆ N_VNew_NrnParallelLD()

N_Vector N_VNew_NrnParallelLD ( MPI_Comm  comm,
long int  local_length,
long int  global_length 
)

Definition at line 157 of file nvector_nrnparallel_ld.cpp.

◆ N_VNewEmpty_NrnParallelLD()

N_Vector N_VNewEmpty_NrnParallelLD ( MPI_Comm  comm,
long int  local_length,
long int  global_length 
)

Definition at line 80 of file nvector_nrnparallel_ld.cpp.

◆ N_VNewVectorArray_NrnParallelLD()

N_Vector* N_VNewVectorArray_NrnParallelLD ( int  count,
MPI_Comm  comm,
long int  local_length,
long int  global_length 
)

Definition at line 282 of file nvector_nrnparallel_ld.cpp.

◆ N_VNewVectorArrayEmpty_NrnParallelLD()

N_Vector* N_VNewVectorArrayEmpty_NrnParallelLD ( int  count,
MPI_Comm  comm,
long int  local_length,
long int  global_length 
)

Definition at line 312 of file nvector_nrnparallel_ld.cpp.

◆ N_VPrint_NrnParallelLD()

void N_VPrint_NrnParallelLD ( N_Vector  v)

Definition at line 354 of file nvector_nrnparallel_ld.cpp.

◆ N_VProd_NrnParallelLD()

void N_VProd_NrnParallelLD ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)

Definition at line 526 of file nvector_nrnparallel_ld.cpp.

◆ N_VScale_NrnParallelLD()

void N_VScale_NrnParallelLD ( realtype  c,
N_Vector  x,
N_Vector  z 
)

Definition at line 552 of file nvector_nrnparallel_ld.cpp.

◆ N_VSetArrayPointer_NrnParallelLD()

void N_VSetArrayPointer_NrnParallelLD ( realtype *  v_data,
N_Vector  v 
)

Definition at line 428 of file nvector_nrnparallel_ld.cpp.

◆ N_VSpace_NrnParallelLD()

void N_VSpace_NrnParallelLD ( N_Vector  v,
long int *  lrw,
long int *  liw 
)

Definition at line 409 of file nvector_nrnparallel_ld.cpp.

◆ N_VWL2Norm_NrnParallelLD()

realtype N_VWL2Norm_NrnParallelLD ( N_Vector  x,
N_Vector  w 
)

Definition at line 724 of file nvector_nrnparallel_ld.cpp.

◆ N_VWrmsNorm_NrnParallelLD()

realtype N_VWrmsNorm_NrnParallelLD ( N_Vector  x,
N_Vector  w 
)

Definition at line 647 of file nvector_nrnparallel_ld.cpp.

◆ N_VWrmsNormMask_NrnParallelLD()

realtype N_VWrmsNormMask_NrnParallelLD ( N_Vector  x,
N_Vector  w,
N_Vector  id 
)

Definition at line 671 of file nvector_nrnparallel_ld.cpp.