Skip to content

Commit 574e4fc

Browse files
committed
BUG: Remove unused 'Centripetal' input. We use 'cent_acc' instead
1 parent 9bd11c5 commit 574e4fc

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

include/inputs.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -436,13 +436,7 @@ class Inputs {
436436
bool get_O_cooling();
437437

438438
/**********************************************************************
439-
\brief returns settings["
440-
\param
441-
**/
442-
bool get_use_centripetal();
443-
444-
/**********************************************************************
445-
\brief returns settings["
439+
\brief returns settings["
446440
\param
447441
**/
448442
bool get_use_coriolis();

share/run/UA/inputs/defaults.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100

101101
"Sources" : {
102102
"Grid" : {
103-
"Centripetal" : true,
104103
"Coriolis" : true,
105104
"Cent_acc": true },
106105
"Neutrals" : {

src/inputs.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,8 @@ bool Inputs::get_O_cooling() {
762762
// Return centripetal acceleration
763763
// -----------------------------------------------------------------------
764764

765-
bool Inputs::get_use_centripetal() {
766-
return get_setting_bool("Sources", "Grid", "Centripetal");
765+
bool Inputs::get_cent_acc() {
766+
return get_setting_bool("Sources", "Grid", "Cent_acc");
767767
}
768768

769769
// -----------------------------------------------------------------------
@@ -774,10 +774,6 @@ bool Inputs::get_use_coriolis() {
774774
return get_setting_bool("Sources", "Grid", "Coriolis");
775775
}
776776

777-
bool Inputs::get_cent_acc() {
778-
return get_setting_bool("Sources", "Grid", "Cent_acc");
779-
}
780-
781777
// -----------------------------------------------------------------------
782778
// Return restart OUT directory
783779
// -----------------------------------------------------------------------

0 commit comments

Comments
 (0)