added structure to all functions of library

This commit is contained in:
arcan1s
2014-01-28 03:11:30 +04:00
parent 38eb392e32
commit d88f3b317f
44 changed files with 945 additions and 819 deletions

View File

@ -1,32 +1,17 @@
/**
* @file
*/
/* Library for reading agglomerate from statgen-file
*
* Usage:
* reading_agl (aglinput, &num_needed_mol, agl_class, needed_mol)
*/
#include <stdio.h>
#include <mathmech/read_agl.h>
/**
* @fn reading_agl
*/
int reading_agl (const char *aglinp, int *num_needed_mol, char *agl_class, int *needed_mol)
/**
* @brief function that reads agglomerate from statgen-formated file
* @code
* reading_agl (aglinput, &num_needed_mol, agl_class, needed_mol);
* @endcode
*
* @param aglinp agglomerate file name
* @param num_needed_mol number of needed molecules
* @param agl_class agglomerate class
* @param needed_mol massive of numbed of needed molecules
*
* @return 0 - exit without errors
*/
{
char connect[256], tmp_str[256];
int i;