/[escript]/branches/doubleplusgood/dudley/src/ElementFile_markNodes.c
ViewVC logotype

Diff of /branches/doubleplusgood/dudley/src/ElementFile_markNodes.c

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

revision 3152 by jfenwick, Fri Sep 3 05:48:31 2010 UTC revision 3210 by jfenwick, Mon Sep 27 04:13:19 2010 UTC
# Line 26  Line 26 
26    
27  void Dudley_ElementFile_markNodes(index_t* mask,index_t offset,dim_t numNodes,Dudley_ElementFile* in,bool_t useLinear) {  void Dudley_ElementFile_markNodes(index_t* mask,index_t offset,dim_t numNodes,Dudley_ElementFile* in,bool_t useLinear) {
28      dim_t i,NN,e;      dim_t i,NN,e;
29      Dudley_ReferenceElement* refElement=NULL;  //    Dudley_ReferenceElement* refElement=NULL;
30        
31      if (in!=NULL)      if (in!=NULL)
32      {      {
33      refElement=Dudley_ReferenceElementSet_borrowReferenceElement(in->referenceElementSet, FALSE);        //  refElement=Dudley_ReferenceElementSet_borrowReferenceElement(in->referenceElementSet, FALSE);      
34      NN=in->numNodes;      NN=in->numNodes;
35      #pragma omp parallel for private(e,i) schedule(static)      #pragma omp parallel for private(e,i) schedule(static)
36      for (e=0;e<in->numElements;e++)      for (e=0;e<in->numElements;e++)
# Line 47  void Dudley_ElementFile_markDOFsConnecte Line 47  void Dudley_ElementFile_markDOFsConnecte
47  {  {
48      dim_t i,NN,e,j;      dim_t i,NN,e,j;
49      index_t color;      index_t color;
50      Dudley_ReferenceElement* refElement=NULL;  //    Dudley_ReferenceElement* refElement=NULL;
51      register index_t k;      register index_t k;
52        
53      if (in!=NULL)      if (in!=NULL)
54      {      {
55      refElement=Dudley_ReferenceElementSet_borrowReferenceElement(in->referenceElementSet, FALSE);        //  refElement=Dudley_ReferenceElementSet_borrowReferenceElement(in->referenceElementSet, FALSE);      
56      NN=in->numNodes;      NN=in->numNodes;
57      for (color=in->minColor;color<=in->maxColor;color++)      for (color=in->minColor;color<=in->maxColor;color++)
58      {      {

Legend:
Removed from v.3152  
changed lines
  Added in v.3210

  ViewVC Help
Powered by ViewVC 1.1.26