Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

IMDSimBlocking.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr
00003  *cr            (C) Copyright 1995-2019 The Board of Trustees of the
00004  *cr                        University of Illinois
00005  *cr                         All Rights Reserved
00006  *cr
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: IMDSimBlocking.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.15 $       $Date: 2019/01/17 21:20:59 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *  A single-threaded implementation of the interactive MD 
00019  *  coordinate/force update communication loop.
00020  ***************************************************************************/
00021 
00022 #ifndef IMD_SIM_BLOCKING_H__
00023 #define IMD_SIM_BLOCKING_H__
00024 
00025 #include "IMDSim.h"
00026 
00029 class IMDSimBlocking : public IMDSim {
00030 public:
00032   IMDSimBlocking(const char *, int);
00033   virtual ~IMDSimBlocking();
00034 
00036   virtual void update();
00037 
00038   virtual void get_next_ts(float *, IMDEnergies *);
00039   virtual void send_forces(int, int *, float *);
00040 
00041   virtual void pause();
00042   virtual void unpause();
00043     
00044   virtual void detach();
00045   virtual void kill();
00046   virtual void set_transrate(int);
00047 
00048 private:
00049   float *curpos;       
00050   IMDEnergies imdEnergies;
00051  
00052   void process_coordinates(int32);
00053   void process_energies(int32);
00054   void process_mdcomm(int32);
00055 };
00056 
00057 #endif
00058  

Generated on Fri Apr 19 02:44:30 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002