Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Prefer tearing variables with start value for initialization #3079

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Compiler/BackEnd/BackendDAEUtil.mo
Original file line number Diff line number Diff line change
Expand Up @@ -7521,14 +7521,12 @@ end createGlobalKnownVarsEquations;
************************************************/

public function getIndexReductionMethodString
" function: getIndexReductionMethodString"
output String strIndexReductionMethod;
algorithm
strIndexReductionMethod := Config.getIndexReductionMethod();
end getIndexReductionMethodString;

public function getIndexReductionMethod
" function: getIndexReductionMethod"
input Option<String> ostrIndexReductionMethod;
output tuple<BackendDAEFunc.StructurallySingularSystemHandlerFunc,String,BackendDAEFunc.stateDeselectionFunc,String> IndexReductionMethod;
protected
Expand All @@ -7545,7 +7543,6 @@ algorithm
end getIndexReductionMethod;

protected function selectIndexReductionMethod
" function: selectIndexReductionMethod"
input String strIndexReductionMethod;
input list<tuple<Type_a,String,Type_b,String>> inIndexReductionMethods;
output tuple<Type_a,String,Type_b,String> outIndexReductionMethod;
Expand Down Expand Up @@ -7582,14 +7579,12 @@ end selectIndexReductionMethod;
************************************************/

public function getMatchingAlgorithmString
" function: getMatchingAlgorithmString"
output String strMatchingAlgorithm;
algorithm
strMatchingAlgorithm := Config.getMatchingAlgorithm();
end getMatchingAlgorithmString;

public function getMatchingAlgorithm
" function: getIndexReductionMethod"
input Option<String> ostrMatchingAlgorithm;
output tuple<BackendDAEFunc.matchingAlgorithmFunc,String> matchingAlgorithm;
protected
Expand Down Expand Up @@ -7621,7 +7616,6 @@ algorithm
end getMatchingAlgorithm;

protected function selectMatchingAlgorithm
" function: selectMatchingAlgorithm"
input String strMatchingAlgorithm;
input list<tuple<Type_a,String>> inMatchingAlgorithms;
output tuple<Type_a,String> outMatchingAlgorithm;
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Util/Flags.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ constant ConfigFlag DYNAMIC_TEARING_FOR_INITIALIZATION = CONFIG_FLAG(104, "dynam
NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(),
Util.gettext("Enable Dynamic Tearing also for the initialization system."));
constant ConfigFlag PREFER_TVARS_WITH_START_VALUE = CONFIG_FLAG(105, "preferTVarsWithStartValue",
NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(),
NONE(), EXTERNAL(), BOOL_FLAG(true), NONE(),
Util.gettext("Prefer tearing variables with start value for initialization."));
constant ConfigFlag EQUATIONS_PER_FILE = CONFIG_FLAG(106, "equationsPerFile",
NONE(), EXTERNAL(), INT_FLAG(2000), NONE(),
Expand Down