Flow123d
3.9.1-34e181a
src
system
index_types.hh
Go to the documentation of this file.
1
/*!
2
*
3
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4
*
5
* This program is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU General Public License version 3 as published by the
7
* Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
*
13
*
14
* @file index_types.hh
15
* @brief
16
*/
17
18
#ifndef INDEX_TYPES_HH
19
#define INDEX_TYPES_HH
20
21
#include <armadillo>
22
23
/// Define type that represents indices of large arrays (elements, nodes, dofs etc.)
24
typedef
int
LongIdx
;
25
typedef
int
IntIdx
;
26
27
typedef
arma::Col<LongIdx>
GlobalDofVec
;
28
typedef
arma::Col<IntIdx>
LocDofVec
;
29
30
#define MPI_LONG_IDX MPI_INT
31
32
const
unsigned
int
undef_idx
=-1;
33
34
#endif // INDEX_TYPES_HH
LocDofVec
arma::Col< IntIdx > LocDofVec
Definition:
index_types.hh:28
IntIdx
int IntIdx
Definition:
index_types.hh:25
undef_idx
const unsigned int undef_idx
Definition:
index_types.hh:32
LongIdx
int LongIdx
Define type that represents indices of large arrays (elements, nodes, dofs etc.)
Definition:
index_types.hh:24
GlobalDofVec
arma::Col< LongIdx > GlobalDofVec
Definition:
index_types.hh:27
Generated by
1.8.17