Comments (4)
Поправил некоторые вещи; теперь считается. По-крайней мере в примере с ribbon_beam_contour.
Думаю, надо сделать отдельный пример для теста перезапуска из фаила.
Поставить в конфиге все возможные секции.
Только непонятно, как сравнить результаты перезапущенного варианта с расчетом из конфига.
from ef_python.
А если брать пример single_particle_in_free_space, то работает
ab@ab-work:~/ef_python/examples/single_particle_in_magnetic_field$ python3 ../../main.py long_simulation_0000200.h5
Extracted h5 prefix and suffix: long_simulation_ .h5
Traceback (most recent call last):
File "../../main.py", line 73, in
main()
File "../../main.py", line 18, in main
dom, continue_from_h5 = construct_domain( config_or_h5_file )
File "../../main.py", line 37, in construct_domain
dom = Domain.init_from_h5( h5file )
File "/home/ab/ef_python/Domain.py", line 52, in init_from_h5
h5file["/External_fields"] )
File "/home/ab/ef_python/ExternalFieldsManager.py", line 36, in init_from_h5
self.parse_hdf5_external_field( current_field_grpid )
NameError: name 'self' is not defined
from ef_python.
Поправил пару вещей.
Этот пример перезапускается.
from ef_python.
Да работает
from ef_python.
Related Issues (20)
- cone shape visualization call seems wrong HOT 1
- Transfer examples to Jupyter notebooks
- Define common geometric primitives classes; use them in particles sources and inner regions HOT 5
- Rename Domain into Simulation HOT 1
- Basic testing HOT 1
- Finish the Jupyter notebook for the particle-in-free-space example
- Finish Fast Poisson Solvers
- Ef Jupyter module requires kernel interruption after ef.run HOT 1
- Make ef.py executable to replace 'python3 ef.py conf.ini' -> 'ef.py conf.ini'
- Finish the Jupyter notebook for the particle-in-uniform-electric-field example
- Migrate code to numpy HOT 3
- Add particles behaviour on boundaries as config option; Incorporate code from Maxwell test
- Remove common.py
- ConeAlongZ problem for Pierce gun HOT 2
- fix SingleParticleInFreeSpace colab notebook
- Define several functions to visulize computed results
- Migrate from CGS to SI units
- Publish package in pypi when ready HOT 1
- Separate visualization requirements and simulation requirements
- Test of Example: Single Particle In Uniform Electric Field
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 ef_python.