-
Notifications
You must be signed in to change notification settings - Fork 9
Installation
noooway edited this page Feb 9, 2019
·
38 revisions
Python version -- slower, but easier to install:
sudo apt-get install git &&
sudo apt-get install python3 &&
sudo apt-get install jupyter &&
sudo apt-get install hdf5-tools hdfview &&
# clone and install python packages
git clone https://github.com/epicf/ef_python your-ef_python-dir &&
pip3 install --user --requirement your-ef_python-dir/requirements.txt
# test
cd your-ef_python-dir/examples/axially_symmetric_beam_contour &&
sh run_example.sh &&
ls
C++ version -- faster, but requires compilation:
sudo apt-get install git build-essential &&
sudo apt-get install libboost-dev libboost-program-options-dev libhdf5-dev &&
sudo apt-get install python3 python3-numpy python3-matplotlib python3-scipy &&
sudo apt-get install python3-h5py &&
sudo apt-get install jupyter &&
sudo apt-get install hdf5-tools hdfview &&
# clone and compile
git clone https://github.com/epicf/ef your-ef-dir &&
cd your-ef-dir &&
make &&
# test
cd ./examples/axially_symmetric_beam_contour &&
sh run_example.sh &&
ls
Test example is launched to check whether the program has been installed correctly. During the computation it should produce several *.h5
files with the data; after it finishes -- a .png
file with a picture of a beam profile, similar to the one below:
In case the installation has been successful, it is suggested to examine available examples in the wiki.
Find us on VKontakte Facebook ResearchGate
- Home
- Motivation and Goals
- Alternatives
- Current Features and Development Roadmap
- What It Is and How It Works
- Preprints and Published Works
- Installation
- Quick start
-
Examples
Single Particle- Single Particle in Free Space
- Single Particle In Uniform Magnetic Field
-
Single Particle In Uniform Electric Field
Electron Beams - Ribbon Beam Contour
- Contour of Ribbon Beam In Uniform Magnetic Field
- Axially Symmetric Beam Contour
- Contour of Axially Symmetric Beam In Uniform Magnetic Field
-
Potential well of cylindrical beam in tube
Other - Conducting Sphere Potential
- Child-Langmuir Law for Planar Diode
- FreeCAD and ParaView
- Code structure
- Supported Config File Sections