summaryrefslogtreecommitdiff
path: root/plugins/ZamTube/triode.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ZamTube/triode.h')
-rw-r--r--plugins/ZamTube/triode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/ZamTube/triode.h b/plugins/ZamTube/triode.h
index e7a70fb..a3b50ba 100644
--- a/plugins/ZamTube/triode.h
+++ b/plugins/ZamTube/triode.h
@@ -67,6 +67,7 @@ public:
Triode();
void compute(T Kbb, T Gbb, T Pbb);
+ void prepare(void);
T getC(void);
T getG(void);
T getP(void);
@@ -79,6 +80,11 @@ public:
T zeroffp ( T a, T b, T t );
T zeroffp_insane ( T a, T b, T t );
T zeroffg ( T a, T b, T t );
+
+private:
+ //Taylor series coefficients for fast calculations
+ double ffp_raw[3];
+ double ffp_coeff[3];
};
#endif