← Back to team overview

dolfin team mailing list archive

Re: Trilinos demos don't work

 

I don't know, but I noticed these lines:

A_epetra = cpp.down_cast_EpetraMatrix(A).mat()
b_epetra = cpp.down_cast_EpetraVector(b).vec()
x_epetra = cpp.down_cast_EpetraVector(U.vector()).vec()

you should be able to do just

A_epetra = down_cast(A).mat()
b_epetra = down_cast(b).vec()
x_epetra = down_cast(U.vector()).vec()

the type is found in a python layer by introspection.

Martin



On Thu, Jan 15, 2009 at 6:46 PM, Kent Andre <kent-and@xxxxxxxxx> wrote:
>
> The trilinos demo:
>  demo/la/trilinos/python/demo.py
> has stopped working.
>
> Do anyone have a idea why ?
>
> Kent
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>


Follow ups

References