Hi,
It gave me the error when I tried 'solve(A, U, b)' in which U and b are vectors with the same size (I checked). What does the error exactly mean?
Thank you!
This is the type system complaining, it's not related to the size of your linear algebra objects.
You need to provide more detail: what is the type of the objects A, U, b that you send to solve?
Tip: print type(A)
I'm having the same problem. My types are...
A: class 'dolfin.cpp.la.Vector' U: class 'dolfin.cpp.la.GenericVector' b: class 'dolfin.cpp.la.GenericVector'
Did OP resolve the issue? how?
You want to solve a linear system A U = b, where A is a matrix representing the linear system and U and b are vectors. Looking at your types, your A is a vector.
I have same problem types are
Can I convert list to vector?