LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
base.h
1
9#ifndef __986f32316282425d9be137cb399482f3
10#define __986f32316282425d9be137cb399482f3
11
15namespace lf::base {
16
24using size_type = unsigned int;
28using glb_idx_t = unsigned int;
32using sub_idx_t = unsigned int;
36using dim_t = unsigned int;
40const unsigned int kIdxNil = static_cast<unsigned int>(-1);
43constexpr double kPi = 3.14159265358979323846;
44
45} // namespace lf::base
46
47// public header files that make up the base library:
48#include "eigen_tools.h"
49#include "invalid_type_exception.h"
50#include "lehrfem_info.h"
51#include "lf_assert.h"
52#include "lf_exception.h"
53#include "predicate_true.h"
54#include "ref_el.h"
55#include "scalar_traits.h"
56#include "span.h"
57#include "spdlog_utils.h"
58#include "timer.h"
59
60#endif // __986f32316282425d9be137cb399482f3
unsigned int dim_t
type for dimensions and co-dimensions and numbers derived from them
Definition: base.h:36
const unsigned int kIdxNil
Index flagged as invalid.
Definition: base.h:40
unsigned int sub_idx_t
type for local indices of sub-entities
Definition: base.h:32
unsigned int size_type
general type for variables related to size of arrays
Definition: base.h:24
unsigned int glb_idx_t
type for global index of mesh entities (nodes, edges, cells)
Definition: base.h:28
Contains basic functionality that is used by other parts of LehrFEM++.
Definition: base.h:15
constexpr double kPi
Definition: base.h:43