Skip to content

wlin6927/lume-impact

 
 

Repository files navigation

lume-impact

Tools for using Impact-T and Impact-Z in LUME.

Basic usage:

from impact import Impact

# Prepare Impact object. This will call I.configure() automatically. 
I = Impact('../templates/lcls_injector/ImpactT.in', verbose=True)

# Change some things
I.header['Np'] = 10000
I.header['Nx'] = 16
I.header['Ny'] = 16
I.header['Nz'] = 16

# Run
I.run()
...

# Archive all output

I.archive('test.h5')

Installing lume-impact

Installing lume-impact from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge

Once the conda-forge channel has been enabled, lume-impact can be installed with:

conda install lume-impact

It is possible to list all of the versions of lume-impact available on your platform with:

conda search lume-impact --channel conda-forge

Impact-T Source

https://github.com/impact-lbl/IMPACT-T

About

Tools for using Impact-T and Impact-Z in LUME

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%