⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mknb_declarations.h

📁 最著名最快的分子模拟软件
💻 H
字号:
/* * $Id: mknb_declarations.h,v 1.1.2.1 2008/02/29 07:02:44 spoel Exp $ *  *                This source code is part of *  *                 G   R   O   M   A   C   S *  *          GROningen MAchine for Chemical Simulations *  *                        VERSION 3.3.3 * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others. * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2008, The GROMACS development team, * check out http://www.gromacs.org for more information. * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. *  * If you want to redistribute modifications, please consider that * scientific software is very special. Version control is crucial - * bugs must be traceable. We will be happy to consider code for * inclusion in the official distribution, but derived work must not * be called official GROMACS. Details are found in the README & COPYING * files - if they are missing, get the official version at www.gromacs.org. *  * To help us fund GROMACS development, we humbly ask that you cite * the papers on the package - you can find them in the top README file. *  * For more info, check our website at http://www.gromacs.org *  * And Hey: * Groningen Machine for Chemical Simulation */#ifndef _MKNB_DECLARATIONS_H_#define _MKNB_DECLARATIONS_H_/*! \file   mknb_declarations.h *  \brief Kernel generator (only for compile): Function declarations *  *  \internal * *  \note This file is only used to generate the inner loop kernels *        at compile time, which in turn are included in Gromacs.  *        This code itself is NOT linked into the Gromacs library, so *        it does not need to be threadsafe. * *  This file is only used to generate the inner loop kernels *  at compile time, which in turn are included in Gromacs. *  This code itself is NOT linked into the Gromacs library, so *  it does not need to be threadsafe. * *  mknb_declarations.h provides routines to generate function *  headers for nonbonded interaction kernels in either C or *  Fortran, routines to declare local variables and local data *  initialization before the actual loop starts. * *  Definitions and structures used in the nonbonded kernel  *  generator itself (i.e. not in the generated code) are in *  the file mknb_common.h. *//*! \brief Kernel generator (only for compile): Function definition and header * *  \internal * *  \note   Only defined/used in the nonbonded kernel generator  *          program mknb. This program is run once at compile *          time to create the inner loops, and then discarded. *          This source is NOT linked into any Gromacs library. * *  All level1/level2 Gromacs nonbonded kernels use the same *  parameters, so the only difference here is the function  *  name and the language used. * *  \param funcname   Name of the nonbonded kernel to write */voidmknb_function_header       (char *     funcname);/*! \brief Kernel generator (only for compile): Local function variables  * *  \internal * *  \note   Only defined/used in the nonbonded kernel generator  *          program mknb. This program is run once at compile *          time to create the inner loops, and then discarded. *          This source is NOT linked into any Gromacs library. * *  This routine tries to determine which variables will *  be needed based on the current values in the global *  variable 'func', which containts the current settings *  for Coulomb/L-J interactions, water optimization, etc. */voidmknb_declare_variables     (void);/*! \brief Kernel generator (only for compile): Init code before loop * *  \internal * *  \note   Only defined/used in the nonbonded kernel generator  *          program mknb. This program is run once at compile *          time to create the inner loops, and then discarded. *          This source is NOT linked into any Gromacs library. * *  Some nonbonded kernels (mainly water optimized ones) *  extracts parameters or similar things outside the *  outer loop for better performance. This code should *  be run after mknb_declare_variables(), but before *  the outer loop is started. */voidmknb_initialize_data       (void);/*! \brief Kernel generator (only for compile): Close a function body. * *  \internal * *  \note   Only defined/used in the nonbonded kernel generator  *          program mknb. This program is run once at compile *          time to create the inner loops, and then discarded. *          This source is NOT linked into any Gromacs library. * *  This finishes a function previously started with *  mknb_function_header(). * */voidmknb_finish_function       (void);#endif /* _MKNB_DECLARATIONS_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -