/[escript]/trunk/finley/src/Util.c
ViewVC logotype

Diff of /trunk/finley/src/Util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3521 by jfenwick, Mon Oct 11 01:48:14 2010 UTC revision 3522 by gross, Tue May 24 00:57:58 2011 UTC
# Line 77  void Finley_Util_Gather_int(dim_t len,in Line 77  void Finley_Util_Gather_int(dim_t len,in
77  /*        out(1:numData,index[p])+=in(1:numData,p) where p = {k=1...len , index[k]<upperBound}*/  /*        out(1:numData,index[p])+=in(1:numData,p) where p = {k=1...len , index[k]<upperBound}*/
78    
79    
80  void Finley_Util_AddScatter(dim_t len,index_t* index,dim_t numData,double* in,double * out, index_t upperBound){  void Finley_Util_AddScatter(const dim_t len, const index_t* index, const dim_t numData, const  double* in,double * out, const index_t upperBound){
81     dim_t i,s;     dim_t i,s;
82     for (s=0;s<len;s++) {     for (s=0;s<len;s++) {
83         for(i=0;i<numData;i++) {         for(i=0;i<numData;i++) {

Legend:
Removed from v.3521  
changed lines
  Added in v.3522

  ViewVC Help
Powered by ViewVC 1.1.26