/[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 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC
# Line 1  Line 1 
 /*  
  ************************************************************  
  *          Copyright 2006 by ACcESS MNRF                   *  
  *                                                          *  
  *              http://www.access.edu.au                    *  
  *       Primary Business: Queensland, Australia            *  
  *  Licensed under the Open Software License version 3.0    *  
  *     http://www.opensource.org/licenses/osl-3.0.php       *  
  *                                                          *  
  ************************************************************  
 */  
1    
2    /* $Id$ */
3    
4  /**************************************************************/  /*******************************************************
5     *
6  /**************************************************************/   *           Copyright 2003-2007 by ACceSS MNRF
7     *       Copyright 2007 by University of Queensland
8  /*  Author: gross@access.edu.au */   *
9  /*  Version: $Id$ */   *                http://esscc.uq.edu.au
10     *        Primary Business: Queensland, Australia
11  /**************************************************************/   *  Licensed under the Open Software License version 3.0
12     *     http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16  #include "ElementFile.h"  #include "ElementFile.h"
17  #include "Assemble.h"  #include "Assemble.h"
# Line 62  void Finley_ElementFile_Jacobeans_deallo Line 55  void Finley_ElementFile_Jacobeans_deallo
55  Finley_ElementFile_Jacobeans* Finley_ElementFile_borrowJacobeans(Finley_ElementFile* self, Finley_NodeFile* nodes,  Finley_ElementFile_Jacobeans* Finley_ElementFile_borrowJacobeans(Finley_ElementFile* self, Finley_NodeFile* nodes,
56                                                                   bool_t reducedShapefunction, bool_t reducedIntegrationOrder) {                                                                   bool_t reducedShapefunction, bool_t reducedIntegrationOrder) {
57    Finley_ElementFile_Jacobeans *out = NULL;    Finley_ElementFile_Jacobeans *out = NULL;
58      Finley_RefElement *shape=NULL;
59        
60    if (reducedShapefunction) {    if (reducedShapefunction) {
61         if (reducedIntegrationOrder) {         if (reducedIntegrationOrder) {
62             out=self->jacobeans_reducedS_reducedQ;             out=self->jacobeans_reducedS_reducedQ;
63               shape=self->ReferenceElement;
64         } else {         } else {
65             out=self->jacobeans_reducedS;             out=self->jacobeans_reducedS;
66         }         }
# Line 78  Finley_ElementFile_Jacobeans* Finley_Ele Line 73  Finley_ElementFile_Jacobeans* Finley_Ele
73    }    }
74    if (out->status < nodes->status) {    if (out->status < nodes->status) {
75       dim_t numNodes=self->ReferenceElement->Type->numNodes;       dim_t numNodes=self->ReferenceElement->Type->numNodes;
      Finley_RefElement *shape;  
76       if (reducedIntegrationOrder) {       if (reducedIntegrationOrder) {
77             shape=self->ReferenceElement;             shape=self->ReferenceElementReducedOrder;
78       } else {       } else {
79             shape=self->ReferenceElement;             shape=self->ReferenceElement;
80       }       }

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

  ViewVC Help
Powered by ViewVC 1.1.26