cls_2015 (CLS with mapping function, 2015)
intsharp/sharpening.py
CLS with mapping function (2015)
Supports: 1D and 2D (selected automatically based on domain)
RHS for the volume fraction \( \alpha \):
\[ \nabla\cdot\left[\alpha(1-\alpha)\big(|\nabla\phi_{\mathrm{map}}| - 1\big)\mathbf{n}_\Gamma\right] \]
Mapping:
\[ \phi_{\mathrm{map}} = \frac{(\alpha+\epsilon)^\gamma}{(\alpha+\epsilon)^\gamma + (1-\alpha+\epsilon)^\gamma} \]
\( \mathbf{n}_\Gamma = \nabla\phi_{\mathrm{map}}/|\nabla\phi_{\mathrm{map}}| \)
Parameters:
eps_target: Target interface thickness \( \epsilon \)strength: Sharpening strength \( \Gamma \)mapping_gamma: Exponent \( \gamma \) in the mapping (default 2), set viamethod_params