RNAlib-2.5.0
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 double *
84 vrna_equilibrium_constants(const double *dG_complexes,
85  const double *dG_strands,
86  const unsigned int **A,
87  double kT,
88  size_t strands,
89  size_t complexes);
90 
95 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
96 
97 /*
98  #################################################
99  # DEPRECATED FUNCTIONS #
100  #################################################
101  */
102 
123 DEPRECATED(vrna_dimer_conc_t *get_concentrations(double FEAB,
124  double FEAA,
125  double FEBB,
126  double FEA,
127  double FEB,
128  double *startconc),
129  "Use vrna_pf_dimer_concentrations() instead");
130 
131 #endif
132 
133 #endif
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...
The data structure that contains temperature scaled Boltzmann weights of the energy parameters.
Definition: basic.h:103
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...
Functions to deal with sets of energy parameters.
Data structure for concentration dependency computations.
Definition: concentrations.h:45
double Bc_start
start concentration B
Definition: concentrations.h:47
double Ac_start
start concentration A
Definition: concentrations.h:46
double ABc
End concentration AB.
Definition: concentrations.h:48