mythos.energy.dna1.fene
FENE energy function for DNA1 model.
Classes
Configuration for the FENE energy function. |
|
FENE energy function for DNA1 model. |
Module Contents
- class mythos.energy.dna1.fene.FeneConfiguration[source]
Bases:
mythos.energy.configuration.BaseConfigurationConfiguration for the FENE energy function.
- init_params() FeneConfiguration[source]
Initializes the dependent parameters in configuration.
Should be implemented in the subclass if dependent parameters are present.
- class mythos.energy.dna1.fene.Fene[source]
Bases:
mythos.energy.base.BaseEnergyFunctionFENE energy function for DNA1 model.
- params: FeneConfiguration
- pairwise_energies(body: mythos.energy.base.BaseNucleotide, bonded_neighbors: mythos.utils.types.Arr_Bonded_Neighbors_2) mythos.utils.types.Arr_Bonded_Neighbors[source]
Computes the FENE energy for each bonded pair.
- compute_energy(nucleotide: mythos.energy.base.BaseNucleotide) mythos.utils.types.Scalar[source]
Compute the energy of the system given the nucleotide.