class SamplingProtocol

Overview

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

Included Modules

Defined in:

moltiverse/protocols.cr

Constructors

Instance Method Summary

Constructor Detail

def self.create_from_properties(base_protocol : SamplingProtocol, properties : Hash(String, Int32 | Float64 | Bool)) : SamplingProtocol #

Create a new protocol based on the properties of a molecule


[View source]
def self.from_file(path : String | Path) : self #

[View source]
def self.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) #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(name : String, version : Int32 = 1) : self #

[View source]

Instance Method Detail

def calculate_iterations_and_step : Tuple(Int32, Int32) #

[View source]
def clone : SamplingProtocol #

[View source]
def colvars : Array(Colvar::Windowed) #

[View source]
def describe #

[View source]
def description : String #

[View source]
def description=(description : String) #

[View source]
def execute(lig : Ligand, cpus : Int = System.cpu_count) #

[View source]
def fullsamples : Int32 #

[View source]
def hillweight : Float64 #

[View source]
def hillwidth : Float64 #

[View source]
def loaded_from_file : Bool #

[View source]
def loaded_from_file=(loaded_from_file : Bool) #

[View source]
def metadynamics : Bool #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def newhillfrequency : Int32 #

[View source]
def output_frequency : Int32 #

[View source]
def output_frequency=(output_frequency : Int32) #

[View source]
def protocol_type : String #

[View source]
def protocol_type=(protocol_type : String) #

[View source]
def protonation_ph : Float64 #

[View source]
def protonation_ph=(protonation_ph : Float64) #

[View source]
def simulation_time : Float64 #

[View source]
def smiles_conversion_timeout : Int32 #

[View source]
def smiles_conversion_timeout=(smiles_conversion_timeout : Int32) #

[View source]
def structure_generator : String #

[View source]
def structure_generator=(structure_generator : String) #

[View source]
def user_selected : Bool #

[View source]
def user_selected=(user_selected : Bool) #

[View source]
def version : Int32 #

[View source]
def version=(version : Int32) #

[View source]