Skip to content

Commit 74f231c

Browse files
committed
Fixed typos in flag descriptions
1 parent aa6c0e0 commit 74f231c

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

Compiler/Util/Flags.mo

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,13 @@ constant DebugFlag DUMP_SIMCODE = DEBUG_FLAG(77, "dumpSimCode", false,
321321
constant DebugFlag DUMP_INITIAL_SYSTEM = DEBUG_FLAG(78, "dumpinitialsystem", false,
322322
Util.gettext("Dumps the initial equation system."));
323323
constant DebugFlag GRAPH_INST = DEBUG_FLAG(79, "graphInst", false,
324-
Util.gettext("Do graph based instantation."));
324+
Util.gettext("Do graph based instantiation."));
325325
constant DebugFlag GRAPH_INST_RUN_DEP = DEBUG_FLAG(80, "graphInstRunDep", false,
326326
Util.gettext("Run scode dependency analysis. Use with -d=graphInst"));
327327
constant DebugFlag GRAPH_INST_GEN_GRAPH = DEBUG_FLAG(81, "graphInstGenGraph", false,
328328
Util.gettext("Dumps a graph of the program. Use with -d=graphInst"));
329329
constant DebugFlag GRAPH_INST_SHOW_GRAPH = DEBUG_FLAG(82, "graphInstShowGraph", false,
330-
Util.gettext("Diplay a graph of the program interactively. Use with -d=graphInst"));
330+
Util.gettext("Display a graph of the program interactively. Use with -d=graphInst"));
331331
constant DebugFlag DUMP_CONST_REPL = DEBUG_FLAG(83, "dumpConstrepl", false,
332332
Util.gettext("Dump the found replacements for constants."));
333333
constant DebugFlag PEDANTIC = DEBUG_FLAG(84, "pedantic", false,
@@ -411,9 +411,9 @@ constant DebugFlag GRAPHML = DEBUG_FLAG(122, "graphml", false,
411411
constant DebugFlag USEMPI = DEBUG_FLAG(123, "useMPI", false,
412412
Util.gettext("Add MPI init and finalize to main method (CPPruntime). "));
413413
constant DebugFlag DUMP_CSE = DEBUG_FLAG(124, "dumpCSE", false,
414-
Util.gettext("Additional ouput for CSE module."));
414+
Util.gettext("Additional output for CSE module."));
415415
constant DebugFlag DUMP_CSE_VERBOSE = DEBUG_FLAG(125, "dumpCSE_verbose", false,
416-
Util.gettext("Additional ouput for CSE module."));
416+
Util.gettext("Additional output for CSE module."));
417417
constant DebugFlag ADD_DER_ALIASES = DEBUG_FLAG(126, "addDerAliases", false,
418418
Util.gettext("Adds for every der-call an alias equation e.g. dx = der(x). It's a work-a-round flag,
419419
which helps im some cases to simulate the models e.g.
@@ -427,7 +427,7 @@ constant DebugFlag NO_PARTITIONING = DEBUG_FLAG(129, "disablePartitioning", fals
427427
constant DebugFlag ADVANCE_TEARING = DEBUG_FLAG(130, "advanceTearing", false,
428428
Util.gettext("Using ExpressionSolve in adjacencyRowEnhanced"));
429429
constant DebugFlag CONSTJAC = DEBUG_FLAG(131, "constjac", false,
430-
Util.gettext("solves linear systems with const jacobian and variable b-Vector symbolically"));
430+
Util.gettext("solves linear systems with constant Jacobian and variable b-Vector symbolically"));
431431
constant DebugFlag REDUCE_DYN_OPT = DEBUG_FLAG(132, "reduceDynOpt", false,
432432
Util.gettext("remove eqs which not need for the calculations of cost and constraints"));
433433
constant DebugFlag VISUAL_XML = DEBUG_FLAG(133, "visxml", false,
@@ -445,7 +445,7 @@ constant DebugFlag RUNTIME_STATIC_LINKING = DEBUG_FLAG(138, "runtimeStaticLinkin
445445
constant DebugFlag DYNAMIC_TEARING_INFO = DEBUG_FLAG(139, "dynamicTearingInfo", false,
446446
Util.gettext("Dumps information about the strict and casual sets of the tearing system."));
447447
constant DebugFlag SORT_EQNS_AND_VARS = DEBUG_FLAG(140, "sortEqnsAndVars", false,
448-
Util.gettext("Heuristical sorting for equations and variables. Influenced: removeSimpleEquations and tearing."));
448+
Util.gettext("Heuristic sorting for equations and variables. Influenced: removeSimpleEquations and tearing."));
449449
constant DebugFlag DUMP_SIMPLIFY_LOOPS = DEBUG_FLAG(141, "dumpSimplifyLoops", false,
450450
Util.gettext("Dump between steps of simplifyLoops"));
451451
constant DebugFlag DUMP_RTEARING = DEBUG_FLAG(142, "dumpRecursiveTearing", false,
@@ -804,22 +804,22 @@ constant ConfigFlag POST_OPT_MODULES = CONFIG_FLAG(16, "postOptModules",
804804
("relaxSystem",Util.notrans("DESCRIBE ME")),
805805
("countOperations", Util.gettext("Count the mathematic operations of the system.")),
806806
("dumpComponentsGraphStr", Util.notrans("DESCRIBE ME")),
807-
("generateSymbolicJacobian", Util.gettext("Generates symbolic jacobian matrix, where der(x) is differentiated w.r.t. x. This matrix can be used to simulate with dasslColorSymJac.")),
808-
("generateSymbolicLinearization", Util.gettext("Generates symbolic linearization matrixes A,B,C,D for linear model:\n\t\t:math:`\\dot{x} = Ax + Bu`\n\t:math:`ty = Cx +Du`")),
807+
("generateSymbolicJacobian", Util.gettext("Generates symbolic Jacobian matrix, where der(x) is differentiated w.r.t. x. This matrix can be used to simulate with dasslColorSymJac.")),
808+
("generateSymbolicLinearization", Util.gettext("Generates symbolic linearization matrices A,B,C,D for linear model:\n\t\t:math:`\\dot{x} = Ax + Bu`\n\t:math:`ty = Cx +Du`")),
809809
("removeUnusedFunctions", Util.gettext("Removed all unused functions from functionTree.")),
810810
("simplifyTimeIndepFuncCalls", Util.gettext("Simplifies time independent built in function calls like pre(param) -> param, der(param) -> 0.0, change(param) -> false, edge(param) -> false.")),
811811
("inputDerivativesUsed", Util.gettext("Checks if derivatives of inputs are need to calculate the model.")),
812812
("simplifysemiLinear", Util.gettext("Simplifies calls to semiLinear.")),
813813
("removeConstants", Util.gettext("Remove all constants in the system.")),
814814
("detectJacobianSparsePattern", Util.gettext("Detects the sparse pattern for Jacobian A.")),
815-
("calculateStrongComponentJacobians", Util.gettext("Generates analytical jacobian for non-linear strong components.")),
816-
("calculateStateSetsJacobians", Util.gettext("Generates analytical jacobian for dynamic state selection sets.")),
815+
("calculateStrongComponentJacobians", Util.gettext("Generates analytical Jacobian for non-linear strong components.")),
816+
("calculateStateSetsJacobians", Util.gettext("Generates analytical Jacobian for dynamic state selection sets.")),
817817
("addInitialStmtsToAlgorithms", Util.gettext("Expands all algorithms with initial statements for outputs.")),
818818
("reshufflePost", Util.gettext("Reshuffles algebraic loops.")),
819819
("CSE", Util.gettext("Common Subexpression Elimination")),
820820
("dumpDAE", Util.gettext("dumps the DAE representation of the current transformation state")),
821821
("dumpDAEXML", Util.gettext("dumps the DAE as xml representation of the current transformation state")),
822-
("addTimeAsState", Util.gettext("Experimental feature: this repaces each occurrence of variable time with a new introduced state $time with equation der($time) = 1.0"))
822+
("addTimeAsState", Util.gettext("Experimental feature: this replaces each occurrence of variable time with a new introduced state $time with equation der($time) = 1.0"))
823823
})),
824824
Util.gettext("Sets the post optimization modules to use in the back end. See --help=optmodules for more info."));
825825

@@ -1000,11 +1000,11 @@ constant ConfigFlag REPLACE_HOMOTOPY = CONFIG_FLAG(54, "replaceHomotopy",
10001000

10011001
constant ConfigFlag GENERATE_SYMBOLIC_JACOBIAN = CONFIG_FLAG(55, "generateSymbolicJacobian",
10021002
NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(),
1003-
Util.gettext("Generates symbolic jacobian matrix, where der(x) is differentiated w.r.t. x. This matrix can be utilise by dassl with the runtime option: -dasslJacobian=coloredSymbolical|symbolical."));
1003+
Util.gettext("Generates symbolic Jacobian matrix, where der(x) is differentiated w.r.t. x. This matrix can be utilise by dassl with the runtime option: -dasslJacobian=coloredSymbolical|symbolical."));
10041004

10051005
constant ConfigFlag GENERATE_SYMBOLIC_LINEARIZATION = CONFIG_FLAG(56, "generateSymbolicLinearization",
10061006
NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(),
1007-
Util.gettext("Generates symbolic linearization matrixes A,B,C,D for linear model:\n\t\t:math:`\\dot x = Ax + Bu`\n\t\t:math:`y = Cx +Du`"));
1007+
Util.gettext("Generates symbolic linearization matrices A,B,C,D for linear model:\n\t\t:math:`\\dot x = Ax + Bu`\n\t\t:math:`y = Cx +Du`"));
10081008

10091009
constant ConfigFlag INT_ENUM_CONVERSION = CONFIG_FLAG(57, "intEnumConversion",
10101010
NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(),
@@ -1057,7 +1057,7 @@ constant ConfigFlag REMOVE_SIMPLE_EQUATIONS = CONFIG_FLAG(67, "removeSimpleEquat
10571057
NONE(), EXTERNAL(), STRING_FLAG("default"),
10581058
SOME(STRING_DESC_OPTION({
10591059
("none", Util.gettext("Disables module")),
1060-
("default", Util.gettext("Performs alias elimination and removes constant variables. Dafault case uses in preOpt phase the fastAcausal and in postOpt phase the causal implementation.")),
1060+
("default", Util.gettext("Performs alias elimination and removes constant variables. Default case uses in preOpt phase the fastAcausal and in postOpt phase the causal implementation.")),
10611061
("causal", Util.gettext("Performs alias elimination and removes constant variables. Causal implementation.")),
10621062
("fastAcausal", Util.gettext("Performs alias elimination and removes constant variables. fastImplementation fastAcausal.")),
10631063
("allAcausal", Util.gettext("Performs alias elimination and removes constant variables. Implementation allAcausal.")),
@@ -1071,20 +1071,20 @@ constant ConfigFlag DYNAMIC_TEARING = CONFIG_FLAG(68, "dynamicTearing",
10711071

10721072
constant ConfigFlag SYM_EULER = CONFIG_FLAG(69, "symEuler",
10731073
NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(),
1074-
Util.gettext("Rewritte the ode system for inplicit euler."));
1074+
Util.gettext("Rewrite the ode system for implicit euler."));
10751075

10761076
constant ConfigFlag ADD_TIME_AS_STATE = CONFIG_FLAG(70,
10771077
"addTimeAsState", NONE(), INTERNAL(), BOOL_FLAG(false), NONE(),
1078-
Util.gettext("Experimental feature: this repaces each occurrence of variable time with a new introduced state $time with equation der($time) = 1.0"));
1078+
Util.gettext("Experimental feature: this replaces each occurrence of variable time with a new introduced state $time with equation der($time) = 1.0"));
10791079

10801080
constant ConfigFlag LOOP2CON = CONFIG_FLAG(71, "loop2con",
10811081
NONE(), EXTERNAL(), STRING_FLAG("none"),
10821082
SOME(STRING_DESC_OPTION({
10831083
("none", Util.gettext("Disables module")),
1084-
("lin", Util.gettext("linear loops --> constraints.")),
1085-
("noLin", Util.gettext("no linear loops --> constraints.")),
1086-
("all", Util.gettext("loops --> constraints."))})),
1087-
Util.gettext("Specifies method that transform loops in constraints. hint: using intial guess from file!"));
1084+
("lin", Util.gettext("linear loops --> constraints")),
1085+
("noLin", Util.gettext("no linear loops --> constraints")),
1086+
("all", Util.gettext("loops --> constraints"))})),
1087+
Util.gettext("Specifies method that transform loops in constraints. hint: using initial guess from file!"));
10881088

10891089
constant ConfigFlag FORCE_TEARING = CONFIG_FLAG(72, "forceTearing",
10901090
NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(),
@@ -1093,16 +1093,16 @@ constant ConfigFlag FORCE_TEARING = CONFIG_FLAG(72, "forceTearing",
10931093
constant ConfigFlag SIMPLIFY_LOOPS = CONFIG_FLAG(73, "simplifyLoops",
10941094
NONE(), EXTERNAL(), INT_FLAG(0),
10951095
SOME(STRING_DESC_OPTION({
1096-
("0", Util.gettext("do nonthing.")),
1097-
("1", Util.gettext("special modification of residula expressions.")),
1098-
("2", Util.gettext("special modification of residula expressions with helper variables."))
1096+
("0", Util.gettext("do nothing")),
1097+
("1", Util.gettext("special modification of residual expressions")),
1098+
("2", Util.gettext("special modification of residual expressions with helper variables"))
10991099
})),
1100-
Util.gettext("simplify algebraic loops."));
1100+
Util.gettext("simplify algebraic loops"));
11011101

11021102
constant ConfigFlag RTEARING = CONFIG_FLAG(74, "recursiveTearing",
11031103
NONE(), EXTERNAL(), INT_FLAG(0),
11041104
SOME(STRING_DESC_OPTION({
1105-
("0", Util.gettext("do nonthing.")),
1105+
("0", Util.gettext("do nothing")),
11061106
("1", Util.gettext("linear tearing set of size 1")),
11071107
("2", Util.gettext("linear tearing"))
11081108
})),

0 commit comments

Comments
 (0)