diff --git a/Examples/Advanced/runBatteryPrecondTestP2D.m b/Examples/Advanced/runBatteryPrecondTestP2D.m index 3283d9c7..2f7c6978 100644 --- a/Examples/Advanced/runBatteryPrecondTestP2D.m +++ b/Examples/Advanced/runBatteryPrecondTestP2D.m @@ -69,7 +69,7 @@ % simulation. The required discretization parameters are already included % in the class BatteryGeneratorP2D. gen = BatteryGeneratorP2D(); -gen.fac = 100; +gen.resolutionFactor = 100; gen = gen.applyResolutionFactors(); % Now, we update the inputparams with the properties of the grid.