BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
globals.hpp
Go to the documentation of this file.
1/*
2 * BELFEM -- The Berkeley Lab Finite Element Framework
3 * Copyright (c) 2026, The Regents of the University of California, through
4 * Lawrence Berkeley National Laboratory (subject to receipt of any required
5 * approvals from the U.S. Dept. of Energy). All rights reserved.
6 *
7 * Developers: Christian Messe, Gregory Giard
8 *
9 * See the top-level LICENSE file for the complete license and disclaimer.
10 */
11
12#ifndef BELFEM_GLOBALS_HPP
13#define BELFEM_GLOBALS_HPP
14
15#include "typedefs.hpp"
16
17
18#ifdef BELFEM_INITIALIZE_GLOBALS // only set from within communicator
19#define greal real
20#define gstring string
21#else
22#define greal extern real
23#define gstring extern string
24#endif
25
41namespace belfem
42{
46
49
52
55}
56
57#undef greal
58
59#endif //BELFEM_GLOBALS_HPP
#define gstring
Definition globals.hpp:23
#define greal
Definition globals.hpp:22
USER GUIDES:
Definition cl_Capacitor.cpp:16
greal gTbulk
Definition globals.hpp:45
greal gRhoMin
minimim resistrivity in Ohm*m, default: 0
Definition globals.hpp:48
gstring gBelfemDataPath
path to belfem data files, set by environment variable $BELFEM_DATA
Definition globals.hpp:54
greal gRhoMax
maximim resistrivity in Ohm*m, default: 1e10
Definition globals.hpp:51