bugfix statistics particle force

This commit is contained in:
Michael Stumpf (ifhcluster) 2019-05-13 16:06:08 +02:00
parent 356beef2d9
commit be6a85b79c
1 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ function [tbeg,tend,nstat,um,uu,vv,ww,uv,uub,uvb,varargout] = read_statistics_ch
% Open UCF file and read % Open UCF file and read
obj = ucf('verbosity',par.Results.verbosity,'debug',par.Results.debug); obj = ucf('verbosity',par.Results.verbosity,'debug',par.Results.debug);
obj.open(file); obj.open(file);
tend = obj.getSimulationTime(1); tend = obj.getSimulationTime();
% Read first dataset % Read first dataset
[um,params] = obj.readSet(1,1); [um,params] = obj.readSet(1,1);
@ -43,9 +43,9 @@ function [tbeg,tend,nstat,um,uu,vv,ww,uv,uub,uvb,varargout] = read_statistics_ch
fxp = obj.readSet(1,8); fxp = obj.readSet(1,8);
fyp = obj.readSet(1,9); fyp = obj.readSet(1,9);
fzp = obj.readSet(1,10); fzp = obj.readSet(1,10);
varargout{1} = fxp; varargout{1} = fxp/nstat;
varargout{2} = fyp; varargout{2} = fyp/nstat;
varargout{3} = fzp; varargout{3} = fzp/nstat;
end end
% Close file % Close file