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

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

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

revision 1739 by gross, Fri Aug 29 06:19:53 2008 UTC revision 1766 by gross, Mon Sep 8 02:51:14 2008 UTC
# Line 34  void Finley_NodeFile_gatherEntries(dim_t Line 34  void Finley_NodeFile_gatherEntries(dim_t
34  {  {
35     dim_t i;     dim_t i;
36     register index_t k;     register index_t k;
37     register const index_t range=max_index-min_index;     const index_t range=max_index-min_index;
38     const  size_t numDim_size=(size_t)numDim*sizeof(double);     const  size_t numDim_size=(size_t)numDim*sizeof(double);
   
39     #pragma omp parallel for private(i,k) schedule(static)     #pragma omp parallel for private(i,k) schedule(static)
40     for (i=0;i<n;i++) {     for (i=0;i<n;i++) {
41        k=index[i]-min_index;        k=index[i]-min_index;
# Line 156  void Finley_NodeFile_gather_global(index Line 155  void Finley_NodeFile_gather_global(index
155              #pragma omp parallel for private(n) schedule(static)              #pragma omp parallel for private(n) schedule(static)
156              for (n=0; n< out->numNodes; ++n) {              for (n=0; n< out->numNodes; ++n) {
157                  if (out->Id[n] == undefined_node ) {                  if (out->Id[n] == undefined_node ) {
158                   sprintf(error_msg,"Finley_NodeFile_gather_global: Node id %d is referenced but is not defined.",out->Id[n]);                   sprintf(error_msg,"Finley_NodeFile_gather_global: Node id %d at position %d is referenced but is not defined.",out->Id[n],n);
159                   Finley_setError(VALUE_ERROR,error_msg);                   Finley_setError(VALUE_ERROR,error_msg);
160                 }                 }
161               }               }

Legend:
Removed from v.1739  
changed lines
  Added in v.1766

  ViewVC Help
Powered by ViewVC 1.1.26