From 061e6abbecc1895f1f1061ebb716f7ef69793987 Mon Sep 17 00:00:00 2001 From: David Seus <david.seus@ians.uni-stuttgart.de> Date: Fri, 9 Oct 2020 14:14:08 +0200 Subject: [PATCH] license unused code --- LDDsimulation/UseCaseBase.py | 19 ------------------- LDDsimulation/unused_code.py | 23 ++++++++++++++++++++++- 2 files changed, 22 insertions(+), 20 deletions(-) delete mode 100644 LDDsimulation/UseCaseBase.py diff --git a/LDDsimulation/UseCaseBase.py b/LDDsimulation/UseCaseBase.py deleted file mode 100644 index 99d6b53..0000000 --- a/LDDsimulation/UseCaseBase.py +++ /dev/null @@ -1,19 +0,0 @@ -"""base class for LDD simulation use cases. - -This module defines a base class for the LDDsimulation usecases. -""" - -import dolfin as df -import mshr -import numpy as np -import sympy as sym -import typing as tp -import functools as ft -import domainPatch as dp -import LDDsimulation as ldd -import helpers as hlp - -class UseCaseBase(object): - """Base class for LDD simulation use cases. - """ - diff --git a/LDDsimulation/unused_code.py b/LDDsimulation/unused_code.py index 0e0b007..c6ecc33 100644 --- a/LDDsimulation/unused_code.py +++ b/LDDsimulation/unused_code.py @@ -1,4 +1,25 @@ -# this was part of domainPatch.DomainPatch +#!/bin/python3 +""" unused code that was retired in the LDDsimulation development. + +# LICENSE ##################################################################### +Copyright 2020, David Seus +david.seus[at]ians.uni-stuttgart.de +This file is part of the module LDDsimulation. + + LDDsimulation is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LDDsimulation is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LDDsimulation. If not, see <http://www.gnu.org/licenses/>. +############################################################################### +""" def calc_gravity_neumann_flux(self, interface_index: int, -- GitLab