jax_dna.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 jax_dna.energy.dna1.fene.FeneConfiguration[source]
Bases:
jax_dna.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 jax_dna.energy.dna1.fene.Fene[source]
Bases:
jax_dna.energy.base.BaseEnergyFunctionFENE energy function for DNA1 model.
- params: FeneConfiguration
- pairwise_energies(body: jax_dna.energy.base.BaseNucleotide, bonded_neighbors: jax_dna.utils.types.Arr_Bonded_Neighbors_2) jax_dna.utils.types.Arr_Bonded_Neighbors[source]
Computes the FENE energy for each bonded pair.
- __call__(body: jax_dna.energy.base.BaseNucleotide, seq: jax_dna.utils.types.Sequence, bonded_neighbors: jax_dna.utils.types.Arr_Bonded_Neighbors_2, unbonded_neighbors: jax_dna.utils.types.Arr_Unbonded_Neighbors_2) jax_dna.utils.types.Scalar[source]
Calculate the energy of the system.