MPI_mgparc
Functions
addbound.cpp File Reference

Functions

void AddBound (const int ib, const int nx, const int ny, double w[], const double s[])
 

Function Documentation

void AddBound ( const int  ib,
const int  nx,
const int  ny,
double  w[],
const double  s[] 
)

Computes w := w + s at the interface/boundary nodes on the boundary ib . South (ib==1), East (ib==2), North (ib==3), West (ib==4)

Parameters
[in]ibmy local boundary
[in]nxnumber of discretization intervals in x-direction
[in]nynumber of discretization intervals in y-direction
[in,out]wvector for all nodes of local discretization
[in]sshort vector with values on boundary ib