Comments (7)
Thank you @sshiraiwa, with these additional changes my code is working again.
from pymfem.
Thanks. This is oversight. It looks like QuadratureSpace was moved to qspace.hpp in recent MFEM, thus using --mfem-branch='master' makes it disappear.
from pymfem.
@benzwick I am trying to address this in PR#152. Please let me know if this works for you.
from pymfem.
@sshiraiwa Thanks for looking at this. I will have to wait for #150 because I cannot install parallel MFEM with pip right now.
from pymfem.
PR #152 appears to fix the problem. It works when I install PyMFEM like this:
pip3 install git+https://github.com/mfem/PyMFEM@add_qspace_dev --user --install-option="--mfem-branch=master" --install-option="--with-parallel" --no-cache-dir --verbose
and move the files as described in #150.
from pymfem.
I just realised that QuadratureFunction
is also missing:
In [1]: import mfem.par as mfem
...: mesh = mfem.Mesh(10, 10, "TRIANGLE")
...: qspace = mfem.QuadratureSpace(mesh, 0)
...: qf = mfem.QuadratureFunction(qspace)
...:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-8766a9eb5580> in <module>
2 mesh = mfem.Mesh(10, 10, "TRIANGLE")
3 qspace = mfem.QuadratureSpace(mesh, 0)
----> 4 qf = mfem.QuadratureFunction(qspace)
AttributeError: module 'mfem.par' has no attribute 'QuadratureFunction'
from pymfem.
Okay. I throw in a few more *.i files (#153). If you have a short example for testing methods you need, please contribute.
from pymfem.
Related Issues (20)
- Exception generated when trying to get the face indices on a specific element HOT 5
- Is it possible to link to an existing mfem library? HOT 7
- Linking with external requires no-serial option
- Error after PyMFEM install HOT 1
- segment-nurbs.mesh won't run in PyMFEM HOT 1
- Typo in coefficient_common.i HOT 2
- GetMemoryType returns a python integer rather than an mfem MemoryType
- Example of calculating/plot stress or strain on ex2.py/ex17.py? HOT 11
- how to dereference swig double* returned by mfem.Vector().GetData() ? HOT 2
- VectorPyCoefficent invalid size causing crash HOT 5
- Power9 installation Failure HOT 6
- Up-to-date installation for parallel version? HOT 7
- Discrepancy in error calculation for identical meshes and solutions
- Module conflict with c++ mfem in `pyMFEM==4.5.2.1` HOT 2
- `FindPointsGSLIB::GetCode()` does not return `mfem::Array<unsigned int>` HOT 1
- Installation failure with `--with-parallel` and `--with-gslib` on v.4.5.2.1 HOT 4
- How to implement LinearFormIntegrator HOT 1
- MFEM4.6 support HOT 1
- vtk output for solutions HOT 14
- First element read by GF is 0 not the value in the file HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymfem.