don't expose sparse solver (yet)

This commit is contained in:
Magnus Ulimoen
2020-06-15 22:32:34 +02:00
parent f7a30ac1cc
commit 9fb9ad8eae
3 changed files with 8 additions and 3 deletions

View File

@@ -438,8 +438,8 @@ class FieldDrawer {
draw();
switch (eq_set) {
case "maxwell":
// universe.advance(0.2*Math.min(1/width, 1/height));
universe.advance_with_matrix(0.2*Math.min(1/width, 1/height));
universe.advance(0.2*Math.min(1/width, 1/height));
// universe.advance_with_matrix(0.2*Math.min(1/width, 1/height));
break;
case "euler":
universe.advance_upwind(0.2*Math.min(1/width, 1/height));