mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-07-18 00:00:00 +00:00
added structure to all functions of library
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user