-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling of vector-valued coupling data #26
Comments
I changed the name of the issue. Did I get it right, is that what you want to do? What do you mean by?
|
Yes. I should now refer to I will push the draft of structural solver, so the error (TypeError: only size-1 arrays can be converted to Python scalars) can be reproduced. |
Well, it does call two different preCICE methods that do different things. Probably, I understand better what you mean when you push the draft of the structural solver. Also for the vector-valued case: Still |
@uekerman Thanks, I did not know that it must be one-dim array. Using The issue cannot be closed yet though, there are further modifications in |
Exactly! See also the API documentation |
Closed. Vector valued data is supported since #38 has been merged. |
For structural solver handling of vector function space is required, however this is currently not supported by the
fenicsadapter.py
. At first it seemed that it can be fixed easily, as there are Vector equivalents of Scalar functions inPySolverInterface.py
(e.g.writeBlockScalarData()
andwriteBlockVectorData()
), but actually there is no difference in the body of these functions, hence it does not help.Anyway, I am first going to change from 'PySolverInterface.py' to 'precice' and then try to cope with this issue (#25).
The text was updated successfully, but these errors were encountered: