Commit 2e036514 authored by adelmann's avatar adelmann 🎗
Browse files

optimiser commands are fully integrated

parent 183cc90a
......@@ -17,12 +17,12 @@
* with "//", e.g.,
*
* \verbatim
//d1: DVAR, ELEMENT="", VARIABLE="SIGX";
//obj1: OBJECTIVE, EXPR="(energy*energy)";
//objs: OBJECTIVES = (obj1);
//dvars: DVARS = (d1);
//constrs: CONSTRAINTS = ();
//opt: OPTIMIZE, OBJECTIVES=objs, DVARS=dvars, CONSTRAINTS=constrs;
d1: DVAR, ELEMENT="", VARIABLE="SIGX";
obj1: OBJECTIVE, EXPR="(energy*energy)";
objs: OBJECTIVES = (obj1);
dvars: DVARS = (d1);
constrs: CONSTRAINTS = ();
opt: OPTIMIZE, OBJECTIVES=objs, DVARS=dvars, CONSTRAINTS=constrs;
\endverbatim
*/
class OpalInputFileParser : public CommentAnnotatedInputFileParser {
......@@ -30,7 +30,7 @@ class OpalInputFileParser : public CommentAnnotatedInputFileParser {
public:
OpalInputFileParser(std::string filename,
functionDictionary_t known_expr_funcs)
: CommentAnnotatedInputFileParser(filename, "//", known_expr_funcs)
: CommentAnnotatedInputFileParser(filename, "", known_expr_funcs)
{}
~OpalInputFileParser()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment