Mercurial > hg > chourdakisreiss2016
diff cpp/chourdakisreiss2016cpp/limits.hpp @ 1:144fbd1d29c3
added c++ class Parameter
author | Emmanouil Theofanis Chourdakis <e.t.chourdakis@qmul.ac.uk> |
---|---|
date | Wed, 28 Dec 2016 17:22:49 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cpp/chourdakisreiss2016cpp/limits.hpp Wed Dec 28 17:22:49 2016 +0000 @@ -0,0 +1,43 @@ +/* + * limits.hpp + * + * Created on: Dec 14, 2016 + * Author: mmxgn + */ + +#ifndef LIMITS_HPP_ +#define LIMITS_HPP_ + + +/* + * Low level parameter limits + */ + +#define GA sqrt(2) +#define G1_MIN 0.001 +#define G1_MAX 0.999 +#define D1_MIN 0.010 +#define D1_MAX 0.900 +#define DA_MIN 0.006 +#define DA_MAX 0.012 +#define GC_MIN 0.001 +#define GC_MAX 0.999 +#define G_MIN 0.001 +#define G_MAX 0.999 + +/* + * High level parameter limits + */ + +#define T60_MIN 0.2 +#define T60_MAX 4.0 +#define ED_MIN 1000.0 +#define ED_MAX 10000.0 +#define C_MIN -20.0 +#define C_MAX 10.0 +#define TC_MIN 0.01 +#define TC_MAX 2.0 +#define SC_MIN 200.0 + + +#endif /* LIMITS_HPP_ */