Salome HOME
projects
/
modules
/
adao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Nouvelle version de Jean-Philippe ARGAUD
[modules/adao.git]
/
src
/
daComposant
/
daDiagnostics
/
RMS.py
diff --git
a/src/daComposant/daDiagnostics/RMS.py
b/src/daComposant/daDiagnostics/RMS.py
index 9ca170f5ebff6ff629ffacfd72966dde934c7c5b..8c91d9d579afd9285bdfa1526c26d64c6838f4f3 100644
(file)
--- a/
src/daComposant/daDiagnostics/RMS.py
+++ b/
src/daComposant/daDiagnostics/RMS.py
@@
-1,6
+1,6
@@
#-*-coding:iso-8859-1-*-
#
#-*-coding:iso-8859-1-*-
#
-# Copyright (C) 2008-20
09
EDF R&D
+# Copyright (C) 2008-20
10
EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-23,17
+23,13
@@
__doc__ = """
"""
__author__ = "Jean-Philippe ARGAUD - Juillet 2008"
"""
__author__ = "Jean-Philippe ARGAUD - Juillet 2008"
-import sys ; sys.path.insert(0, "../daCore")
-
-import math
-import numpy
-import Persistence
-from BasicObjects import Diagnostic
+import math, numpy
+from daCore import BasicObjects, Persistence
# ==============================================================================
# ==============================================================================
-class ElementaryDiagnostic(Diagnostic,Persistence.OneScalar):
+class ElementaryDiagnostic(
BasicObjects.
Diagnostic,Persistence.OneScalar):
def __init__(self, name = "", unit = "", basetype = None, parameters = {}):
def __init__(self, name = "", unit = "", basetype = None, parameters = {}):
- Diagnostic.__init__(self, name, parameters)
+
BasicObjects.
Diagnostic.__init__(self, name, parameters)
Persistence.OneScalar.__init__( self, name, unit, basetype = float)
def _formula(self, V1, V2):
Persistence.OneScalar.__init__( self, name, unit, basetype = float)
def _formula(self, V1, V2):