/[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 3195 by jfenwick, Wed Sep 15 00:23:42 2010 UTC revision 3196 by jfenwick, Wed Sep 22 01:18:52 2010 UTC
# Line 18  Line 18 
18  #include <omp.h>  #include <omp.h>
19  #endif  #endif
20    
21    #include "ShapeTable.h"
22    
23  /**************************************************************/  /**************************************************************/
24    
# Line 57  void Dudley_ElementFile_Jacobeans_deallo Line 58  void Dudley_ElementFile_Jacobeans_deallo
58  Dudley_ElementFile_Jacobeans* Dudley_ElementFile_borrowJacobeans(Dudley_ElementFile* self, Dudley_NodeFile* nodes,  Dudley_ElementFile_Jacobeans* Dudley_ElementFile_borrowJacobeans(Dudley_ElementFile* self, Dudley_NodeFile* nodes,
59                                                                   bool_t reducedShapefunction, bool_t reducedIntegrationOrder) {                                                                   bool_t reducedShapefunction, bool_t reducedIntegrationOrder) {
60    Dudley_ElementFile_Jacobeans *out = NULL;    Dudley_ElementFile_Jacobeans *out = NULL;
61    Dudley_ShapeFunction *shape=NULL, *basis;    Dudley_ShapeFunction /* *shape=NULL, */ *basis;
62    Dudley_ReferenceElement*  refElement=NULL;    Dudley_ReferenceElement*  refElement=NULL;
63    double *dBdv;    double *dBdv;
64        
# Line 74  Dudley_ElementFile_Jacobeans* Dudley_Ele Line 75  Dudley_ElementFile_Jacobeans* Dudley_Ele
75    if (out->status < nodes->status)    if (out->status < nodes->status)
76    {    {
77       basis=out->BasisFunctions;       basis=out->BasisFunctions;
78       shape=Dudley_ReferenceElementSet_borrowParametrization(self->referenceElementSet, reducedIntegrationOrder);  //     shape=Dudley_ReferenceElementSet_borrowParametrization(self->referenceElementSet, reducedIntegrationOrder);
79       refElement= Dudley_ReferenceElementSet_borrowReferenceElement(self->referenceElementSet, reducedIntegrationOrder);       refElement= Dudley_ReferenceElementSet_borrowReferenceElement(self->referenceElementSet, reducedIntegrationOrder);
80    
81       out->numDim=nodes->numDim;       out->numDim=nodes->numDim;
82       out->numQuadTotal=shape->numQuadNodes;  //     out->numQuadTotal=shape->numQuadNodes;
83         out->numQuadTotal=QuadNums[self->numDim][!reducedIntegrationOrder];
84       out->numShapesTotal=basis->Type->numShapes;       out->numShapesTotal=basis->Type->numShapes;
85       out->numElements=self->numElements;       out->numElements=self->numElements;
86            

Legend:
Removed from v.3195  
changed lines
  Added in v.3196

  ViewVC Help
Powered by ViewVC 1.1.26