File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ # 0.14.1
2
+
3
+ - Fix dimer formation rates in kTAM model.
4
+
1
5
# 0.14.0
2
6
3
7
- Allow state references to be cloned into normal states (useful for FFS results).
Original file line number Diff line number Diff line change @@ -663,6 +663,8 @@ impl System for KTAM {
663
663
"tile_concs" => Ok ( Box :: new ( self . tile_concs . clone ( ) ) ) ,
664
664
"glue_strengths" => Ok ( Box :: new ( self . glue_strengths . clone ( ) ) ) ,
665
665
"glue_links" => Ok ( Box :: new ( self . glue_links . clone ( ) ) ) ,
666
+ "energy_ns" => Ok ( Box :: new ( self . energy_ns . clone ( ) ) ) ,
667
+ "energy_we" => Ok ( Box :: new ( self . energy_we . clone ( ) ) ) ,
666
668
_ => Err ( GrowError :: NoParameter ( name. to_string ( ) ) ) ,
667
669
}
668
670
}
@@ -688,7 +690,7 @@ impl SystemWithDimers for KTAM {
688
690
689
691
for ( ( t1, t2) , e) in self . energy_ns . indexed_iter ( ) {
690
692
if * e > 0. {
691
- let biconc = self . tile_concs [ t1] * self . tile_concs [ t2] ;
693
+ let biconc = self . tile_concs [ t1] * self . tile_concs [ t2] / 1.0e9 ;
692
694
dvec. push ( DimerInfo {
693
695
t1 : t1 as Tile ,
694
696
t2 : t2 as Tile ,
@@ -701,7 +703,7 @@ impl SystemWithDimers for KTAM {
701
703
702
704
for ( ( t1, t2) , e) in self . energy_we . indexed_iter ( ) {
703
705
if * e > 0. {
704
- let biconc = f64 :: exp ( 2. * self . alpha ) * self . tile_concs [ t1] * self . tile_concs [ t2] ;
706
+ let biconc = self . tile_concs [ t1] * self . tile_concs [ t2] / 1.0e9 ;
705
707
dvec. push ( DimerInfo {
706
708
t1 : t1 as Tile ,
707
709
t2 : t2 as Tile ,
You can’t perform that action at this time.
0 commit comments