Struct used for calculating classes and radii for atoms given their residue-names ('ALA','ARG',...) and atom-names ('CA','N',...). More...
#include <freesasa.h>
Data Fields | |
int | n_classes |
Total number of different classes. | |
void * | config |
Optional configuration to allow flexibility. | |
double(* | radius )(const char *res_name, const char *atom_name, const struct freesasa_classifier *) |
Function that returns an atom radius. More... | |
int(* | sasa_class )(const char *res_name, const char *atom_name, const struct freesasa_classifier *) |
Function that returns the class [0,1,...,n_classes-1] of an atom, should return FREESASA_WARN if atom not recognized. | |
const char *(* | class2str )(int the_class, const struct freesasa_classifier *) |
Function that converts a class to its string descriptor. | |
void(* | free_config )(void *) |
Function that can be called to free the config-pointer. | |
Struct used for calculating classes and radii for atoms given their residue-names ('ALA','ARG',...) and atom-names ('CA','N',...).
Definition at line 141 of file freesasa.h.
double(* freesasa_classifier::radius) (const char *res_name, const char *atom_name, const struct freesasa_classifier *) |
Function that returns an atom radius.
Should return negative value if atom not recognized.
Definition at line 149 of file freesasa.h.