← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Merge work on replacing Vector by GenericVector in Function by Kent

 

On Sat, Mar 29, 2008 at 11:03:44AM +0000, Garth N. Wells wrote:
> 
> 
> Anders Logg wrote:
> > On Sat, Mar 29, 2008 at 09:55:28AM +0000, Garth N. Wells wrote:
> >>
> >> 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:   3807:6bdc96a3396293f36cc09e22dc81323637fbd360
> >>> tag:         tip
> >>> user:        "Anders Logg <logg@xxxxxxxxx>"
> >>> date:        Sat Mar 29 09:09:43 2008 +0100
> >>> files:       dolfin/function/DiscreteFunction.cpp dolfin/function/DiscreteFunction.h dolfin/function/Function.cpp dolfin/function/Function.h dolfin/io/XMLFile.cpp dolfin/io/XMLFile.h dolfin/io/XMLVector.cpp dolfin/io/XMLVector.h
> >>> description:
> >>> Merge work on replacing Vector by GenericVector in Function by Kent
> >>>
> >> Looks like this broke the demos.
> >>
> >> Garth
> > 
> > Which ones? Poisson works for me (C++ and Python).
> > 
> 
> Try disabling PETSc. I then get
> 
> mpic++ -o demo/pde/stokes/stabilized/cpp/main.o -c -Wall -pipe -ansi 
> -DDEBUG -g -Werror -DNDEBUG -O2 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK 
> -DPACKAGE_VERSION=\"0.7.2\" -DHAS_SCOTCH=1 -DHAS_UMFPACK=1 -DHAS_GTS=1 
> -fno-strict-aliasing -I. -I. -Idolfin -I/usr/include/libxml2 
> -I/usr/local/include -I/usr/include/suitesparse -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include demo/pde/stokes/stabilized/cpp/main.cpp
> demo/pde/stokes/stabilized/cpp/main.cpp: In function ‘int main()’:
> demo/pde/stokes/stabilized/cpp/main.cpp:105: error: no match for 
> ‘operator<<’ in ‘x_file << u.dolfin::Function::vector()’
> ./dolfin/io/File.h:90: note: candidates are: void 
> dolfin::File::operator<<(dolfin::Vector&)

ok, same here. I will try to fix it (in a while).

-- 
Anders


Follow ups

References