RNAlib-2.6.3
 
Loading...
Searching...
No Matches
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
54typedef void (*vrna_heat_capacity_f)(float temp,
55 float heat_capacity,
56 void *data);
57
58DEPRECATED(typedef void (vrna_heat_capacity_callback)(float temp,
59 float heat_capacity,
60 void *data),
61 "Use vrna_heat_capacity_f instead!");
62
63
70
71
80};
81
82
114 float T_min,
115 float T_max,
116 float T_increment,
117 unsigned int mpoints);
118
119
149int
151 float T_min,
152 float T_max,
153 float T_increment,
154 unsigned int mpoints,
156 void *data);
157
158
159/* End basic interface */
194vrna_heat_capacity_simple(const char *sequence,
195 float T_min,
196 float T_max,
197 float T_increment,
198 unsigned int mpoints);
199
200/* End basic interface */
203/* End thermodynamics */
206#endif
Various data structures and pre-processor macros.
The most basic data structure required by many functions throughout the RNAlib.
Definition fold_compound.h:168
float heat_capacity
The specific heat at this temperature in Kcal/(Mol * K)
Definition heat_capacity.h:79
float temperature
The temperature in °C.
Definition heat_capacity.h:78
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:54
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:77