petsc-3.3-p7 2013-05-11

PetscThreadReductionEnd

Completes the given reduction

Synopsis

#include "petscthreadcomm.h" 
PetscErrorCode PetscThreadReductionEnd(PetscThreadCommRedCtx red,void *outdata)

Input Parameters

Notes

To be called by the main thread only

Level:developer
Location:
src/sys/threadcomm/threadcommred.c
Index of all PetscThreadComm routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sys/threadcomm/examples/tutorials/ex3.c.html
red - the reduction context
outdata - the reduction result