escript  Revision_
Ripley.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2018 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 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16 
17 #ifndef __RIPLEY_RIPLEY_H__
18 #define __RIPLEY_RIPLEY_H__
19 
20 /*****************************************************************************
21  * Ripley is a FE domain library with regular hexagonal/rectangular
22  * elements
23  ****************************************************************************/
24 
25 #include <ripley/system_dep.h>
26 
27 #include <escript/EsysMPI.h>
28 
29 #include <boost/shared_ptr.hpp>
30 #include <list>
31 #include <map>
32 #include <string>
33 #include <vector>
34 
35 namespace ripley {
36 
41 
42 typedef std::pair<index_t,index_t> IndexPair;
43 typedef std::vector<index_t> IndexVector;
44 typedef std::vector<real_t> DoubleVector;
45 typedef std::vector<int> RankVector;
46 typedef std::map<std::string,int> TagMap;
47 
48 enum {
51  Nodes=3,
52  ReducedNodes=14,
53  Elements=4,
58 };
59 
60 } // namespace ripley
61 
62 #endif /* __RIPLEY_RIPLEY_H__ */
63 
BlockOps.h
ripley::ReducedElements
Definition: Ripley.h:66
ripley
Definition: ripley/src/AbstractAssembler.h:24
escript::DataTypes::real_t
double real_t
type of all real-valued scalars in escript
Definition: DataTypes.h:73
ripley::Points
Definition: Ripley.h:69
ripley::TagMap
std::map< std::string, int > TagMap
Definition: Ripley.h:58
ripley::Nodes
Definition: Ripley.h:63
ripley::ReducedDegreesOfFreedom
Definition: Ripley.h:62
ripley::Elements
Definition: Ripley.h:65
paso::util::cumsum
index_t cumsum(dim_t N, index_t *array)
calculates the cumulative sum in array and returns the total sum
Definition: PasoUtil.cpp:109
ripley::DegreesOfFreedom
Definition: Ripley.h:61
ripley::IndexPair
std::pair< index_t, index_t > IndexPair
Definition: Ripley.h:54
ripley::ReducedNodes
Definition: Ripley.h:64
paso::Solver_RILU_free
void Solver_RILU_free(Solver_RILU *in)
Definition: RILU.cpp:47
paso::Solver_updateIncompleteSchurComplement
void Solver_updateIncompleteSchurComplement(SparseMatrix_ptr A_CC, SparseMatrix_ptr A_CF, double *invA_FF, index_t *A_FF_pivot, SparseMatrix_ptr A_FC)
Definition: SchurComplement.cpp:39
ripley::RankVector
std::vector< int > RankVector
Definition: Ripley.h:57
paso::BlockOps_solveAll
void BlockOps_solveAll(dim_t n_block, dim_t n, double *D, index_t *pivot, double *x)
Definition: BlockOps.h:229
paso::util::copy
void copy(dim_t N, double *out, const double *in)
out = in
Definition: PasoUtil.h:110
Paso.h
paso::util::comparIndex
int comparIndex(const void *index1, const void *index2)
this int-comparison function is used by qsort/bsearch in various places
Definition: PasoUtil.cpp:48
escript::DataTypes::dim_t
index_t dim_t
Definition: DataTypes.h:87
paso::Solver_RILU::RILU_of_Schur
Solver_RILU * RILU_of_Schur
Definition: Preconditioner.h:139
paso::Solver_RILU
RILU preconditioner.
Definition: Preconditioner.h:121
ripley::DoubleVector
std::vector< real_t > DoubleVector
Definition: Ripley.h:56
ripley::FaceElements
Definition: Ripley.h:67
paso::Solver_solveRILU
void Solver_solveRILU(Solver_RILU *rilu, double *x, double *b)
Definition: RILU.cpp:301
paso::SparseMatrix_ptr
boost::shared_ptr< SparseMatrix > SparseMatrix_ptr
Definition: SparseMatrix.h:46
paso::Solver_RILU::inv_A_FF
double * inv_A_FF
Definition: Preconditioner.h:127
escript::gettime
double gettime()
returns the current ticks for timing
Definition: EsysMPI.h:185
escript::DataTypes::index_t
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:82
ripley::IndexVector
std::vector< index_t > IndexVector
Definition: Ripley.h:55
Preconditioner.h
paso::SparseMatrix_MatrixVector_CSR_OFFSET0
void SparseMatrix_MatrixVector_CSR_OFFSET0(const double alpha, const_SparseMatrix_ptr A, const double *in, const double beta, double *out)
Definition: SparseMatrix_MatrixVector.cpp:292
ripley::ReducedFaceElements
Definition: Ripley.h:68
PasoUtil.h
paso::Solver_getRILU
Solver_RILU * Solver_getRILU(SparseMatrix_ptr A, bool verbose)
Definition: RILU.cpp:83
paso
Definition: BiCGStab.cpp:25
escript::DataTypes::cplx_t
std::complex< real_t > cplx_t
complex data type
Definition: DataTypes.h:76