]> SALOME platform Git repositories - tools/adao_interface.git/commitdiff
Salome HOME
Linear one was missing for integration into Persalys
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 24 Sep 2019 12:31:26 +0000 (14:31 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 24 Sep 2019 12:31:26 +0000 (14:31 +0200)
AdaoModelKeyVal.cxx
AdaoModelKeyVal.hxx

index b7b3aac893ac041f11cd72f7de163c8f5a482130..0c218328b0b633bed6229f77f798c89a15088139 100644 (file)
@@ -159,6 +159,7 @@ std::shared_ptr<DictKeyVal> EnumAlgoKeyVal::generateDftParameters() const
   switch(_enum)
     {
     case EnumAlgo::ThreeDVar:
+    case EnumAlgo::LinearLeastSquares:
     case EnumAlgo::NonLinearLeastSquares:
       {
         return templateForOthers();
@@ -180,6 +181,8 @@ std::string EnumAlgoKeyVal::getRepresentation() const
       return "3DVAR";
     case EnumAlgo::NonLinearLeastSquares:
       return "NonLinearLeastSquares";
+    case EnumAlgo::LinearLeastSquares:
+      return "LinearLeastSquares";
     case EnumAlgo::Blue:
       return "Blue";
     default:
index f9c8132622c29d10a344abb328cfe27b5cd7b62e..372daaf4b6791b7e2beb0c5c0b187abe641ea38a 100644 (file)
@@ -45,7 +45,8 @@ namespace AdaoModel
   {
       ThreeDVar,
       Blue,
-      NonLinearLeastSquares
+      NonLinearLeastSquares,
+      LinearLeastSquares
   };
 
   class GenericKeyVal;