20int main(
int argc,
char **argv)
40 printf(
"Error calculating SASA\n");
44 printf(
"Total : %f A2\n", area.
total);
45 printf(
"Apolar : %f A2\n", area.
apolar);
46 printf(
"Polar : %f A2\n", area.
polar);
Functions and datatypes for performing and analyzing SASA calculations.
struct freesasa_classifier freesasa_classifier
Classifier struct.
freesasa_nodearea freesasa_result_classes(const freesasa_structure *structure, const freesasa_result *result)
Results by classes.
freesasa_result * freesasa_calc_structure(const freesasa_structure *structure, const freesasa_parameters *parameters)
Calculates SASA based on a given structure.
#define freesasa_default_classifier
Default freesasa_classifier.
void freesasa_result_free(freesasa_result *result)
Frees a freesasa_result object.
void freesasa_structure_free(freesasa_structure *structure)
Free structure.
struct freesasa_structure freesasa_structure
Struct for structure object.
freesasa_structure * freesasa_structure_from_pdb(FILE *pdb, const freesasa_classifier *classifier, int options)
Init structure with coordinates from pdb-file.
Struct to store integrated SASA values for either a full structure or a subset thereof.
double apolar
Apolar SASA.
Struct to store results of SASA calculation.