SimulationParameters
A parameters class that manages the data for a DMC simulation
Properties and Methods
__init__(self, **params):
Sets up all the necessary simulation data to run a DMC
name:strname to be used when storing file data
description:strlong description which isn’t used for anything
walker_set:WalkerSet | dictthe WalkerSet object that handles all the pure walker activities in the simulation
time_step:floatthe size of the timestep to use throughout the calculation
steps_per_propagation:intthe number of steps to move over before branching in a propagate call
num_time_steps:intthe total number of time steps the simulation should run for (initially)
alpha:floatused in finding the branching correction to the reference potential
potential:function or callablethe function that will take a set of atoms and sets of configurations and spit back out potential value
descendent_weighting:(int, int)the number of steps before descendent weighting and the number of steps to go before saving
log_file:str or stream or other file-like-objectthe file to write log stuff to
output_folder:strthe folder to write all data stuff to
equilibration:int or callablethe number of timesteps or method to determine equilibration
write_wavefunctions:boolwhether or not to write wavefunctions to file after descedent weighting
checkpoint_at:int or Nonethe number of timesteps to progress before checkpointing (None means never)
verbosity:intthe verbosity level for log printing
zpe_averages:intthe number of steps to average the ZPE over
dummied:boolwhether or not to just use for potential calls (exists for hooking into MPI and parallel methods)
world_rank:intthe world_rank of the processor in an MPI call
serialize(self, simulation, file, mode=None):
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings