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

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

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

revision 616 by elspeth, Wed Mar 22 02:46:56 2006 UTC revision 853 by gross, Wed Sep 20 05:56:36 2006 UTC
# Line 59  void Finley_Assemble_getSize(Finley_Node Line 59  void Finley_Assemble_getSize(Finley_Node
59    /* check the dimensions of element_size */    /* check the dimensions of element_size */
60    
61    if (numDim!=elements->ReferenceElement->Type->numDim) {    if (numDim!=elements->ReferenceElement->Type->numDim) {
62       Finley_setError(TYPE_ERROR,"__FILE__: Gradient: Spatial and element dimension must match.");       Finley_setError(TYPE_ERROR,"Finley_Assemble_getSize: Gradient: Spatial and element dimension must match.");
63    } else if (! numSamplesEqual(element_size,numQuad,elements->numElements)) {    } else if (! numSamplesEqual(element_size,numQuad,elements->numElements)) {
64         Finley_setError(TYPE_ERROR,"__FILE__: illegal number of samples of element size Data object");         Finley_setError(TYPE_ERROR,"Finley_Assemble_getSize: illegal number of samples of element size Data object");
65    } else if (! isDataPointShapeEqual(element_size,0,&(numDim))) {    } else if (! isDataPointShapeEqual(element_size,0,&(numDim))) {
66         Finley_setError(TYPE_ERROR,"__FILE__: illegal data point shape of element size Data object");         Finley_setError(TYPE_ERROR,"Finley_Assemble_getSize: illegal data point shape of element size Data object");
67    }  else if (!isExpanded(element_size)) {    }  else if (!isExpanded(element_size)) {
68         Finley_setError(TYPE_ERROR,"__FILE__: expanded Data object is expected for element size.");         Finley_setError(TYPE_ERROR,"Finley_Assemble_getSize: expanded Data object is expected for element size.");
69    }    }
70    /* now we can start: */    /* now we can start: */
71    

Legend:
Removed from v.616  
changed lines
  Added in v.853

  ViewVC Help
Powered by ViewVC 1.1.26