~vcs-imports/escript-finley/trunk

« back to all changes in this revision

Viewing changes to finley/src/ReferenceElementSets.c

  • Committer: jfenwick
  • Date: 2010-10-11 01:48:14 UTC
  • Revision ID: svn-v4:77569008-7704-0410-b7a0-a92fef0b09fd:trunk:3259
Merging dudley and scons updates from branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
**************************************************************************************************************/
20
20
 
21
21
#include "ReferenceElementSets.h"
 
22
#include "esysUtils/mem.h"
 
23
 
 
24
#define MAX(X,Y) ((X)>(Y)?(X):(Y))
22
25
 
23
26
/**************************************************************/
24
27
 
25
28
 
26
 
Finley_ReferenceElementSet* Finley_ReferenceElementSet_alloc(ElementTypeId id, index_t order, index_t reduced_order) {
 
29
Finley_ReferenceElementSet* Finley_ReferenceElementSet_alloc(Finley_ElementTypeId id, index_t order, index_t reduced_order) {
27
30
        Finley_ReferenceElementInfo* id_info=NULL;
28
31
        Finley_ShapeFunctionInfo* bf_info=NULL;
29
32
        Finley_ReferenceElementSet *out=NULL;