Moved the interpreter
[repair.git] / Repair / RepairInterpreter / Guidance.cc
diff --git a/Repair/RepairInterpreter/Guidance.cc b/Repair/RepairInterpreter/Guidance.cc
new file mode 100755 (executable)
index 0000000..11e6f14
--- /dev/null
@@ -0,0 +1,12 @@
+#include <stdlib.h>
+#include "Guidance.h"
+
+Source::Source(Element * (*fptr)(structure *,model *)) {
+  functionptr=fptr;
+  setname=NULL;
+}
+
+Source::Source(char *sname) {
+  functionptr=NULL;
+  setname=sname;
+}