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

Diff of /trunk/finley/src/ElementFile_setTags.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 1062 by gross, Mon Mar 26 06:17:53 2007 UTC
# Line 25  Line 25 
25    
26  #include "ElementFile.h"  #include "ElementFile.h"
27  #include "Util.h"  #include "Util.h"
28    #include "Assemble.h"
29    
30  /**************************************************************/  /**************************************************************/
31    
# Line 37  void Finley_ElementFile_setTags(Finley_E Line 38  void Finley_ElementFile_setTags(Finley_E
38      Finley_resetError();      Finley_resetError();
39      if (self==NULL) return;      if (self==NULL) return;
40      numElements=self->numElements;      numElements=self->numElements;
41      numQuad=self->ReferenceElement->numQuadNodes;      if (Finley_Assemble_reducedIntegrationOrder(mask)) {
42           numQuad=self->ReferenceElementReducedOrder->numQuadNodes;
43        } else {
44           numQuad=self->ReferenceElement->numQuadNodes;
45        }
46    
47      if (1!=getDataPointSize(mask)) {      if (1!=getDataPointSize(mask)) {
48         Finley_setError(TYPE_ERROR,"Finley_ElementFile_setTags: number of components of mask is 1.");         Finley_setError(TYPE_ERROR,"Finley_ElementFile_setTags: number of components of mask is 1.");

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

  ViewVC Help
Powered by ViewVC 1.1.26