Newer
Older
Kurt A. O'Hearn
committed
/*----------------------------------------------------------------------
SerialReax - Reax Force Field Simulator
Copyright (2010) Purdue University
Hasan Metin Aktulga, haktulga@cs.purdue.edu
Joseph Fogarty, jcfogart@mail.usf.edu
Sagar Pandit, pandit@usf.edu
Ananth Y Grama, ayg@cs.purdue.edu
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.
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 General Public License for more details:
<http://www.gnu.org/licenses/>.
----------------------------------------------------------------------*/
#ifndef __SPUREMD_H_
#define __SPUREMD_H_
#include "reax_types.h"
Kurt A. O'Hearn
committed
Kurt A. O'Hearn
committed
#define SPUREMD_SUCCESS (0)
#define SPUREMD_FAILURE (-1)
Kurt A. O'Hearn
committed
Kurt A. O'Hearn
committed
#if defined(__cplusplus)
Kurt A. O'Hearn
committed
void * setup( const char * const, const char * const,
Kurt A. O'Hearn
committed
const char * const );
Kurt A. O'Hearn
committed
Kurt A. O'Hearn
committed
void * setup2( int, const int * const,
const double * const, const double * const,
const char * const, const char * const );
Kurt A. O'Hearn
committed
int setup_callback( const void * const, const callback_function );
Kurt A. O'Hearn
committed
int simulate( const void * const );
Kurt A. O'Hearn
committed
Kurt A. O'Hearn
committed
int cleanup( const void * const );
Kurt A. O'Hearn
committed
Kurt A. O'Hearn
committed
int reset( const void * const, const char * const,
const char * const, const char * const );
Kurt A. O'Hearn
committed
int reset2( const void * const, int, const int * const,
const double * const, const double * const,
const char * const, const char * const );
Kurt A. O'Hearn
committed
int get_atom_positions( const void * const, double * const );
Kurt A. O'Hearn
committed
Kurt A. O'Hearn
committed
int get_atom_velocities( const void * const, double * const );
Kurt A. O'Hearn
committed
Kurt A. O'Hearn
committed
int get_atom_forces( const void * const, double * const );
Kurt A. O'Hearn
committed
int get_atom_charges( const void * const, double * const );
int get_system_info( const void * const, double * const,
double * const, double * const, double * const,
double * const, double * const );
Kurt A. O'Hearn
committed
int get_total_energy( const void * const, double * const );
Kurt A. O'Hearn
committed
int set_output_enabled( const void * const, const int );
int set_control_parameter( const void * const, const char * const,
const char ** const );
#if defined(QMMM)
Kurt A. O'Hearn
committed
void * setup_qmmm( int, const char * const,
const double * const, int, const char * const,
Kurt A. O'Hearn
committed
const double * const, const double * const,
Kurt A. O'Hearn
committed
const char * const, const char * const );
Kurt A. O'Hearn
committed
Kurt A. O'Hearn
committed
int reset_qmmm( const void * const, int, const char * const,
const double * const, int, const char * const,
Kurt A. O'Hearn
committed
const double * const, const double * const,
Kurt A. O'Hearn
committed
const char * const, const char * const );
Kurt A. O'Hearn
committed
Kurt A. O'Hearn
committed
int get_atom_positions_qmmm( const void * const, double * const,
Kurt A. O'Hearn
committed
double * const );
Kurt A. O'Hearn
committed
int get_atom_velocities_qmmm( const void * const, double * const,
Kurt A. O'Hearn
committed
double * const );
Kurt A. O'Hearn
committed
int get_atom_forces_qmmm( const void * const, double * const,
Kurt A. O'Hearn
committed
double * const );
Kurt A. O'Hearn
committed
int get_atom_charges_qmmm( const void * const, double * const, double * const );
#endif
Kurt A. O'Hearn
committed
#if defined(__cplusplus)