← Back to team overview

dolfin team mailing list archive

Re: PyDOLFIN and str()

 

The usual call is __str__()

I don't know about pyDolfin though.

-- Andy

On Wed, Aug 19, 2009 at 2:19 PM, Garth N. Wells<gnw20@xxxxxxxxx> wrote:
> Why can't I use GenericVector::str() from PyDOLFIN,
>
>    u0.vector().str()
>
> ? I get the message
>
>   AttributeError: 'GenericVector' object has no attribute 'str'
>
> I want to print the entire vector.
>
> Garth
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>


References