Skip to content

Commit

Permalink
Use resolutionFactor instead of fac
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohansson committed Jan 26, 2024
1 parent a5b11e0 commit 9f0f3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/Advanced/runBatteryPrecondTestP2D.m
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9f0f3fc

Please sign in to comment.