LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
types.h
1
9#ifndef INCG_e1ab6004cad5460f9baa3153c65f157a
10#define INCG_e1ab6004cad5460f9baa3153c65f157a
11
12namespace lf::base {
20using size_type = unsigned int;
24using glb_idx_t = unsigned int;
28using sub_idx_t = unsigned int;
32using dim_t = unsigned int;
36const unsigned int kIdxNil = static_cast<unsigned int>(-1);
39constexpr double kPi = 3.14159265358979323846;
40} // namespace lf::base
41
42#endif // INCG_e1ab6004cad5460f9baa3153c65f157a
const unsigned int kIdxNil
Index flagged as invalid.
Definition types.h:36
unsigned int size_type
general type for variables related to size of arrays
Definition types.h:20
unsigned int sub_idx_t
type for local indices of sub-entities
Definition types.h:28
unsigned int dim_t
type for dimensions and co-dimensions and numbers derived from them
Definition types.h:32
unsigned int glb_idx_t
type for global index of mesh entities (nodes, edges, cells)
Definition types.h:24
Contains basic functionality that is used by other parts of LehrFEM++.
Definition base.h:15
constexpr double kPi
Definition types.h:39