Commit 198fd763 authored by Martin Bauer's avatar Martin Bauer
Browse files

Typos in documentation

parent 0b5c91d4
......@@ -23,7 +23,7 @@ def grad(var, dim=3):
def discretizeCenter(term, symbolsToFieldDict, dx, dim=3):
"""
Expects term that contains given symbols and gradient components of these symbols and replaces them
by field accesses. Gradients are replaced centralized approximations:
by field accesses. Gradients are replaced by centralized approximations:
``(upper neighbor - lower neighbor ) / ( 2*dx)``
:param term: term where symbols and gradient(symbol) should be replaced
:param symbolsToFieldDict: mapping of symbols to Field
......
......@@ -608,7 +608,7 @@ def get_type(node):
def insert_casts(node):
"""
Inserts casts and dtype where needed
Inserts casts and dtype whpere needed
:param node: ast which should be traversed
:return: node
"""
......
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