Mercurial > fem-fenics-eugenio
changeset 168:67944f307560
Remove the verbose debug output
author | gedeone-octave <marcovass89@hotmail.it> |
---|---|
date | Sun, 06 Oct 2013 22:31:48 +0100 |
parents | 3895c8d4c066 |
children | f65252c56853 |
files | src/DirichletBC.cc src/Expression.cc src/Function.cc src/Mesh.cc src/SubSpace.cc src/assemble.cc src/assemble_system.cc |
diffstat | 7 files changed, 0 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/src/DirichletBC.cc Sun Oct 06 22:23:40 2013 +0100 +++ b/src/DirichletBC.cc Sun Oct 06 22:31:48 2013 +0100 @@ -67,7 +67,6 @@ if (!error_state) { - std::cout <<"Building essential boundary condition..."<< std::endl; const boost::shared_ptr <const dolfin::FunctionSpace> & V (fspo.get_pfsp ()); octave_value_list b (3, 1);
--- a/src/Expression.cc Sun Oct 06 22:23:40 2013 +0100 +++ b/src/Expression.cc Sun Oct 06 22:31:48 2013 +0100 @@ -49,7 +49,6 @@ if (!error_state) { - std::cout << "Creating expression..."<< std::endl; octave_value_list b (3, 1); octave_value_list tmp = feval (fh->function_value (), b); Array<double> res = tmp(0).array_value ();
--- a/src/Function.cc Sun Oct 06 22:23:40 2013 +0100 +++ b/src/Function.cc Sun Oct 06 22:31:48 2013 +0100 @@ -83,7 +83,6 @@ error ("The size of the functional space and of the vector must agree"); else { - std::cout <<"creating function from vector..."<< std::endl; dolfin::Vector du(myu.length ()); for (std::size_t i = 0; i < myu.length (); ++i) du.setitem (i, myu(i)); @@ -110,7 +109,6 @@ error ("Function: The function you provided isn't a vecotr field"); else { - std::cout <<"Extracting function..."<< std::endl; if (idx < 1 || idx > f->value_dimension (0)) error ("Function: index out of bounds"); else
--- a/src/Mesh.cc Sun Oct 06 22:23:40 2013 +0100 +++ b/src/Mesh.cc Sun Oct 06 22:31:48 2013 +0100 @@ -53,7 +53,6 @@ if (args(0).is_string () == true) { std::string filename = args(0).string_value (); - std::cout << "Assembling the Mesh from (p, e, t) format..." << std::endl; //if the filename is not valid, dolfin takes care of it retval = new mesh (filename); } @@ -67,7 +66,6 @@ if (! error_state) { - std::cout << "Assembling the Mesh from (p, e, t) format..." << std::endl; retval = new mesh (p, e, t); } }
--- a/src/SubSpace.cc Sun Oct 06 22:23:40 2013 +0100 +++ b/src/SubSpace.cc Sun Oct 06 22:31:48 2013 +0100 @@ -58,7 +58,6 @@ else { - std::cout << "Extracting subspace..." << std::endl; boost::shared_ptr <const dolfin::FunctionSpace> g (new dolfin::SubSpace (V, idx - 1)); retval = new functionspace (g); }
--- a/src/assemble.cc Sun Oct 06 22:23:40 2013 +0100 +++ b/src/assemble.cc Sun Oct 06 22:31:48 2013 +0100 @@ -74,8 +74,6 @@ if (a.rank () == 2) { - std::cout << "Assembling Matrix from the bilinear form..." - << std::endl; dolfin::parameters["linear_algebra_backend"] = "uBLAS"; dolfin::Matrix A; dolfin::assemble (A, a); @@ -139,8 +137,6 @@ else if (a.rank () == 1) { - std::cout << "Assembling Vector from the linear form..." - << std::endl; dolfin::Vector A; dolfin::assemble (A, a); @@ -175,8 +171,6 @@ else if (a.rank () == 0) { - std::cout << "Assembling double from the functional form..." - << std::endl; double b = dolfin::assemble (a); retval(0) = octave_value (b); } @@ -189,9 +183,6 @@ } else if (nargout == 2) { - std::cout << "Assemble: apply boundary condition to a vector for a nonlinear problem..." - << std::endl; - if (nargin < 2) print_usage (); else @@ -208,8 +199,6 @@ if (a.rank () == 1) { - std::cout << "Assembling Vector from the linear form..." - << std::endl; dolfin::Vector A; dolfin::assemble (A, a);
--- a/src/assemble_system.cc Sun Oct 06 22:23:40 2013 +0100 +++ b/src/assemble_system.cc Sun Oct 06 22:31:48 2013 +0100 @@ -139,8 +139,6 @@ SparseMatrix sm (data, ridx, cidx, nr, nc); retval(0) = sm; - std::cout << "Assembling Vector from the linear form..." - << std::endl; dim_vector dim; dim.resize (2); dim(0) = B.size (); @@ -160,8 +158,6 @@ } else if (nargout == 3) { - std::cout << "Assemble_system: apply boundary condition to a vector for a nonlinear problem..." - << std::endl; if (nargin < 3) print_usage (); else @@ -247,8 +243,6 @@ SparseMatrix sm (data, ridx, cidx, nr, nc); retval(0) = sm; - std::cout << "Assembling Vector from the linear form..." - << std::endl; dim_vector dim; dim.resize (2); dim(0) = B.size ();