Escript
Revision_4320
Main Page
Namespaces
Classes
Files
File List
File Members
finley
src
ReferenceElementSets.h
Go to the documentation of this file.
1
2
/*****************************************************************************
3
*
4
* Copyright (c) 2003-2013 by University of Queensland
5
* http://www.uq.edu.au
6
*
7
* Primary Business: Queensland, Australia
8
* Licensed under the Open Software License version 3.0
9
* http://www.opensource.org/licenses/osl-3.0.php
10
*
11
* Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12
* Development since 2012 by School of Earth Sciences
13
*
14
*****************************************************************************/
15
16
17
/*************************************************************************************************************************************
18
19
Finley: Reference element sets manage the reference elements for the full and reduced integration order
20
21
************************************************************************************************************************************/
22
23
#ifndef INC_FINLEY_REFERENCEELEMENTSETS
24
#define INC_FINLEY_REFERENCEELEMENTSETS
25
26
27
/************************************************************************************/
28
29
#include "
ReferenceElements.h
"
30
31
/************************************************************************************/
32
33
34
typedef
struct
Finley_ReferenceElementSet
{
35
Finley_ReferenceElement
*
referenceElementReducedQuadrature
;
36
Finley_ReferenceElement
*
referenceElement
;
37
dim_t
numNodes
;
38
index_t
reference_counter
;
39
}
Finley_ReferenceElementSet
;
40
41
42
43
Finley_ReferenceElementSet
*
Finley_ReferenceElementSet_alloc
(
Finley_ElementTypeId
id
,
index_t
order,
index_t
reduced_order);
44
void
Finley_ReferenceElementSet_dealloc
(
Finley_ReferenceElementSet
* in);
45
Finley_ReferenceElementSet
*
Finley_ReferenceElementSet_reference
(
Finley_ReferenceElementSet
* in);
46
Finley_ShapeFunction
*
Finley_ReferenceElementSet_borrowBasisFunctions
(
Finley_ReferenceElementSet
* in,
bool_t
reducedShapefunction,
bool_t
reducedIntegrationOrder);
47
Finley_ShapeFunction
*
Finley_ReferenceElementSet_borrowParametrization
(
Finley_ReferenceElementSet
* in,
bool_t
reducedIntegrationOrder);
48
Finley_ReferenceElement
*
Finley_ReferenceElementSet_borrowReferenceElement
(
Finley_ReferenceElementSet
* in,
bool_t
reducedIntegrationOrder);
49
#define Finley_ReferenceElementSet_getNumNodes(__IN__) ((__IN__)->numNodes)
50
51
#endif
/* #ifndef INC_FINLEY_REFERENCEELEMENTSETS */
Generated on Fri Mar 15 2013 14:07:51 for Escript by
1.8.1.2