Commit 989bb504 authored by Michael Sherman's avatar Michael Sherman
Browse files

Fix comments and cmake script for wrappers.

parent 801ca67b
......@@ -10,7 +10,7 @@ TARGET_LINK_LIBRARIES(${OpenMM_CWRAPPER_LIB} ${SHARED_TARGET})
SET_TARGET_PROPERTIES(${OpenMM_CWRAPPER_LIB} PROPERTIES
PROJECT_LABEL "Example - C Wrapper")
# Don't install yet
#INSTALL_TARGETS(/lib${LIB64}/plugins
# RUNTIME_DIRECTORY /lib${LIB64}/plugins
# ${OpenMM_CWRAPPER_LIB})
INSTALL(FILES OpenMM_CWrapper.cpp
OpenMM_CWrapper.h
OpenMM_Module.f90
DESTINATION examples)
// -----------------------------------------------------------------------------
// OpenMM(tm) example C and Fortran wrapper functions (June 2009)
// OpenMM(tm) PROTOTPYE C and Fortran wrapper functions (June 2009)
// -----------------------------------------------------------------------------
// This is the C++ implementation of the C wrappers for the OpenMM workshop.
// The functions here convert between C types and OpenMM's C++ objects
......
/* --------------------------------------------------------------------------
* OpenMM(tm) example C wrapper function declarations (June 2009)
* OpenMM(tm) PROTOTYPE C wrapper function declarations (June 2009)
* --------------------------------------------------------------------------
* This header should be included by a C main program that would like to
* access the OpenMM API through the C wrappers. Please note that this is not
* an official part of OpenMM; it is just an example of how the C++ API can
* be wrapped for access from C.
* access the OpenMM API through the C wrappers. Please note that this is an
* experimentatl prototype, not an official part of OpenMM; it is just an
* example of how the C++ API can be wrapped for access from C.
*
* This set of wrappers is incomplete. If you add more, please send them
* to us. Improvements in substance and style would also be greatly
* appreciated. If you have ideas (or better code) please post to the OpenMM
* forum on simtk.org/home/openmm or if you're shy you can email Michael
* Sherman at msherman@stanford.edu.
*
* Note: this header must be includable in both ANSI C and C++ code, because
* the function declarations must be common to both the users and the
......
! -----------------------------------------------------------------------------
! OpenMM(tm) Fortran 95 Interface (June 2009)
! OpenMM(tm) PROTOTYPE Fortran 95 Interface (June 2009)
! -----------------------------------------------------------------------------
! This is a Fortran 95 interface module providing access to the OpenMM API
! which is written in C++. At link time this module requires that the OpenMM
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment