BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
cl_GT_Arguments.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,
4 * through 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_CL_GT_ARGUMENTS_HPP
13#define BELFEM_CL_GT_ARGUMENTS_HPP
14
15#include "typedefs.hpp"
16#include "cl_Arguments.hpp"
17#include "GT_globals.hpp"
18
19namespace belfem
20{
21 namespace gastables
22 {
23 enum class State
24 {
30 };
31
32//------------------------------------------------------------------------------
33
42 {
43 State mState = State::Undefined;
44 real mTmin = 200.0;
45 real mTmax = 2000.0;
46 real mDeltaT = 50.0;
47 string mGasName = "N2";
48 bool mMolarFlag = false;
49
50//------------------------------------------------------------------------------
51 public:
52//------------------------------------------------------------------------------
53
54 Arguments( int & argc, char * argv[] );
55
56//------------------------------------------------------------------------------
57
58 ~Arguments() = default;
59
60//------------------------------------------------------------------------------
61
62 const State &
63 state() const;
64
65//------------------------------------------------------------------------------
66
67 const real &
68 T_min() const;
69//------------------------------------------------------------------------------
70
71 const real &
72 T_max() const;
73
74//------------------------------------------------------------------------------
75
76 const real &
77 delta_T() const;
78
79//------------------------------------------------------------------------------
80
81 const string &
82 gasname() const;
83
84//------------------------------------------------------------------------------
85
86 bool
87 molar() const;
88
89//------------------------------------------------------------------------------
90 protected:
91//------------------------------------------------------------------------------
92
93 void
95
96//------------------------------------------------------------------------------
97 };
98//------------------------------------------------------------------------------
99
100
101//------------------------------------------------------------------------------
102 }
103}
104#endif //BELFEM_CL_GT_ARGUMENTS_HPP
Command-line argument parsing.
Definition cl_Arguments.hpp:27
const real & delta_T() const
Definition cl_GT_Arguments.cpp:120
const real & T_max() const
Definition cl_GT_Arguments.cpp:112
bool molar() const
Definition cl_GT_Arguments.cpp:136
const State & state() const
Definition cl_GT_Arguments.cpp:96
const real & T_min() const
Definition cl_GT_Arguments.cpp:104
const string & gasname() const
Definition cl_GT_Arguments.cpp:128
Arguments(int &argc, char *argv[])
Definition cl_GT_Arguments.cpp:22
void check_arguments()
Definition cl_GT_Arguments.cpp:34
Definition cl_Gas.hpp:33
State
Definition cl_GT_Arguments.hpp:24
@ PrintHelp
Definition cl_GT_Arguments.hpp:25
@ PrintUsage
Definition cl_GT_Arguments.hpp:27
@ PrintTable
Definition cl_GT_Arguments.hpp:26
@ Undefined
Definition cl_GT_Arguments.hpp:29
@ PrintBanner
Definition cl_GT_Arguments.hpp:28
USER GUIDES:
Definition cl_Capacitor.cpp:16
double real
Definition typedefs.hpp:36