Skip to content

Commit a1cb159

Browse files
committed
fix roughness parameter usage in Int_CG
1 parent d85cede commit a1cb159

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/anaflow/tools/coarse_graining.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,8 @@ def Int_CG(
587587
chi = np.log(K_well / K_efu)
588588

589589
return K_efu * np.exp(
590-
(chi * 2 * roughness / (dim + 2 * roughness))
591-
* tpl_hyp(rad, dim, roughness, len_scale * anis ** (1 / 3), prop)
590+
(chi * roughness / (dim + roughness))
591+
* tpl_hyp(rad, dim, roughness / 2, len_scale * anis ** (1 / 3), prop)
592592
)
593593

594594

0 commit comments

Comments
 (0)