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

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

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

revision 3080 by jfenwick, Tue Aug 3 04:28:03 2010 UTC revision 3086 by jfenwick, Thu Aug 5 05:07:58 2010 UTC
# Line 14  Line 14 
14    
15  /**************************************************************/  /**************************************************************/
16    
17  /*   Finley: ElementFile */  /*   Dudley: ElementFile */
18    
19  /*   mark the used nodes with offeset: */  /*   mark the used nodes with offeset: */
20    
# Line 24  Line 24 
24    
25  /**************************************************************/  /**************************************************************/
26    
27  void Finley_ElementFile_markNodes(index_t* mask,index_t offset,dim_t numNodes,Finley_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,NN2,e;     dim_t i,NN,NN2,e;
29     index_t *lin_nodes;     index_t *lin_nodes;
30     Finley_ReferenceElement* refElement=NULL;     Dudley_ReferenceElement* refElement=NULL;
31        
32     if (in!=NULL) {     if (in!=NULL) {
33           refElement=Finley_ReferenceElementSet_borrowReferenceElement(in->referenceElementSet, FALSE);               refElement=Dudley_ReferenceElementSet_borrowReferenceElement(in->referenceElementSet, FALSE);    
34           NN2=in->numNodes;           NN2=in->numNodes;
35           if (useLinear) {           if (useLinear) {
36               NN=refElement->numLinearNodes;               NN=refElement->numLinearNodes;
# Line 53  void Finley_ElementFile_markNodes(index_ Line 53  void Finley_ElementFile_markNodes(index_
53      }      }
54  }  }
55    
56  void Finley_ElementFile_markDOFsConnectedToRange(index_t* mask,index_t offset,index_t marker,index_t firstDOF,index_t lastDOF,index_t *dofIndex,Finley_ElementFile*in ,bool_t useLinear)  void Dudley_ElementFile_markDOFsConnectedToRange(index_t* mask,index_t offset,index_t marker,index_t firstDOF,index_t lastDOF,index_t *dofIndex,Dudley_ElementFile*in ,bool_t useLinear)
57  {  {
58     dim_t i,NN,NN2,e,j;     dim_t i,NN,NN2,e,j;
59     index_t color,*lin_nodes;     index_t color,*lin_nodes;
60     Finley_ReferenceElement* refElement=NULL;     Dudley_ReferenceElement* refElement=NULL;
61     register index_t k;     register index_t k;
62        
63     if (in!=NULL) {     if (in!=NULL) {
64           refElement=Finley_ReferenceElementSet_borrowReferenceElement(in->referenceElementSet, FALSE);               refElement=Dudley_ReferenceElementSet_borrowReferenceElement(in->referenceElementSet, FALSE);    
65           NN2=in->numNodes;           NN2=in->numNodes;
66           if (useLinear) {           if (useLinear) {
67               NN=refElement->numLinearNodes;               NN=refElement->numLinearNodes;

Legend:
Removed from v.3080  
changed lines
  Added in v.3086

  ViewVC Help
Powered by ViewVC 1.1.26