[gmx-developers] Where is do_func() defined in the code (for mdp read in, I think)

Jochen Hub jhub at gwdg.de
Fri Oct 31 07:53:03 CET 2008


chris.neale at utoronto.ca wrote:
> Hello,
> 
> I am working my way through the gromacs code with gmx-4.0 and I have a
> question about how information is read in from the .mdp file.
> 
> I find do_inputrec() in tpxio.c, which calls do_int() or do_real(), etc.
> These appear to be special cases of do_func() as defined in
> include/gmxfio.h
> 
> However, I can not find the meat of do_func() anywhere in the src or
> include directories.

In such cases I usually use:

find . -name "*.[hc]" -exec grep do_func {} \; -print

in the gmx directory:

typedef bool do_func(void *item,int nitem,int eio,
                     char *desc,char *srcfile,int line);

Best, Jochen

> 
> Any pointers here would be greatly appreciated.
> 
> Thanks,
> Chris.
> 
> _______________________________________________
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use thewww
> interface or send it to gmx-developers-request at gromacs.org.
> 
> .
> 


-- 
************************************************
Dr. Jochen Hub
Max Planck Institute for Biophysical Chemistry
Computational biomolecular dynamics group
Am Fassberg 11
D-37077 Goettingen, Germany
Email: jhub[at]gwdg.de
Tel.: +49 (0)551 201-2312
************************************************



More information about the gromacs.org_gmx-developers mailing list