Dear CS10-Gitlab-users, on Thursday, Feb 3 there will be maintenance. That will lead to a downtime of the CS10-Gitlab-service including Subversion and Mattermost chat from 09:30. This might take the whole day since we don't know how long it is going to take. We are sorry for the inconvenience! Best regards, CS10-Admin-Team

Commit 42e2698d authored by Martin Bauer's avatar Martin Bauer
Browse files

Phase field equation derived from free energy - first draft

parent 223f12d4
from typing import Tuple
import sympy as sp
from functools import partial
from pystencils.astnodes import LoopOverCoordinate
from pystencils.cache import memorycache
from pystencils import AssignmentCollection, Field
from pystencils import Field
from pystencils.fd import Diff
from pystencils.transformations import generic_visit
from .derivative import diff_args
......@@ -164,8 +162,10 @@ def discretize_spatial_staggered(expr, dx, stencil=fd_stencils_standard):
return generic_visit(expr, visitor)
# -------------------------------------- special stencils --------------------------------------------------------------
def forth_order_2d_derivation() -> Tuple[FiniteDifferenceStencilDerivation.Result, ...]:
# Symmetry, isotropy and 4th order conditions are not enough to fully specify the stencil
Markdown is supported
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