/[escript]/branches/doubleplusgood/finley/src/ReferenceElementSets.cpp
ViewVC logotype

Diff of /branches/doubleplusgood/finley/src/ReferenceElementSets.cpp

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

revision 4326 by jfenwick, Wed Feb 27 06:09:33 2013 UTC revision 4327 by jfenwick, Wed Mar 20 05:09:11 2013 UTC
# Line 37  Finley_ReferenceElementSet* Finley_Refer Line 37  Finley_ReferenceElementSet* Finley_Refer
37          bf_info=Finley_ShapeFunction_getInfo(id_info->BasisFunctions);          bf_info=Finley_ShapeFunction_getInfo(id_info->BasisFunctions);
38      if (! Finley_noError()) return NULL;      if (! Finley_noError()) return NULL;
39    
40      out=MEMALLOC(1,Finley_ReferenceElementSet);      out=new Finley_ReferenceElementSet;
41      if (Finley_checkPtr(out)) return NULL;      if (Finley_checkPtr(out)) return NULL;
42      out->reference_counter=0;      out->reference_counter=0;
43          out->referenceElement =NULL;          out->referenceElement =NULL;
# Line 75  void Finley_ReferenceElementSet_dealloc( Line 75  void Finley_ReferenceElementSet_dealloc(
75          if (in->reference_counter<1) {          if (in->reference_counter<1) {
76              Finley_ReferenceElement_dealloc(in->referenceElement);              Finley_ReferenceElement_dealloc(in->referenceElement);
77              Finley_ReferenceElement_dealloc(in->referenceElementReducedQuadrature);              Finley_ReferenceElement_dealloc(in->referenceElementReducedQuadrature);
78              MEMFREE(in);              delete in;
79          }          }
80      }      }
81  }  }

Legend:
Removed from v.4326  
changed lines
  Added in v.4327

  ViewVC Help
Powered by ViewVC 1.1.26