Utilities for handling gDesmond config files.
Copyright Schrodinger, LLC. All rights reserved.
|
real_to_int(val)
round up to the closest integer when the difference is less than 1e-7 |
|
|
|
optimize_key(msj,
cfg,
model)
Optimizes the simulation parameters in 'cfg', where 'cfg' must
represent a complete config file. |
|
|
|
__get_epsilon_lambda_schedule(n_win=16,
B=False)
generate lambda schedule for epsilons in soft-core potentials n_win:
number of windows B: final state |
|
|
|
__get_flexible_lambda_schedule()
Return sea.List object for flexible lambda schedules FIXME: the
number of windowns is hardcoded to 16 |
|
|
|
__set_fep(msj,
cfg,
model) |
|
|
|
__set_cutoff_radius(msj,
cfg,
model) |
|
|
|
__set_bigger_rclone(msj,
cfg,
model) |
|
|
|
__set_taper(msj,
cfg,
model) |
|
|
|
__set_coulomb_method(msj,
cfg,
model) |
|
|
|
__set_temperature(msj,
cfg,
model) |
|
|
|
__set_annealing(msj,
cfg,
model) |
|
|
|
__set_pressure(msj,
cfg,
model) |
|
|
|
__set_surface_tension(msj,
cfg,
model) |
|
|
|
get_ensemble_class_method(msj) |
|
|
|
__set_ensemble(msj,
cfg,
model) |
|
|
|
__set_time(msj,
cfg,
model) |
|
|
|
__set_elapsed_time(msj,
cfg,
model) |
|
|
|
__set_timestep(msj,
cfg,
model) |
|
|
|
__set_cpu(msj,
cfg,
model) |
|
|
|
__set_glue(msj,
cfg,
model) |
|
|
|
__set_vrun_frameset(msj,
cfg,
model) |
|
|
|
__set_trajectory(msj,
cfg,
model) |
|
|
|
__set_eneseq(msj,
cfg,
model) |
|
|
|
__set_checkpt(msj,
cfg,
model) |
|
|
|
__set_maeff_output(msj,
cfg,
model) |
|
|
|
__set_randomize_velocity(msj,
cfg,
model) |
|
|
|
__set_simbox(msj,
cfg,
model) |
|
|
|
get_simbox_output_filename(msj)
Returns 'None' if the simbox_output plugin is turned off. |
|
|
|
__set_energy_group(msj,
cfg,
model) |
|
|
|
get_energy_group_output_filename(msj)
Returns 'None' if the energy_groups plugin is turned off. |
|
|
|
get_fep_output_filename(msj) |
|
|
|
__set_max_steps(msj,
cfg,
model) |
|
|
|
__set_convergence(msj,
cfg,
model) |
|
|
|
__set_steepest_descent_steps(msj,
cfg,
model) |
|
|
|
__set_num_vector(msj,
cfg,
model) |
|
|
|
__set_backend(msj,
cfg,
model) |
|
|
|
gen_temperature_for_solute_tempering(setting,
model,
base_temp,
asl,
printer=None) |
|
|
|
gen_replica(msj,
model=None) |
|
|
|
__set_replica(msj,
cfg,
model) |
|
|
|
|
|
__set_model_file(msj,
cfg,
model) |
|
|
|
__attach_msj(msj,
cfg,
model) |
|
|
|
__set_restrain(msj,
cfg,
model) |
|
|
sea.Map
|
concatenate_cfgs(simulate_cfgs,
base_cfg)
Create a single backend config file from a list of simulate configs
created from the simulate block of a concatenate front-end config and
the backend config created from the rest of the concatenate front-end
config. |
|
|
|
set_relative_restrain_scaling(first_restrain,
restrain,
this_integrator)
Set each integrator's posre_scaling attribute to the ratio between
the desired restraint force constant and the first force constant. |
|
|
|
_restrain_force_constant(restrain)
Get the force constant for a restrain parameter |
|
|
|
_check_restrain_diffs(restrain,
first_restrain)
Check that the restrain parameters do not differ in any way except
the force constant. |
|
|
|
__optimize_cfg(msj,
cfg,
model) |
|
|
|
|
|
|
|
__msj2cfg_helper(msj,
cfg,
model,
macro) |
|
|
|
msj2cfg(msj,
cfg,
model,
macro=None) |
|
|