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

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

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

revision 2770 by jfenwick, Wed Nov 25 01:24:51 2009 UTC revision 2814 by caltinay, Tue Dec 8 01:50:29 2009 UTC
# Line 384  void Finley_Mesh_saveVTK(const char *fil Line 384  void Finley_Mesh_saveVTK(const char *fil
384              myNumCells = Finley_ElementFile_getMyNumElements(elements);              myNumCells = Finley_ElementFile_getMyNumElements(elements);
385              myFirstCell = Finley_ElementFile_getFirstElement(elements);              myFirstCell = Finley_ElementFile_getFirstElement(elements);
386              NN = elements->numNodes;              NN = elements->numNodes;
387                if (hasReducedElements) {
388                    quadNodes_p=elements->referenceElementSet->referenceElementReducedQuadrature->Parametrization->QuadNodes;
389                } else {
390                    quadNodes_p=elements->referenceElementSet->referenceElement->Parametrization->QuadNodes;
391                }
392              if (nodeType==FINLEY_REDUCED_NODES) {              if (nodeType==FINLEY_REDUCED_NODES) {
393          typeId = elements->referenceElementSet->referenceElement->LinearType->TypeId;                  typeId = elements->referenceElementSet->referenceElement->LinearType->TypeId;
                 if (hasReducedElements) {  
                     quadNodes_p=elements->referenceElementSet->referenceElementReducedQuadrature->Parametrization->QuadNodes;  
                 } else {  
                     quadNodes_p=elements->referenceElementSet->referenceElement->Parametrization->QuadNodes;  
                 }  
394              } else {              } else {
395                  typeId = elements->referenceElementSet->referenceElement->Type->TypeId;                  typeId = elements->referenceElementSet->referenceElement->Type->TypeId;
                 if (hasReducedElements) {  
                     quadNodes_p=elements->referenceElementSet->referenceElementReducedQuadrature->Parametrization->QuadNodes;  
                 } else {  
                     quadNodes_p=elements->referenceElementSet->referenceElement->Parametrization->QuadNodes;  
                 }  
396              }              }
397              switch (typeId) {              switch (typeId) {
398                  case Point1:                  case Point1:

Legend:
Removed from v.2770  
changed lines
  Added in v.2814

  ViewVC Help
Powered by ViewVC 1.1.26