Replies: 2 comments
-
Do you want to do this in the Python wrapper? If so, you could do something like this
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I wanted to do this in the C++ version of MFEM. I think I have managed it using the 'tofile' and 'fromfile' functions from Numpy which appear to write out a simple straight binary file, so I don't need to bother with the npy format |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an easy way to load numpy matrices and vectors into mfem?
-Nachiket
Beta Was this translation helpful? Give feedback.
All reactions