class

SamplingProtocol

Inherits YAML::Serializable / Reference / Object

Define colvar bounds, windows and time for the collective variables.

Constructors

create_from_properties(base_protocol : SamplingProtocol, properties : Hash(String, Int32 | Float64 | Bool)) : SamplingProtocol

Create a new protocol based on the properties of a molecule

Source
from_file(path : String | Path) : self
Source
new(colvars : Array(Colvar::Windowed), simulation_time : Float64, fullsamples : Int32, metadynamics : Bool, hillweight : Float64, hillwidth : Float64, newhillfrequency : Int32, structure_generator : String = "cdpkit", protonation_ph : Float64 = 7.0, name : String = "default", description : String = "", output_frequency : Int = 500)
Source
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(name : String, version : Int32 = 1) : self
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

calculate_iterations_and_step
Source
clone
Source
colvars
Source
describe
Source
description
Source
description=(description : String)
Source
execute(lig : Ligand, cpus : Int = System.cpu_count)
Source
fullsamples
Source
hillweight
Source
hillwidth
Source
loaded_from_file
Source
loaded_from_file=(loaded_from_file : Bool)
Source
metadynamics
Source
name
Source
name=(name : String)
Source
newhillfrequency
Source
output_frequency
Source
output_frequency=(output_frequency : Int32)
Source
protocol_type
Source
protocol_type=(protocol_type : String)
Source
protonation_ph
Source
protonation_ph=(protonation_ph : Float64)
Source
simulation_time
Source
smiles_conversion_timeout
Source
smiles_conversion_timeout=(smiles_conversion_timeout : Int32)
Source
structure_generator
Source
structure_generator=(structure_generator : String)
Source
user_selected
Source
user_selected=(user_selected : Bool)
Source
version
Source
version=(version : Int32)
Source