MPI_jacsolve
 All Files Functions Variables
Functions
skalar.cpp File Reference
#include <mpi.h>
#include "vdop.h"

Functions

double skalar (const int n, const double x[], const double y[], const MPI::Intracomm &icomm)
 

Function Documentation

double skalar ( const int  n,
const double  x[],
const double  y[],
const MPI::Intracomm &  icomm 
)

Computes the parallel scalar product of two double vectors. One vecctor has to be accumulated the other one has to be distributed.

Parameters
[in]nlength of the vectors
[in]xvector
[in]yvector
See Also
VecAccu