kcommon.h 2.41 KB
Newer Older
Mark Friedrichs's avatar
Mods  
Mark Friedrichs committed
1
2
3
#ifndef __KCOMMON_H__
#define __KCOMMON_H__

4
5
6
7
8
9
10
11
/* -------------------------------------------------------------------------- *
 *                                   OpenMM                                   *
 * -------------------------------------------------------------------------- *
 * This is part of the OpenMM molecular simulation toolkit originating from   *
 * Simbios, the NIH National Center for Physics-Based Simulation of           *
 * Biological Structures at Stanford, funded under the NIH Roadmap for        *
 * Medical Research, grant U54 GM072970. See https://simtk.org.               *
 *                                                                            *
12
13
 * Portions copyright (c) 2009 Stanford University and the Authors.           *
 * Authors: Mark Friedrichs, Mike Houston                                     *
14
15
 * Contributors:                                                              *
 *                                                                            *
16
17
18
19
 * This program is free software: you can redistribute it and/or modify       *
 * it under the terms of the GNU Lesser General Public License as published   *
 * by the Free Software Foundation, either version 3 of the License, or       *
 * (at your option) any later version.                                        *
20
 *                                                                            *
21
22
23
24
 * This program is distributed in the hope that it will be useful,            *
 * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
 * GNU Lesser General Public License for more details.                        *
25
 *                                                                            *
26
27
 * You should have received a copy of the GNU Lesser General Public License   *
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.      *
28
29
 * -------------------------------------------------------------------------- */

Mark Friedrichs's avatar
Mods  
Mark Friedrichs committed
30
void  kgetxyz(::brook::stream instr, ::brook::stream outstr); 
Mark Friedrichs's avatar
Mods  
Mark Friedrichs committed
31

Mark Friedrichs's avatar
Mods  
Mark Friedrichs committed
32
33
34
void  kzerof3(::brook::stream outstr);
void  kzerof4(::brook::stream outstr); 
void  kzerof4(::brook::stream outstr); 
Mark Friedrichs's avatar
Mods  
Mark Friedrichs committed
35

Mark Friedrichs's avatar
Mods  
Mark Friedrichs committed
36
37
void  ksetf4(const float4  val, ::brook::stream outstr); 
void kadd3( ::brook::stream instr1, ::brook::stream instr2, ::brook::stream outstr );
Mark Friedrichs's avatar
Mods  
Mark Friedrichs committed
38
39
40
void ksetStr3( ::brook::stream instr, ::brook::stream outstr );

#endif // __KCOMMON_H__