/[escript]/branches/domexper/dudley/src/ReferenceElements.h
ViewVC logotype

Diff of /branches/domexper/dudley/src/ReferenceElements.h

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

revision 3151 by jfenwick, Fri Sep 3 03:49:32 2010 UTC revision 3152 by jfenwick, Fri Sep 3 05:48:31 2010 UTC
# Line 54  typedef struct Dudley_ReferenceElementIn Line 54  typedef struct Dudley_ReferenceElementIn
54    char* Name;                                /* the name in text form e.g. Line1,Rec12,... */    char* Name;                                /* the name in text form e.g. Line1,Rec12,... */
55    dim_t numNodes;                            /* number of nodes defining the element*/    dim_t numNodes;                            /* number of nodes defining the element*/
56        
   ElementTypeId LinearTypeId;                /* id of the linear version of the element */  
     
57    Dudley_QuadTypeId Quadrature;                /* quadrature scheme */    Dudley_QuadTypeId Quadrature;                /* quadrature scheme */
   Dudley_ShapeFunctionTypeId Parametrization;  /* shape function for parametrization of the element */  
58    Dudley_ShapeFunctionTypeId BasisFunctions;   /* shape function for the basis functions */    Dudley_ShapeFunctionTypeId BasisFunctions;   /* shape function for the basis functions */
59    
60  /*********************************************************************************************************************************** */    /*********************************************************************************************************************************** */  
# Line 76  typedef struct Dudley_ReferenceElementIn Line 73  typedef struct Dudley_ReferenceElementIn
73  /*  this struct holds the realization of a reference element */  /*  this struct holds the realization of a reference element */
74    
75  typedef struct Dudley_ReferenceElement {  typedef struct Dudley_ReferenceElement {
76      Dudley_ReferenceElementInfo* Type;     /* type of the reference element */      Dudley_ReferenceElementInfo* Type;     /* type of the reference element  - dudley only supports linear elements*/
     Dudley_ReferenceElementInfo* LinearType;     /* type of the linear reference element */  
77      index_t reference_counter;         /* reference counter */      index_t reference_counter;         /* reference counter */
78          dim_t integrationOrder;                /* used integration order */          dim_t integrationOrder;                /* used integration order */
79      dim_t numNodes;      dim_t numNodes;
80          dim_t numLocalDim;          dim_t numLocalDim;
     dim_t numLinearNodes;  
     Dudley_ShapeFunction* Parametrization;  
81      Dudley_ShapeFunction* BasisFunctions;      Dudley_ShapeFunction* BasisFunctions;
     Dudley_ShapeFunction* LinearBasisFunctions;  
82          double* DBasisFunctionDv;                              /* pointer to derivatives to basis function corresponding to the Parametrization quad points */          double* DBasisFunctionDv;                              /* pointer to derivatives to basis function corresponding to the Parametrization quad points */
83          bool_t DBasisFunctionDvShared;                /* TRUE to indicate that DBasisFunctionDv is shared with another object which is managing it */          bool_t DBasisFunctionDvShared;                /* TRUE to indicate that DBasisFunctionDv is shared with another object which is managing it */
84    

Legend:
Removed from v.3151  
changed lines
  Added in v.3152

  ViewVC Help
Powered by ViewVC 1.1.26