escript  Revision_
Ripley.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2020 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014-2017 by Centre for Geoscience Computing (GeoComp)
14 * Development from 2019 by School of Earth and Environmental Sciences
15 **
16 *****************************************************************************/
17 
18 #ifndef __RIPLEY_RIPLEY_H__
19 #define __RIPLEY_RIPLEY_H__
20 
21 /*****************************************************************************
22  * Ripley is a FE domain library with regular hexagonal/rectangular
23  * elements
24  ****************************************************************************/
25 
26 #include <ripley/system_dep.h>
27 
28 #include <escript/EsysMPI.h>
29 
30 #include <boost/shared_ptr.hpp>
31 #include <list>
32 #include <map>
33 #include <string>
34 #include <vector>
35 
36 namespace ripley {
37 
42 
43 typedef std::pair<index_t,index_t> IndexPair;
44 typedef std::vector<index_t> IndexVector;
45 typedef std::vector<real_t> DoubleVector;
46 typedef std::vector<int> RankVector;
47 typedef std::map<std::string,int> TagMap;
48 
49 enum {
52  Nodes=3,
58  Points=6
59 };
60 
61 } // namespace ripley
62 
63 #endif /* __RIPLEY_RIPLEY_H__ */
64 
std::complex< real_t > cplx_t
complex data type
Definition: DataTypes.h:55
double real_t
type of all real-valued scalars in escript
Definition: DataTypes.h:52
index_t dim_t
Definition: DataTypes.h:66
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:61
Definition: ripley/src/AbstractAssembler.h:26
std::vector< real_t > DoubleVector
Definition: Ripley.h:45
std::pair< index_t, index_t > IndexPair
Definition: Ripley.h:43
std::vector< index_t > IndexVector
Definition: Ripley.h:44
@ ReducedElements
Definition: Ripley.h:55
@ Points
Definition: Ripley.h:58
@ ReducedNodes
Definition: Ripley.h:53
@ FaceElements
Definition: Ripley.h:56
@ ReducedFaceElements
Definition: Ripley.h:57
@ DegreesOfFreedom
Definition: Ripley.h:50
@ Nodes
Definition: Ripley.h:52
@ Elements
Definition: Ripley.h:54
@ ReducedDegreesOfFreedom
Definition: Ripley.h:51
std::map< std::string, int > TagMap
Definition: Ripley.h:47
std::vector< int > RankVector
Definition: Ripley.h:46