FEM: constraint initial flow velocity, rename class and module

This commit is contained in:
Bernd Hahnebach
2020-05-22 01:07:35 +02:00
parent bb30b35511
commit 6c10202760
6 changed files with 36 additions and 22 deletions

View File

@@ -1,5 +1,6 @@
# ***************************************************************************
# * Copyright (c) 2017 Markus Hovorka <m.hovorka@live.de> *
# * Copyright (c) 2020 Bernd Hahnebach <bernd@bimstatik.org> *
# * *
# * This file is part of the FreeCAD CAx development system. *
# * *
@@ -25,19 +26,19 @@ __title__ = "FreeCAD FEM constraint initial flow velocity document object"
__author__ = "Markus Hovorka, Bernd Hahnebach"
__url__ = "http://www.freecadweb.org"
## @package FemConstraintInitialFlowVelocity
## @package constraint_initialflowvelocity
# \ingroup FEM
# \brief FreeCAD FEM constraint initial flow velocity object
# \brief constraint initial flow velocity object
from . import FemConstraint
class Proxy(FemConstraint.Proxy):
class ConstraintInitialFlowVelocity(FemConstraint.Proxy):
Type = "Fem::ConstraintInitialFlowVelocity"
def __init__(self, obj):
super(Proxy, self).__init__(obj)
super(ConstraintInitialFlowVelocity, self).__init__(obj)
obj.addProperty(
"App::PropertyFloat",
"VelocityX",