not sure what this code was intended to do

This commit is contained in:
Martin Diehl 2019-09-03 17:22:09 -07:00
parent 3657f81c59
commit 6f07a20919
1 changed files with 0 additions and 12 deletions

View File

@ -1,18 +1,6 @@
import damask.solver
class Solver():
"""
General class for solver specific functionality.
Sub-classed by the individual solvers.
"""
def __init__(self,solver=''):
solverClass = {
'spectral': damask.solver.Spectral,
'marc': damask.solver.Marc,
}
if solver.lower() in list(solverClass.keys()):
self.__class__=solverClass[solver.lower()]
self.__init__()