pyvibdmc.simulation_utilities.mpi_potential_manager

Classes

MPI_Potential

Module Contents

class pyvibdmc.simulation_utilities.mpi_potential_manager.MPI_Potential(potential_function, potential_directory, python_file, pot_kwargs=None, pass_timestep=False)
potential_function
python_file
potential_directory
pot_kwargs = None
pass_timestep = False
prep_pot()

Pretty much exactly what happens when mp pool is initialized in the potential_manager

initwrapper(cds)

pre is prep_pot, which takes the tuple initargs that has the python file stuff in it. call_the_pot is the variable name for the callpot function. cdz are the coordinates.

getpot(cds, timeit=False)