Skip to content

Commit fa2a8b0

Browse files
committed
Fem: Add nonlinear options to static current solver
1 parent 04e4b2e commit fa2a8b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Mod/Fem/femsolver/elmer/equations/staticcurrent.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030

3131
from femtools import femutils
3232
from ... import equationbase
33-
from . import linear
33+
from . import nonlinear
3434

3535

3636
def create(doc, name="StaticCurrent"):
3737
return femutils.createObject(doc, name, Proxy, ViewProxy)
3838

3939

40-
class Proxy(linear.Proxy, equationbase.StaticCurrentProxy):
40+
class Proxy(nonlinear.Proxy, equationbase.StaticCurrentProxy):
4141

4242
Type = "Fem::EquationElmerStaticCurrent"
4343

@@ -83,7 +83,7 @@ def __init__(self, obj):
8383
obj.addProperty("App::PropertyPower", "Power", "StaticCurrent", "Power control value")
8484

8585

86-
class ViewProxy(linear.ViewProxy, equationbase.StaticCurrentViewProxy):
86+
class ViewProxy(nonlinear.ViewProxy, equationbase.StaticCurrentViewProxy):
8787
pass
8888

8989

0 commit comments

Comments
 (0)