Kindfield
|
Functions | |
def | shifted_lennard_jones |
Variables | |
tuple | parser = ArgumentParser() |
tuple | args = parser.parse_args() |
tuple | output_dir = os.path.abspath("tmp") |
states_files = args.states_files | |
tuple | output_file = os.path.join(output_dir, "two_particle_plot.pdf") |
energy_min = inf | |
energy_max = -inf | |
list | energies = [] |
list | r12s = [] |
tuple | f = h5py.File(statesFile, "r") |
tuple | atomsMeta = f.get("atomMeta") |
list | energyOffset = atomsMeta.attrs["energyOffset"] |
tuple | states = f.get("/states") |
tuple | atoms = states.get(stateName) |
list | r12 = atoms.attrs["r12"] |
list | energy = atoms.attrs["energy"] |
tuple | diffs = abs(diff(energies) / diff(r12s)) |
def plot_two_particle_states.shifted_lennard_jones | ( | x, | |
epsilon, | |||
sigma, | |||
a | |||
) |
Definition at line 11 of file plot_two_particle_states.py.
tuple plot_two_particle_states.args = parser.parse_args() |
Definition at line 17 of file plot_two_particle_states.py.
tuple plot_two_particle_states.atoms = states.get(stateName) |
Definition at line 51 of file plot_two_particle_states.py.
tuple plot_two_particle_states.atomsMeta = f.get("atomMeta") |
Definition at line 45 of file plot_two_particle_states.py.
Definition at line 71 of file plot_two_particle_states.py.
tuple plot_two_particle_states.energies = [] |
Definition at line 40 of file plot_two_particle_states.py.
list plot_two_particle_states.energy = atoms.attrs["energy"] |
Definition at line 56 of file plot_two_particle_states.py.
tuple plot_two_particle_states.energy_max = -inf |
Definition at line 38 of file plot_two_particle_states.py.
tuple plot_two_particle_states.energy_min = inf |
Definition at line 37 of file plot_two_particle_states.py.
list plot_two_particle_states.energyOffset = atomsMeta.attrs["energyOffset"] |
Definition at line 46 of file plot_two_particle_states.py.
tuple plot_two_particle_states.f = h5py.File(statesFile, "r") |
Definition at line 44 of file plot_two_particle_states.py.
tuple plot_two_particle_states.output_dir = os.path.abspath("tmp") |
Definition at line 19 of file plot_two_particle_states.py.
tuple plot_two_particle_states.output_file = os.path.join(output_dir, "two_particle_plot.pdf") |
Definition at line 35 of file plot_two_particle_states.py.
tuple plot_two_particle_states.parser = ArgumentParser() |
Definition at line 14 of file plot_two_particle_states.py.
list plot_two_particle_states.r12 = atoms.attrs["r12"] |
Definition at line 55 of file plot_two_particle_states.py.
tuple plot_two_particle_states.r12s = [] |
Definition at line 41 of file plot_two_particle_states.py.
tuple plot_two_particle_states.states = f.get("/states") |
Definition at line 49 of file plot_two_particle_states.py.
tuple plot_two_particle_states.states_files = args.states_files |
Definition at line 28 of file plot_two_particle_states.py.