~vcs-imports/escript-finley/trunk

« back to all changes in this revision

Viewing changes to finley/src/Util.h

  • Committer: jfenwick
  • Date: 2010-10-11 01:48:14 UTC
  • Revision ID: svn-v4:77569008-7704-0410-b7a0-a92fef0b09fd:trunk:3259
Merging dudley and scons updates from branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define INC_FINLEY_UTIL
23
23
 
24
24
#include "Finley.h"
 
25
#include "esysUtils/Esys_MPI.h"
25
26
 
26
27
/**************************************************************/
27
28
 
44
45
bool_t Finley_Util_isAny(dim_t N,index_t* array,index_t value);
45
46
index_t Finley_Util_cumsum(dim_t,index_t*);
46
47
bool_t Finley_Util_anyNonZeroDouble(dim_t N,double* values);
47
 
void Finley_Util_setValuesInUse(const index_t *values, const dim_t numValues, dim_t *numValuesInUse, index_t **valuesInUse, Paso_MPIInfo* mpiinfo);
 
48
void Finley_Util_setValuesInUse(const index_t *values, const dim_t numValues, dim_t *numValuesInUse, index_t **valuesInUse, Esys_MPIInfo* mpiinfo);
48
49
 
49
 
#ifdef PASO_MPI
 
50
#ifdef ESYS_MPI
50
51
void Finley_printDoubleArray( FILE *fid, dim_t n, double *array, char *name  );
51
52
void Finley_printIntArray( FILE *fid, dim_t n, int *array, char *name  );
52
53
void Finley_printMaskArray( FILE *fid, dim_t n, int *array, char *name  );