RNAlib-2.4.14
concentrations.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_CONCENTRATIONS_H
2 #define VIENNA_RNA_PACKAGE_CONCENTRATIONS_H
3 
4 #ifdef VRNA_WARN_DEPRECATED
5 # if defined(__clang__)
6 # define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
7 # elif defined(__GNUC__)
8 # define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
9 # else
10 # define DEPRECATED(func, msg) func
11 # endif
12 #else
13 # define DEPRECATED(func, msg) func
14 #endif
15 
29 
30 
31 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
32 
36 typedef struct vrna_dimer_conc_s ConcEnt;
37 
38 #endif
39 
40 #include <ViennaRNA/params/basic.h>
41 
46  double Ac_start;
47  double Bc_start;
48  double ABc;
49  double AAc;
50  double BBc;
51  double Ac;
52  double Bc;
53 };
54 
55 
76  double FcAA,
77  double FcBB,
78  double FEA,
79  double FEB,
80  const double *startconc,
81  const vrna_exp_param_t *exp_params);
82 
83 
88 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
89 
90 /*
91  #################################################
92  # DEPRECATED FUNCTIONS #
93  #################################################
94  */
95 
116 DEPRECATED(vrna_dimer_conc_t *get_concentrations(double FEAB,
117  double FEAA,
118  double FEBB,
119  double FEA,
120  double FEB,
121  double *startconc),
122  "Use vrna_pf_dimer_concentrations() instead");
123 
124 #endif
125 
126 #endif
double Bc_start
start concentration B
Definition: concentrations.h:47
Data structure for concentration dependency computations.
Definition: concentrations.h:45
double Ac_start
start concentration A
Definition: concentrations.h:46
The data structure that contains temperature scaled Boltzmann weights of the energy parameters...
Definition: basic.h:103
double ABc
End concentration AB.
Definition: concentrations.h:48
vrna_dimer_conc_t * get_concentrations(double FEAB, double FEAA, double FEBB, double FEA, double FEB, double *startconc)
Given two start monomer concentrations a and b, compute the concentrations in thermodynamic equilibri...
Functions to deal with sets of energy parameters.
vrna_dimer_conc_t * vrna_pf_dimer_concentrations(double FcAB, double FcAA, double FcBB, double FEA, double FEB, const double *startconc, const vrna_exp_param_t *exp_params)
Given two start monomer concentrations a and b, compute the concentrations in thermodynamic equilibri...