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

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

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

revision 1028 by gross, Wed Mar 14 00:15:24 2007 UTC revision 1072 by gross, Thu Mar 29 06:44:30 2007 UTC
# Line 457  int Finley_Quad_getNumNodesLine(int orde Line 457  int Finley_Quad_getNumNodesLine(int orde
457    
458  int Finley_Quad_getNumNodesTri(int order) {  int Finley_Quad_getNumNodesTri(int order) {
459    int numQuadNodesLine;    int numQuadNodesLine;
460    if (order==1) {    if (order<=1) {
461        return 1;        return 1;
462    } else {    } else {
463        numQuadNodesLine=Finley_Quad_getNumNodesLine(order+1);        numQuadNodesLine=Finley_Quad_getNumNodesLine(order+1);
# Line 481  int Finley_Quad_getNumNodesRec(int order Line 481  int Finley_Quad_getNumNodesRec(int order
481    
482  int Finley_Quad_getNumNodesTet(int order) {  int Finley_Quad_getNumNodesTet(int order) {
483    int numQuadNodesLine;    int numQuadNodesLine;
484    numQuadNodesLine=Finley_Quad_getNumNodesLine(order+2);    if (order<=1) {
485    if (Finley_noError()) {        return 1;
       return numQuadNodesLine*numQuadNodesLine*numQuadNodesLine;  
486    } else {    } else {
487        return -1;       numQuadNodesLine=Finley_Quad_getNumNodesLine(order+2);
488         if (Finley_noError()) {
489             return numQuadNodesLine*numQuadNodesLine*numQuadNodesLine;
490         } else {
491             return -1;
492         }
493    }    }
494  }  }
495    

Legend:
Removed from v.1028  
changed lines
  Added in v.1072

  ViewVC Help
Powered by ViewVC 1.1.26