RNAlib-2.6.0a
heat_capacity.h
Go to the documentation of this file.
1#ifndef VIENNA_RNA_PACKAGE_MELTING_H
2#define VIENNA_RNA_PACKAGE_MELTING_H
3
4#include <stdio.h>
5
7
8#ifdef VRNA_WARN_DEPRECATED
9# if defined(DEPRECATED)
10# undef DEPRECATED
11# endif
12# if defined(__clang__)
13# define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
14# elif defined(__GNUC__)
15# define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
16# else
17# define DEPRECATED(func, msg) func
18# endif
19#else
20# define DEPRECATED(func, msg) func
21#endif
22
53typedef void (*vrna_heat_capacity_f)(float temp,
54 float heat_capacity,
55 void *data);
56
57DEPRECATED(typedef void (vrna_heat_capacity_callback)(float temp,
58 float heat_capacity,
59 void *data),
60 "Use vrna_heat_capacity_f instead!");
61
62
69
70
79};
80
81
113 float T_min,
114 float T_max,
115 float T_increment,
116 unsigned int mpoints);
117
118
148int
150 float T_min,
151 float T_max,
152 float T_increment,
153 unsigned int mpoints,
155 void *data);
156
157
158/* End basic interface */
193vrna_heat_capacity_simple(const char *sequence,
194 float T_min,
195 float T_max,
196 float T_increment,
197 unsigned int mpoints);
198
199/* End basic interface */
202/* End thermodynamics */
205#endif
Various data structures and pre-processor macros.
The most basic data structure required by many functions throughout the RNAlib.
Definition: fold_compound.h:156
float heat_capacity
The specific heat at this temperature in Kcal/(Mol * K)
Definition: heat_capacity.h:78
float temperature
The temperature in °C.
Definition: heat_capacity.h:77
vrna_heat_capacity_t * vrna_heat_capacity_simple(const char *sequence, float T_min, float T_max, float T_increment, unsigned int mpoints)
Compute the specific heat for an RNA (simplified variant)
int vrna_heat_capacity_cb(vrna_fold_compound_t *fc, float T_min, float T_max, float T_increment, unsigned int mpoints, vrna_heat_capacity_f cb, void *data)
Compute the specific heat for an RNA (callback variant)
void(* vrna_heat_capacity_f)(float temp, float heat_capacity, void *data)
The callback for heat capacity predictions.
Definition: heat_capacity.h:53
vrna_heat_capacity_t * vrna_heat_capacity(vrna_fold_compound_t *fc, float T_min, float T_max, float T_increment, unsigned int mpoints)
Compute the specific heat for an RNA.
A single result from heat capacity computations.
Definition: heat_capacity.h:76