not sure what this code was intended to do
This commit is contained in:
parent
3657f81c59
commit
6f07a20919
|
@ -1,18 +1,6 @@
|
||||||
import damask.solver
|
|
||||||
|
|
||||||
class Solver():
|
class Solver():
|
||||||
"""
|
"""
|
||||||
General class for solver specific functionality.
|
General class for solver specific functionality.
|
||||||
|
|
||||||
Sub-classed by the individual solvers.
|
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__()
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue