← Back to team overview

dolfin team mailing list archive

Re: [HG] Update TODO list.

 

The problem is that it doesn't play well together with other output
generated by DOLFIN.

If you do something like

DenseMatrix A;
dolfin::cout << "A = ";
A.disp();

Then the "A = " part might show up after the values are printed.

Using std::cout also bypasses dolfin_log(false) or any indentation
made by dolfin_begin() -- dolfin_end().

By the way, the TODO list is very incomplete and out of date. Is there
a better way to keep the list current? Could we use Bugzilla for TODO
items as well?

/Anders


On Thu, Jul 06, 2006 at 10:02:42PM +0200, Garth N. Wells wrote:
> Just a question about the TODO list. What's the problem with using
> std::cout in uBlasMatrix::disp()? uBlas overloads the operator << to
> deal with all the different uBlad data types.
> 
> Garth
> 
> 
> On Thu, 2006-07-06 at 21:56 +0200, DOLFIN wrote:
> > One or more new changesets pushed to the primary DOLFIN repository.
> > A short summary of the last three changesets is included below.
> > 
> > changeset:   2039:dbdd1de36f243ac6063a7b39a6fac82a4f8dd445
> > tag:         tip
> > user:        "Anders Logg <logg@xxxxxxxxx>"
> > date:        Thu Jul 06 21:55:22 2006 +0200
> > files:       TODO src/kernel/ode/dGqMethod.cpp src/kernel/quadrature/GaussianQuadrature.cpp
> > description:
> > Update TODO list.
> > 
> > 
> > changeset:   2038:afb2d919f7594f51eb5f9569e1497c956c9a6ecf
> > user:        "Garth N. Wells <g.n.wells@xxxxxxxxxx>"
> > date:        Thu Jul 06 19:48:55 2006 +0200
> > files:       src/kernel/la/dolfin/uBlasMatrix.h
> > description:
> > Fix constructor in uBlasMatrix.
> > 
> > 
> > changeset:   2037:c7974f4aff20c967f84e6fd6e7d6812e3a746f96
> > user:        "Garth N. Wells <g.n.wells@xxxxxxxxxx>"
> > date:        Thu Jul 06 17:12:19 2006 +0200
> > files:       src/kernel/la/Makefile.am src/kernel/la/Makefile.in src/kernel/la/dolfin/DenseMatrix.h src/kernel/la/dolfin/uBlasDenseMatrix.h src/kernel/la/dolfin/uBlasMatrix.h src/kernel/la/dolfin/uBlasSparseMatrix.h src/kernel/la/uBlasDenseMatrix.cpp src/kernel/la/uBlasSparseMatrix.cpp src/test/main.cpp
> > description:
> > Add constructors to uBlasDenseMatrix and uBlasSparseMatrix.
> > 
> > I've removed the compilation flag -DNDEBUG when using --enable-debug, so uBlas operations will be extremely slow when using --enable-debug.
> > 
> > 
> > -------------------------------------------------------
> > For more details, visit http://www.fenics.org/hg/dolfin
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> 


Follow ups

References