Commit 4b714867 authored by Martin Bauer's avatar Martin Bauer
Browse files

Conversion from order-parameters to concentration for n-phase

-> last concentration is automatically computed as 1-others
-> makes code more general
parent 0090aa68
......@@ -86,6 +86,8 @@ def discretize_spatial(expr, dx, stencil=fd_stencils_standard):
stencil = fd_stencils_standard
elif stencil == 'isotropic':
stencil = fd_stencils_isotropic
elif stencil == 'isotropic_hd':
stencil = fd_stencils_isotropic_high_density_code
raise ValueError("Unknown stencil. Supported 'standard' and 'isotropic'")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment