@@ -825,9 +825,9 @@ function TransPostProcessor(obj)
825
825
function [spatialDirection ,slicedPlane ] = plotTransientFront(obj )
826
826
% [spatialDirection,slicedPlane] = plotTransientFront():
827
827
% Plots transient front for all time steps.
828
- load([' TopologyBundle_' ,num2str(obj .nx ),' _' ,num2str(obj .realizationNumber ),' .mat' ],' NodeCoords' )
829
- load([' TopologyBundle_' ,num2str(obj .nx ),' _' ,num2str(obj .realizationNumber ),' .mat' ],' meshProperties' )
830
- load([obj .transientName ,' .mat' ]);
828
+ load([obj . path2Realization , ' TopologyBundle_' ,num2str(obj .nx ),' _' ,num2str(obj .realizationNumber ),' .mat' ],' NodeCoords' )
829
+ load([obj . path2Realization , ' TopologyBundle_' ,num2str(obj .nx ),' _' ,num2str(obj .realizationNumber ),' .mat' ],' meshProperties' )
830
+ load([obj .path2Realization , obj . transientName ,' .mat' ]);
831
831
832
832
[ff nts ] = size(a_store );
833
833
slicedPlane.mean = zeros(meshProperties .nx ,1 );
@@ -836,13 +836,13 @@ function TransPostProcessor(obj)
836
836
837
837
for iTime= 1 : nts
838
838
for i= 0 : meshProperties .nx - 1
839
- [nodeSlice foo ] = find(abs(NodeCoords(: ,2 )-i * meshProperties .dx )<10 * eps );
839
+ [nodeSlice foo ] = find(abs(NodeCoords(: ,2 )-i * meshProperties .dx )<100 * eps );
840
840
slicedPlane .mean(i + 1 ) = mean(a_store(nodeSlice ,iTime ));
841
841
slicedPlane .std(i + 1 ) = std(a_store(nodeSlice ,iTime ));
842
842
end
843
843
hold on
844
844
plot(spatialDirection ,slicedPlane .mean )
845
- xlabel(' spatial direction [cm] ' )
845
+ xlabel(' spatial direction' )
846
846
end
847
847
end
848
848
% linear elasticity
0 commit comments