Skip to content

Commit

Permalink
BUG: Update simulation code generated in frontend for refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
epatters committed Dec 6, 2024
1 parent 2ce5b7f commit 66c8bf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/stdlib/analyses/decapodes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,9 @@ const makeSimulationCode = (data: SimulationData) =>
system = PodeSystem(raw"""${JSON.stringify(data)}""");
simulator = evalsim(system.pode);
f = simulator(system.dualmesh, system.generate, DiagonalHodge());
f = simulator(system.geometry.dualmesh, system.generate, DiagonalHodge());
soln = run_sim(f, system.init, 11.0, ComponentArray(k=0.5,));
soln = run_sim(f, system.init, 50.0, ComponentArray(k=0.5,));
JsonValue(SimResult(soln, system))
`;
Expand Down

0 comments on commit 66c8bf4

Please sign in to comment.