Source code for capytaine.green_functions.abstract_green_function
#!/usr/bin/env python
# coding: utf-8
"""Abstract structure of a class used to compute the Green function"""
# Copyright (C) 2017-2019 Matthieu Ancellin
# See LICENSE file at <https://github.com/mancellin/capytaine>
from abc import ABC, abstractmethod
[docs]class AbstractGreenFunction(ABC):
"""Abstract method to evaluate the Green function."""
[docs] @abstractmethod
def evaluate(self, mesh1, mesh2, free_surface, sea_bottom, wavenumber):
pass