BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
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
41
namespace
belfem
42
{
45
greal
gTbulk
;
46
48
greal
gRhoMin
;
49
51
greal
gRhoMax
;
52
54
gstring
gBelfemDataPath
;
55
}
56
57
#undef greal
58
59
#endif
//BELFEM_GLOBALS_HPP
gstring
#define gstring
Definition
globals.hpp:23
greal
#define greal
Definition
globals.hpp:22
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::gTbulk
greal gTbulk
Definition
globals.hpp:45
belfem::gRhoMin
greal gRhoMin
minimim resistrivity in Ohm*m, default: 0
Definition
globals.hpp:48
belfem::gBelfemDataPath
gstring gBelfemDataPath
path to belfem data files, set by environment variable $BELFEM_DATA
Definition
globals.hpp:54
belfem::gRhoMax
greal gRhoMax
maximim resistrivity in Ohm*m, default: 1e10
Definition
globals.hpp:51
typedefs.hpp
src
core
globals.hpp
Generated by
1.18.0