You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The materials are defined in small Python files.
Some sample materials are provided in data/materials/*/definition.py.
Generate the cross-sections and compile the material
scripts/make-mat.py is a wrapper around all the programs that generate the cross-sections and compile them into a material file. It takes a material definition Python file as input and creates a binary .mat file as output, which can be used in the simulator.
cd e-scatter
scripts/make-mat.py data/materials/silicon/definition.py
This will create the file data/materials/silicon/silicon.mat.
You can plot the cross-sections with cstool and GNUplot: