dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05578
Re: PETScVector
On Fri, Oct 12, 2007 at 12:53:50PM +0200, Alessio Quaglino wrote:
> I've compiled dolfin using PETSc. After some work, everything finally
> compiles, but there was no way to make those working inside PETScVector:
>
> /// Return value of maximum component of vector
> real max() const;
>
> /// Return value of minimum component of vector
> real min() const;
What do you mean? Do you need to remove those two in order to compile?
> I thought you wanted to know it, just in case you want to dump them (max
> is just the linf norm so it's not even necessary).
Yes, I think they can be removed. Any objections?
(Or we should add them to the GenericMatrix interface.)
> I have also another question: why is uBlas necessary for compiling?
> Wouldn'it be (at least in theory) possible to use just PETSc?
It would break the ODE solvers since they assume the uBlas interface.
Since uBlas is fairly standard, part of boost, just a collection of
header files and is part of Debian, it's generally not a problem to
rely on uBlas.
/Anders
> Alessio
>
>
>
>
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References