/[escript]/temp/finley/src/Assemble_setNormal.c
ViewVC logotype

Diff of /temp/finley/src/Assemble_setNormal.c

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

revision 776 by elspeth, Wed Mar 22 02:46:56 2006 UTC revision 777 by gross, Wed Jul 12 08:54:45 2006 UTC
# Line 53  void Finley_Assemble_setNormal(Finley_No Line 53  void Finley_Assemble_setNormal(Finley_No
53    }    }
54    /* check the dimensions of normal */    /* check the dimensions of normal */
55    if (! (numDim==numDim_local || numDim-1==numDim_local)) {    if (! (numDim==numDim_local || numDim-1==numDim_local)) {
56         Finley_setError(TYPE_ERROR,"__FILE__: Cannot calculate normal vector");         Finley_setError(TYPE_ERROR,"Finley_Assemble_setNormal: Cannot calculate normal vector");
57    } else if (! isDataPointShapeEqual(normal,1,&(numDim))) {    } else if (! isDataPointShapeEqual(normal,1,&(numDim))) {
58         Finley_setError(TYPE_ERROR,"__FILE__: illegal number of samples of normal Data object");         Finley_setError(TYPE_ERROR,"Finley_Assemble_setNormal: illegal number of samples of normal Data object");
59    } else if (! numSamplesEqual(normal,numQuad,elements->numElements)) {    } else if (! numSamplesEqual(normal,numQuad,elements->numElements)) {
60         Finley_setError(TYPE_ERROR,"__FILE__: illegal number of samples of normal Data object");         Finley_setError(TYPE_ERROR,"Finley_Assemble_setNormal: illegal number of samples of normal Data object");
61    } else if (! isDataPointShapeEqual(normal,1,&(numDim))) {    } else if (! isDataPointShapeEqual(normal,1,&(numDim))) {
62         Finley_setError(TYPE_ERROR,"__FILE__: illegal point data shape of normal Data object");         Finley_setError(TYPE_ERROR,"Finley_Assemble_setNormal: illegal point data shape of normal Data object");
63    }  else if (!isExpanded(normal)) {    }  else if (!isExpanded(normal)) {
64         Finley_setError(TYPE_ERROR,"__FILE__: expanded Data object is expected for normal.");         Finley_setError(TYPE_ERROR,"Finley_Assemble_setNormal: expanded Data object is expected for normal.");
65    }    }
66        
67    /* now we can start */    /* now we can start */

Legend:
Removed from v.776  
changed lines
  Added in v.777

  ViewVC Help
Powered by ViewVC 1.1.26