From 9370e07bd8f3100d45c7c62d548a33a1c5eeb9f1 Mon Sep 17 00:00:00 2001
From: Mathias Chouet <mathias.chouet@irstea.fr>
Date: Wed, 1 Jul 2020 10:58:43 +0200
Subject: [PATCH] Structures: first analytical param is always Q

---
 src/structure/structure.ts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/structure/structure.ts b/src/structure/structure.ts
index 88a4aa89..d222bef9 100644
--- a/src/structure/structure.ts
+++ b/src/structure/structure.ts
@@ -342,4 +342,7 @@ export abstract class Structure extends ChildNub {
         };
     }
 
+    public getFirstAnalyticalParameter() {
+        return this.prms.Q;
+    }
 }
-- 
GitLab