Commit 0dce7312 authored by Christophe Geuzaine's avatar Christophe Geuzaine

example context

parent 3a8927c4
Pipeline #1072 passed with stage
in 15 minutes and 26 seconds
......@@ -16,6 +16,10 @@
#if defined(HAVE_MMA) && defined(HAVE_PETSC)
class optimizerContext;
static optimizerContext *context = 0;
void Operation_OptimizerInitialize(struct Operation *Operation_P)
printf("Opti init:\n");
......@@ -72,6 +76,8 @@ static void debugInput(const std::string &type, const std::string &name)
void Operation_OptimizerUpdate(struct Operation *Operation_P)
// test context to verify that the initialization has been performed.
printf("Opti update:\n");
debugInput("current point", Operation_P->Case.OptimizerUpdate.currentPoint);
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