Skip to content
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

reading a numpy matrix in libROM/mfem #204

Open
gokhalen opened this issue Apr 28, 2023 · 2 comments
Open

reading a numpy matrix in libROM/mfem #204

gokhalen opened this issue Apr 28, 2023 · 2 comments

Comments

@gokhalen
Copy link

Is there an easy way to read a numpy matrix into libROM or MFEM?

Thanks,

Nachiket

@siuwuncheung
Copy link
Member

Hi Nachiket. Unfortunately, we do not have the capability of reading numpy arrays in libROM yet, and the Python interface of libROM is still development. We do have the capability of reading vector data in CSV or HDF5 format that is readily available for use.

@gokhalen
Copy link
Author

gokhalen commented Jun 1, 2023

I used Numpy's tofile and fromfile functions which are easy to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants