diff --git a/Ua2D.m b/Ua2D.m index fbe205fe..ef4231c9 100755 --- a/Ua2D.m +++ b/Ua2D.m @@ -267,10 +267,13 @@ %x=coordinates(:,1); y=coordinates(:,2); DT = DelaunayTri(x,y); TRI=DT.Triangulation; %figure(21) ; trisurf(TRI,x/CtrlVar.PlotXYscale,y/CtrlVar.PlotXYscale,h) ; title(' h') + fprintf('\n ========================= Inverting for model parameters. ========================= \n') + + RunInfo.CPU.Inversion=tic; [UserVar,F,l,InvFinalValues,RunInfo]=... InvertForModelParameters(UserVar,CtrlVar,MUA,BCs,F,l,InvStartValues,Priors,Meas,BCsAdjoint,RunInfo); - + RunInfo.CPU.Inversion=toc(RunInfo.CPU.Inversion); F.C=InvFinalValues.C ; %fprintf(CtrlVar.fidlog,' C set equal to InvFinalValues.C. '); F.AGlen=InvFinalValues.AGlen ; %fprintf(CtrlVar.fidlog,' AGlen set equal InvFinalValues.AGlen \n '); diff --git a/UaRunInfo.m b/UaRunInfo.m index 9367c0be..d3faaa39 100755 --- a/UaRunInfo.m +++ b/UaRunInfo.m @@ -90,6 +90,7 @@ obj.CPU.Assembly.uvh=0; obj.CPU.Solution.uvh=0; obj.CPU.WallTime=""; + obj.CPU.Inversion=0; obj.Message="" ;