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

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

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

revision 781 by gross, Fri Jul 14 08:47:38 2006 UTC revision 1064 by gross, Tue Mar 27 06:21:02 2007 UTC
# Line 62  void Finley_ElementFile_Jacobeans_deallo Line 62  void Finley_ElementFile_Jacobeans_deallo
62  Finley_ElementFile_Jacobeans* Finley_ElementFile_borrowJacobeans(Finley_ElementFile* self, Finley_NodeFile* nodes,  Finley_ElementFile_Jacobeans* Finley_ElementFile_borrowJacobeans(Finley_ElementFile* self, Finley_NodeFile* nodes,
63                                                                   bool_t reducedShapefunction, bool_t reducedIntegrationOrder) {                                                                   bool_t reducedShapefunction, bool_t reducedIntegrationOrder) {
64    Finley_ElementFile_Jacobeans *out = NULL;    Finley_ElementFile_Jacobeans *out = NULL;
65      Finley_RefElement *shape=NULL;
66        
67    if (reducedShapefunction) {    if (reducedShapefunction) {
68         if (reducedIntegrationOrder) {         if (reducedIntegrationOrder) {
69             out=self->jacobeans_reducedS_reducedQ;             out=self->jacobeans_reducedS_reducedQ;
70               shape=self->ReferenceElement;
71         } else {         } else {
72             out=self->jacobeans_reducedS;             out=self->jacobeans_reducedS;
73         }         }
# Line 78  Finley_ElementFile_Jacobeans* Finley_Ele Line 80  Finley_ElementFile_Jacobeans* Finley_Ele
80    }    }
81    if (out->status < nodes->status) {    if (out->status < nodes->status) {
82       dim_t numNodes=self->ReferenceElement->Type->numNodes;       dim_t numNodes=self->ReferenceElement->Type->numNodes;
      Finley_RefElement *shape;  
83       if (reducedIntegrationOrder) {       if (reducedIntegrationOrder) {
84             shape=self->ReferenceElement;             shape=self->ReferenceElementReducedOrder;
85       } else {       } else {
86             shape=self->ReferenceElement;             shape=self->ReferenceElement;
87       }       }

Legend:
Removed from v.781  
changed lines
  Added in v.1064

  ViewVC Help
Powered by ViewVC 1.1.26