nvector_parallel.h File Reference

#include <mpi.h>
#include <sundials/sundials_nvector.h>

Go to the source code of this file.

Classes

struct  _N_VectorContent_Parallel

Defines

#define PVEC_INTEGER_MPI_TYPE   MPI_LONG
#define NV_CONTENT_P(v)   ( (N_VectorContent_Parallel)(v->content) )
#define NV_LOCLENGTH_P(v)   ( NV_CONTENT_P(v)->local_length )
#define NV_GLOBLENGTH_P(v)   ( NV_CONTENT_P(v)->global_length )
#define NV_OWN_DATA_P(v)   ( NV_CONTENT_P(v)->own_data )
#define NV_DATA_P(v)   ( NV_CONTENT_P(v)->data )
#define NV_COMM_P(v)   ( NV_CONTENT_P(v)->comm )
#define NV_Ith_P(v, i)   ( NV_DATA_P(v)[i] )

Typedefs

typedef struct
_N_VectorContent_Parallel
N_VectorContent_Parallel

Functions

SUNDIALS_EXPORT N_Vector N_VNew_Parallel (MPI_Comm comm, long int local_length, long int global_length)
SUNDIALS_EXPORT N_Vector N_VNewEmpty_Parallel (MPI_Comm comm, long int local_length, long int global_length)
SUNDIALS_EXPORT N_Vector N_VMake_Parallel (MPI_Comm comm, long int local_length, long int global_length, realtype *v_data)
SUNDIALS_EXPORT N_VectorN_VCloneVectorArray_Parallel (int count, N_Vector w)
SUNDIALS_EXPORT N_VectorN_VCloneVectorArrayEmpty_Parallel (int count, N_Vector w)
SUNDIALS_EXPORT void N_VDestroyVectorArray_Parallel (N_Vector *vs, int count)
SUNDIALS_EXPORT void N_VPrint_Parallel (N_Vector v)
SUNDIALS_EXPORT N_Vector N_VCloneEmpty_Parallel (N_Vector w)
SUNDIALS_EXPORT N_Vector N_VClone_Parallel (N_Vector w)
SUNDIALS_EXPORT void N_VDestroy_Parallel (N_Vector v)
SUNDIALS_EXPORT void N_VSpace_Parallel (N_Vector v, long int *lrw, long int *liw)
SUNDIALS_EXPORT realtypeN_VGetArrayPointer_Parallel (N_Vector v)
SUNDIALS_EXPORT void N_VSetArrayPointer_Parallel (realtype *v_data, N_Vector v)
SUNDIALS_EXPORT void N_VLinearSum_Parallel (realtype a, N_Vector x, realtype b, N_Vector y, N_Vector z)
SUNDIALS_EXPORT void N_VConst_Parallel (realtype c, N_Vector z)
SUNDIALS_EXPORT void N_VProd_Parallel (N_Vector x, N_Vector y, N_Vector z)
SUNDIALS_EXPORT void N_VDiv_Parallel (N_Vector x, N_Vector y, N_Vector z)
SUNDIALS_EXPORT void N_VScale_Parallel (realtype c, N_Vector x, N_Vector z)
SUNDIALS_EXPORT void N_VAbs_Parallel (N_Vector x, N_Vector z)
SUNDIALS_EXPORT void N_VInv_Parallel (N_Vector x, N_Vector z)
SUNDIALS_EXPORT void N_VAddConst_Parallel (N_Vector x, realtype b, N_Vector z)
SUNDIALS_EXPORT realtype N_VDotProd_Parallel (N_Vector x, N_Vector y)
SUNDIALS_EXPORT realtype N_VMaxNorm_Parallel (N_Vector x)
SUNDIALS_EXPORT realtype N_VWrmsNorm_Parallel (N_Vector x, N_Vector w)
SUNDIALS_EXPORT realtype N_VWrmsNormMask_Parallel (N_Vector x, N_Vector w, N_Vector id)
SUNDIALS_EXPORT realtype N_VMin_Parallel (N_Vector x)
SUNDIALS_EXPORT realtype N_VWL2Norm_Parallel (N_Vector x, N_Vector w)
SUNDIALS_EXPORT realtype N_VL1Norm_Parallel (N_Vector x)
SUNDIALS_EXPORT void N_VCompare_Parallel (realtype c, N_Vector x, N_Vector z)
SUNDIALS_EXPORT booleantype N_VInvTest_Parallel (N_Vector x, N_Vector z)
SUNDIALS_EXPORT booleantype N_VConstrMask_Parallel (N_Vector c, N_Vector x, N_Vector m)
SUNDIALS_EXPORT realtype N_VMinQuotient_Parallel (N_Vector num, N_Vector denom)

Define Documentation

#define NV_COMM_P (  )     ( NV_CONTENT_P(v)->comm )
#define NV_CONTENT_P (  )     ( (N_VectorContent_Parallel)(v->content) )
#define NV_DATA_P (  )     ( NV_CONTENT_P(v)->data )
#define NV_GLOBLENGTH_P (  )     ( NV_CONTENT_P(v)->global_length )
#define NV_Ith_P ( v,
 )     ( NV_DATA_P(v)[i] )
#define NV_LOCLENGTH_P (  )     ( NV_CONTENT_P(v)->local_length )
#define NV_OWN_DATA_P (  )     ( NV_CONTENT_P(v)->own_data )
#define PVEC_INTEGER_MPI_TYPE   MPI_LONG

Typedef Documentation


Function Documentation

SUNDIALS_EXPORT void N_VAbs_Parallel ( N_Vector  x,
N_Vector  z 
)
SUNDIALS_EXPORT void N_VAddConst_Parallel ( N_Vector  x,
realtype  b,
N_Vector  z 
)
SUNDIALS_EXPORT N_Vector N_VClone_Parallel ( N_Vector  w  ) 
SUNDIALS_EXPORT N_Vector N_VCloneEmpty_Parallel ( N_Vector  w  ) 
SUNDIALS_EXPORT N_Vector* N_VCloneVectorArray_Parallel ( int  count,
N_Vector  w 
)
SUNDIALS_EXPORT N_Vector* N_VCloneVectorArrayEmpty_Parallel ( int  count,
N_Vector  w 
)
SUNDIALS_EXPORT void N_VCompare_Parallel ( realtype  c,
N_Vector  x,
N_Vector  z 
)
SUNDIALS_EXPORT void N_VConst_Parallel ( realtype  c,
N_Vector  z 
)
SUNDIALS_EXPORT booleantype N_VConstrMask_Parallel ( N_Vector  c,
N_Vector  x,
N_Vector  m 
)
SUNDIALS_EXPORT void N_VDestroy_Parallel ( N_Vector  v  ) 
SUNDIALS_EXPORT void N_VDestroyVectorArray_Parallel ( N_Vector vs,
int  count 
)
SUNDIALS_EXPORT void N_VDiv_Parallel ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)
SUNDIALS_EXPORT realtype N_VDotProd_Parallel ( N_Vector  x,
N_Vector  y 
)
SUNDIALS_EXPORT realtype* N_VGetArrayPointer_Parallel ( N_Vector  v  ) 
SUNDIALS_EXPORT void N_VInv_Parallel ( N_Vector  x,
N_Vector  z 
)
SUNDIALS_EXPORT booleantype N_VInvTest_Parallel ( N_Vector  x,
N_Vector  z 
)
SUNDIALS_EXPORT realtype N_VL1Norm_Parallel ( N_Vector  x  ) 
SUNDIALS_EXPORT void N_VLinearSum_Parallel ( realtype  a,
N_Vector  x,
realtype  b,
N_Vector  y,
N_Vector  z 
)
SUNDIALS_EXPORT N_Vector N_VMake_Parallel ( MPI_Comm  comm,
long int  local_length,
long int  global_length,
realtype v_data 
)
SUNDIALS_EXPORT realtype N_VMaxNorm_Parallel ( N_Vector  x  ) 
SUNDIALS_EXPORT realtype N_VMin_Parallel ( N_Vector  x  ) 
SUNDIALS_EXPORT realtype N_VMinQuotient_Parallel ( N_Vector  num,
N_Vector  denom 
)
SUNDIALS_EXPORT N_Vector N_VNew_Parallel ( MPI_Comm  comm,
long int  local_length,
long int  global_length 
)
SUNDIALS_EXPORT N_Vector N_VNewEmpty_Parallel ( MPI_Comm  comm,
long int  local_length,
long int  global_length 
)
SUNDIALS_EXPORT void N_VPrint_Parallel ( N_Vector  v  ) 
SUNDIALS_EXPORT void N_VProd_Parallel ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)
SUNDIALS_EXPORT void N_VScale_Parallel ( realtype  c,
N_Vector  x,
N_Vector  z 
)
SUNDIALS_EXPORT void N_VSetArrayPointer_Parallel ( realtype v_data,
N_Vector  v 
)
SUNDIALS_EXPORT void N_VSpace_Parallel ( N_Vector  v,
long int *  lrw,
long int *  liw 
)
SUNDIALS_EXPORT realtype N_VWL2Norm_Parallel ( N_Vector  x,
N_Vector  w 
)
SUNDIALS_EXPORT realtype N_VWrmsNorm_Parallel ( N_Vector  x,
N_Vector  w 
)
SUNDIALS_EXPORT realtype N_VWrmsNormMask_Parallel ( N_Vector  x,
N_Vector  w,
N_Vector  id 
)

Generated on Wed Dec 30 11:05:04 2009 for SimTKcore by  doxygen 1.6.1