Skip to content

Commit

Permalink
Added empty data folder; removed figures/ and cmd.txt; Print more dig…
Browse files Browse the repository at this point in the history
…its for the dual value; fixed grammar
  • Loading branch information
Flavien Léger committed Jan 19, 2021
1 parent bc94409 commit fd09def
Show file tree
Hide file tree
Showing 50 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions cmd.txt

This file was deleted.

Binary file removed figures/fig-0.png
Binary file not shown.
Binary file removed figures/fig-1.png
Binary file not shown.
Binary file removed figures/fig-10.png
Binary file not shown.
Binary file removed figures/fig-11.png
Binary file not shown.
Binary file removed figures/fig-12.png
Binary file not shown.
Binary file removed figures/fig-13.png
Binary file not shown.
Binary file removed figures/fig-14.png
Binary file not shown.
Binary file removed figures/fig-15.png
Binary file not shown.
Binary file removed figures/fig-16.png
Binary file not shown.
Binary file removed figures/fig-17.png
Binary file not shown.
Binary file removed figures/fig-18.png
Binary file not shown.
Binary file removed figures/fig-19.png
Binary file not shown.
Binary file removed figures/fig-2.png
Binary file not shown.
Binary file removed figures/fig-20.png
Binary file not shown.
Binary file removed figures/fig-21.png
Binary file not shown.
Binary file removed figures/fig-22.png
Binary file not shown.
Binary file removed figures/fig-23.png
Binary file not shown.
Binary file removed figures/fig-24.png
Binary file not shown.
Binary file removed figures/fig-25.png
Binary file not shown.
Binary file removed figures/fig-26.png
Binary file not shown.
Binary file removed figures/fig-27.png
Binary file not shown.
Binary file removed figures/fig-28.png
Binary file not shown.
Binary file removed figures/fig-29.png
Binary file not shown.
Binary file removed figures/fig-3.png
Binary file not shown.
Binary file removed figures/fig-30.png
Binary file not shown.
Binary file removed figures/fig-31.png
Diff not rendered.
Binary file removed figures/fig-32.png
Diff not rendered.
Binary file removed figures/fig-33.png
Diff not rendered.
Binary file removed figures/fig-34.png
Diff not rendered.
Binary file removed figures/fig-35.png
Diff not rendered.
Binary file removed figures/fig-36.png
Diff not rendered.
Binary file removed figures/fig-37.png
Diff not rendered.
Binary file removed figures/fig-38.png
Diff not rendered.
Binary file removed figures/fig-39.png
Diff not rendered.
Binary file removed figures/fig-4.png
Diff not rendered.
Binary file removed figures/fig-40.png
Diff not rendered.
Binary file removed figures/fig-5.png
Diff not rendered.
Binary file removed figures/fig-6.png
Diff not rendered.
Binary file removed figures/fig-7.png
Diff not rendered.
Binary file removed figures/fig-8.png
Diff not rendered.
Binary file removed figures/fig-9.png
Diff not rendered.
Binary file removed figures/initial-final-inc.png
Diff not rendered.
Binary file removed figures/initial-final.png
Diff not rendered.
Binary file removed figures/output.gif
Diff not rendered.
2 changes: 1 addition & 1 deletion src/BFMIncomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class BackAndForthIncompressible:public BackAndForth{
}

void display_iteration(const int iter,const double W2_value_,const double error_mu,const double error_nu,const double solution_error, const double C_phi_, const double C_psi_) const{
printf("%5d \tdual: %5.4f\tL1 error: %5.4f\n", iter+1, W2_value_, error_mu);
printf("%5d \tdual value: %5.6f\tL1 error: %5.4f\n", iter+1, W2_value_, error_mu);
// printf("%5d C: %5.4f\tc1: %8.4f %8.4f\tc2: %8.4f %8.4f\tdual: %8.4f\tL1 error: %8.4f %8.4f\n", iter+1, C_phi_, phi_c1_, psi_c1_, phi_c2_, psi_c2_, W2_value_, error_mu, error_nu);
}

Expand Down
2 changes: 1 addition & 1 deletion src/BFMSlow.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class BackAndForthSlow:public BackAndForth{
}

void display_iteration(const int iter,const double W2_value,const double error_mu,const double error_nu, const double C_phi, const double C_psi, const double infgradphi) const{
printf("%5d \tDual value: %5.4f\tL1 error: %5.4f\n", iter+1, W2_value, error_mu);
printf("%5d \tdual value: %5.6f\tL1 error: %5.4f\n", iter+1, W2_value, error_mu);
// printf("%5d C: %5.4f\tc1: %8.4f %8.4f\tc2: %8.4f %8.4f\tdual: %8.4f\tL1 error: %8.4f %8.4f\n", iter+1, C_phi, phi_c1_, psi_c1_, phi_c2_, psi_c2_, W2_value, error_mu, error_nu);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Helper_U.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Helper_U{

set_M_(mu);

cout << "The total mass : " << M_ << "\n";
cout << "Total mass : " << M_ << "\n";
}

virtual ~Helper_U(){
Expand Down
2 changes: 1 addition & 1 deletion src/wgfinc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void mexFunction( int nlhs, mxArray *plhs[],
memcpy(result, mu, n1*n2*sizeof(double));

time=clock()-time;
if(verbose>0) printf ("\nCPU time for GF: %f seconds.\n\n",((float)time)/CLOCKS_PER_SEC);
if(verbose>0) printf ("\nCPU time for GF: %.1f seconds.\n\n",((float)time)/CLOCKS_PER_SEC);

delete[] input_char;
}
2 changes: 1 addition & 1 deletion src/wgfslow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void mexFunction( int nlhs, mxArray *plhs[],
memcpy(result, mu, n1*n2*sizeof(double));

time=clock()-time;
if(verbose>0) printf ("\nCPU time for GF: %f seconds.\n\n",((float)time)/CLOCKS_PER_SEC);
if(verbose>0) printf ("\nCPU time for GF: %.1f seconds.\n\n",((float)time)/CLOCKS_PER_SEC);

delete[] input_char;
}

0 comments on commit fd09def

Please sign in to comment.