Comments (3)
Quick fix is to use np.array(pn.pore_condition['temperature']).shape
and np.array(pn.pore_condition['temperature']).dtype
from openpnm.
Hmm, I didn't test the print_overview very extensively so I apologize if it breaks. Your proposed fix isnt' acceptable though, because allowing them to be either scalar OR vector is the main point.
from openpnm.
check line 532 of GenericNetwork.py where I applied the fix.
The condition variable is not actually converted. It is just thrown into the np.array()
brackets for .dtype
analysis
from openpnm.
Related Issues (20)
- OpenPNM is not available on ARM64 HOT 23
- Add an FAQ to docs? HOT 1
- `pypardiso` breaks native builds on Arm64 architechture (the new Apple silicon) HOT 2
- README is outdated about `pypardiso`
- Bug when mixing symmetric and asymmetric conductance in different domains HOT 5
- BCC network spacing is incorrect
- Can the defense phase in Simulating Invasion be changed HOT 3
- load_project() is not working properly HOT 1
- Help reduce pore.coordination.number HOT 1
- Rethink the settings attribute
- Matplotlib is breaking our use of docstring.substitution HOT 1
- `find_nearby_pores` does not respect `include_input` argument
- spacing for BodyCenteredCubic network HOT 3
- `AdvectionDiffusion`'s `set_outflow_BC` needs to be called iteratively for multiphysics problems
- Add `rerun` method to transport classes HOT 3
- DelaunayVoronoiDual does not reflect properly if relaxation > 0
- module 'openpnm.models.physics' has no attribute 'GenericPhysics'Concise description of the feature HOT 1
- from scipy.optimize.nonlin import TerminationCondition invalid with scipy v >= 1.14 HOT 4
- Massive overestimation of absolute permeability in extracted networks from Nano-CT Tiff stacks HOT 1
- Fix MacOS Builds
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 openpnm.