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

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

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

revision 3203 by jfenwick, Thu Sep 23 23:51:26 2010 UTC revision 3204 by jfenwick, Thu Sep 23 23:59:39 2010 UTC
# Line 122  void Assemble_getAssembleParameters(Dudl Line 122  void Assemble_getAssembleParameters(Dudl
122        Dudley_setError(TYPE_ERROR,"Assemble_getAssembleParameters: spacial dimension for row and column shape function must match.");        Dudley_setError(TYPE_ERROR,"Assemble_getAssembleParameters: spacial dimension for row and column shape function must match.");
123    }    }
124        
125    if (elements->numNodes < parm->row_jac->numShapesTotal) {    if (elements->numNodes < parm->row_jac->numShapes) {
126        Dudley_setError(TYPE_ERROR,"Assemble_getAssembleParameters: too many nodes are expected by row.");          Dudley_setError(TYPE_ERROR,"Assemble_getAssembleParameters: too many nodes are expected by row.");  
127    }    }
128    if (elements->numNodes < parm->row_jac->numShapesTotal) {    if (elements->numNodes < parm->row_jac->numShapes) {
129        Dudley_setError(TYPE_ERROR,"Assemble_getAssembleParameters: too many nodes are expected by col.");          Dudley_setError(TYPE_ERROR,"Assemble_getAssembleParameters: too many nodes are expected by col.");  
130    }    }
131    if ( parm->row_jac->numElements !=elements->numElements) {    if ( parm->row_jac->numElements !=elements->numElements) {
# Line 142  void Assemble_getAssembleParameters(Dudl Line 142  void Assemble_getAssembleParameters(Dudl
142    parm->NN=elements->numNodes;    parm->NN=elements->numNodes;
143    parm->numElements=elements->numElements;    parm->numElements=elements->numElements;
144    parm->numDim=parm->row_jac->numDim;    parm->numDim=parm->row_jac->numDim;
145    parm->row_numShapesTotal=parm->row_jac->numShapesTotal;    parm->numShapes=parm->row_jac->numShapes;
146  //  parm->row_numShapes=parm->row_jac->BasisFunctions->Type->numShapes;  //  parm->numShapes=parm->row_jac->BasisFunctions->Type->numShapes;
   parm->row_numShapes=parm->row_numShapesTotal;  
147            
148    
149  }  }

Legend:
Removed from v.3203  
changed lines
  Added in v.3204

  ViewVC Help
Powered by ViewVC 1.1.26