Skip to content
Snippets Groups Projects
Commit bedd8e9f authored by Markus Holzer's avatar Markus Holzer
Browse files

Added force calculation

parent 73f41507
Branches
Tags
No related merge requests found
Pipeline #66000 passed
import abc
from typing import Any, List, Tuple from typing import Any, List, Tuple
from pystencils.astnodes import SympyAssignment from pystencils.astnodes import SympyAssignment
...@@ -5,11 +6,12 @@ from pystencils.boundaries.boundaryhandling import BoundaryOffsetInfo ...@@ -5,11 +6,12 @@ from pystencils.boundaries.boundaryhandling import BoundaryOffsetInfo
from pystencils.typing import create_type from pystencils.typing import create_type
class Boundary: class Boundary(abc.ABC):
"""Base class all boundaries should derive from""" """Base class all boundaries should derive from"""
inner_or_boundary = True inner_or_boundary = True
single_link = False single_link = False
calculate_force_on_boundary = False
def __init__(self, name=None): def __init__(self, name=None):
self._name = name self._name = name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment