Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gregor.olenik
OGL
Commits
65a2138b
Commit
65a2138b
authored
Apr 10, 2021
by
Gregor Olenik
Browse files
Use Foam switches to read dictionary entries
parent
0ba7f962
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/common.H
View file @
65a2138b
...
...
@@ -201,6 +201,8 @@ class lduLduCommonBase {
// should be sorted
const
bool
sort_
;
const
bool
verbose_
;
const
word
app_executor_name_
;
const
word
device_executor_name_
;
...
...
@@ -236,8 +238,9 @@ public:
nCells_
(
nCells
),
nNeighbours_
(
nNeighbours
),
nElems_
(
nCells_
+
2
*
nNeighbours_
),
export_
(
controlDict
.
lookupOrDefault
<
bool
>
(
"export"
,
false
)),
sort_
(
controlDict
.
lookupOrDefault
<
bool
>
(
"sort"
,
true
)),
export_
(
controlDict
.
lookupOrDefault
<
Switch
>
(
"export"
,
false
)),
sort_
(
controlDict
.
lookupOrDefault
<
Switch
>
(
"sort"
,
true
)),
verbose_
(
controlDict
.
lookupOrDefault
<
Switch
>
(
"verbose"
,
false
)),
device_executor_name_
(
controlDict
.
lookupOrDefault
(
"executor"
,
word
(
"reference"
))),
app_executor_name_
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment