now doing partitioning on every timestep, looks super smooth
This commit is contained in:
1 parent
2a48b1d469
commit
ff02e8a1c6
6 files changed
+28
-68
No files matched your search
@@ -1,7 +1,6 @@
|
||||
function [obj] = updatePlots(obj, updatePartitions)
|
||||
function [obj] = updatePlots(obj)
|
||||
arguments (Input)
|
||||
obj (1, 1) {mustBeA(obj, 'miSim')};
|
||||
updatePartitions (1, 1) logical = false;
|
||||
end
|
||||
arguments (Output)
|
||||
obj (1, 1) {mustBeA(obj, 'miSim')};
|
||||
@@ -30,10 +29,8 @@ function [obj] = updatePlots(obj, updatePartitions)
|
||||
obj = obj.plotGraph();
|
||||
|
||||
% Update partitioning plot
|
||||
if updatePartitions
|
||||
delete(obj.partitionPlot);
|
||||
obj = obj.plotPartitions();
|
||||
end
|
||||
delete(obj.partitionPlot);
|
||||
obj = obj.plotPartitions();
|
||||
|
||||
% reset plot limits to fit domain
|
||||
for ii = 1:size(obj.spatialPlotIndices, 2)
|
||||
|
||||
Reference in new issue
Block a user