mdpmain.c File Reference

#include "../headers/mdpmain.h"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])


Function Documentation

int main ( int  argc,
char *  argv[] 
)

## FUNCTION: int main(int argc, char *argv[])

## SPECIFICATION: Main program for dpocket!

Definition at line 68 of file mdpmain.c.

References free_all(), free_mdparams(), s_mdparams::fwantedpocket, get_mdpocket_args(), mdpocket_characterize(), mdpocket_detect(), and print_mdparams().

00069 {
00070     s_mdparams *par = get_mdpocket_args(argc, argv) ;
00071     print_mdparams(par, stdout) ;
00072     if(par && par->fwantedpocket[0]==0) mdpocket_detect(par) ; /* run only pocket detection, 1st way of running mdpocket*/
00073     else if(par) mdpocket_characterize(par);                    /* run pocket characterization 2nd way of running mdpocket*/
00074     free_mdparams(par) ;
00075     free_all() ;
00076 
00077     return 0 ;
00078 }


Generated on Mon Jun 7 16:44:23 2010 for fpocket by  doxygen 1.5.6