Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tfExclusion.h
Go to the documentation of this file.
1/*******************************************************************************
2 * This file is part of mdcore.
3 * Coypright (c) 2010 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
4 * Coypright (c) 2017 Andy Somogyi (somogyie at indiana dot edu)
5 * Copyright (c) 2022-2024 T.J. Sego
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published
9 * by the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 ******************************************************************************/
21
27#ifndef _MDCORE_INCLUDE_TFEXCLUSION_H_
28#define _MDCORE_INCLUDE_TFEXCLUSION_H_
29#include "tf_platform.h"
30
31MDCORE_BEGIN_DECLS
32
33
34namespace TissueForge {
35
36
38 typedef struct exclusion {
39
40 /* ids of particles involved */
41 int i, j;
42
44
45
46 /* associated functions */
47
56 HRESULT exclusion_eval(struct exclusion *b, int N, struct engine *e, FPTYPE *epot_out);
57
67 HRESULT exclusion_evalf(struct exclusion *b, int N, struct engine *e, FPTYPE *f, FPTYPE *epot_out);
68
69};
70
71MDCORE_END_DECLS
72#endif // _MDCORE_INCLUDE_TFEXCLUSION_H_
Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
Definition tfAngleConfig.h:26
HRESULT exclusion_eval(struct exclusion *b, int N, struct engine *e, FPTYPE *epot_out)
Evaluate a list of exclusioned interactions.
struct TissueForge::exclusion exclusion
HRESULT exclusion_evalf(struct exclusion *b, int N, struct engine *e, FPTYPE *f, FPTYPE *epot_out)
Evaluate a list of exclusioned interactions.
Definition tfEngine.h:164
Definition tfExclusion.h:38
int32_t HRESULT
Definition tf_port.h:255