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

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

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

revision 750 by elspeth, Wed Mar 22 02:46:56 2006 UTC revision 751 by bcumming, Mon Jun 26 01:46:34 2006 UTC
# Line 61  void Finley_Assemble_gradient(Finley_Nod Line 61  void Finley_Assemble_gradient(Finley_Nod
61         NS_DOF=elements->ReferenceElement->Type->numShapes;         NS_DOF=elements->ReferenceElement->Type->numShapes;
62         gradS=elements->ReferenceElement->dSdv;         gradS=elements->ReferenceElement->dSdv;
63         numNodes=nodes->numNodes;         numNodes=nodes->numNodes;
64    } else if (data_type==FINLEY_DEGREES_OF_FREEDOM) {    }
65    /* lock these two options out for the MPI version */
66    #ifndef PASO_MPI
67     else if (data_type==FINLEY_DEGREES_OF_FREEDOM) {
68         type=DOF;         type=DOF;
69         resort_nodes=id;         resort_nodes=id;
70         NN_DOF=elements->ReferenceElement->Type->numNodes;         NN_DOF=elements->ReferenceElement->Type->numNodes;
# Line 75  void Finley_Assemble_gradient(Finley_Nod Line 78  void Finley_Assemble_gradient(Finley_Nod
78         NS_DOF=elements->LinearReferenceElement->Type->numShapes;         NS_DOF=elements->LinearReferenceElement->Type->numShapes;
79         gradS=elements->LinearReferenceElement->dSdv;         gradS=elements->LinearReferenceElement->dSdv;
80         numNodes=nodes->reducedNumDegreesOfFreedom;         numNodes=nodes->reducedNumDegreesOfFreedom;
81     } else {     }
82    #endif
83    else {
84         Finley_setError(TYPE_ERROR,"Finley_Assemble_gradient: Cannot calculate gradient of data");         Finley_setError(TYPE_ERROR,"Finley_Assemble_gradient: Cannot calculate gradient of data");
85    }    }
86    if (getFunctionSpaceType(grad_data)==FINLEY_CONTACT_ELEMENTS_2) {    if (getFunctionSpaceType(grad_data)==FINLEY_CONTACT_ELEMENTS_2) {

Legend:
Removed from v.750  
changed lines
  Added in v.751

  ViewVC Help
Powered by ViewVC 1.1.26