Commit 0dd0795d authored by Kyle Beauchamp's avatar Kyle Beauchamp
Browse files

Edit global compute

parent 3c2a3b1f
...@@ -146,10 +146,10 @@ void testSerializeCustomIntegrator() { ...@@ -146,10 +146,10 @@ void testSerializeCustomIntegrator() {
intg->addComputeGlobal("oute1", "energy1"); intg->addComputeGlobal("oute1", "energy1");
intg->addComputeGlobal("oute2", "energy2"); intg->addComputeGlobal("oute2", "energy2");
intg->beginIfBlock("1 > 0"); intg->beginIfBlock("1 > 0");
intg->addComputeGlobal("conditional_v1", "1"); intg->addComputeGlobal("conditional_v1", "energy");
intg->endBlock(); intg->endBlock();
intg->beginWhileBlock("0 > 1"); intg->beginWhileBlock("0 > 1");
intg->addComputeGlobal("conditional_v2", "1"); intg->addComputeGlobal("conditional_v2", "energy");
intg->endBlock(); intg->endBlock();
intg->addUpdateContextState(); intg->addUpdateContextState();
intg->addConstrainVelocities(); intg->addConstrainVelocities();
......
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