/[escript]/trunk/finley/src/ReferenceElementSets.h
ViewVC logotype

Contents of /trunk/finley/src/ReferenceElementSets.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2881 - (show annotations)
Thu Jan 28 02:03:15 2010 UTC (9 years, 10 months ago) by jfenwick
File MIME type: text/plain
File size: 2079 byte(s)
Don't panic.
Updating copyright stamps

1
2 /*******************************************************
3 *
4 * Copyright (c) 2003-2010 by University of Queensland
5 * Earth Systems Science Computational Center (ESSCC)
6 * http://www.uq.edu.au/esscc
7 *
8 * Primary Business: Queensland, Australia
9 * Licensed under the Open Software License version 3.0
10 * http://www.opensource.org/licenses/osl-3.0.php
11 *
12 *******************************************************/
13
14
15 /***************************************************************************************************************
16
17 Finley: Reference elements set managing the reference elements for the full and reduced intergation order
18
19 **************************************************************************************************************/
20
21 #ifndef INC_FINLEY_REFERENCEELEMENTSETS
22 #define INC_FINLEY_REFERENCEELEMENTSETS
23
24
25 /**************************************************************/
26
27 #include "ReferenceElements.h"
28
29 /**************************************************************/
30
31
32 typedef struct Finley_ReferenceElementSet {
33 Finley_ReferenceElement* referenceElementReducedQuadrature;
34 Finley_ReferenceElement* referenceElement;
35 dim_t numNodes;
36 index_t reference_counter;
37 } Finley_ReferenceElementSet;
38
39
40
41 Finley_ReferenceElementSet* Finley_ReferenceElementSet_alloc(ElementTypeId id, index_t order, index_t reduced_order);
42 void Finley_ReferenceElementSet_dealloc(Finley_ReferenceElementSet* in);
43 Finley_ReferenceElementSet* Finley_ReferenceElementSet_reference(Finley_ReferenceElementSet* in);
44 Finley_ShapeFunction* Finley_ReferenceElementSet_borrowBasisFunctions(Finley_ReferenceElementSet* in, bool_t reducedShapefunction, bool_t reducedIntegrationOrder);
45 Finley_ShapeFunction* Finley_ReferenceElementSet_borrowParametrization(Finley_ReferenceElementSet* in, bool_t reducedIntegrationOrder);
46 Finley_ReferenceElement* Finley_ReferenceElementSet_borrowReferenceElement(Finley_ReferenceElementSet* in, bool_t reducedIntegrationOrder);
47 #define Finley_ReferenceElementSet_getNumNodes(__IN__) ((__IN__)->numNodes)
48
49 #endif /* #ifndef INC_FINLEY_REFERENCEELEMENTSETS */

  ViewVC Help
Powered by ViewVC 1.1.26