mccore¶
-
class
javelin.mccore.Target(Py_ssize_t[:, :] neighbors, Energy energy)¶ Class to hold an Energy object with it associated neighbors
-
energy¶ energy: javelin.energies.Energy
-
neighbors¶
-
number_of_neighbors¶
-
-
javelin.mccore.mcrun(BaseModifier[:] modifiers, Target[:] targets, int iterations, double temperature, int64_t[:, :, :, ::1] a, double[:, :, :, ::1] x, double[:, :, :, ::1] y, double[:, :, :, ::1] z) -> (int, int, int)¶ This function is not meant to be used directly. It is used by
javelin.mc.MC. The function does very little validation of the input values, it you don’t provide exactly what is expected then segmentation fault is likely.