Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

IMDOutput Class Reference

#include <IMDOutput.h>

List of all members.

Public Member Functions

 IMDOutput ()
 ~IMDOutput ()
void use_imd (GlobalMasterIMD *)
void gather_energies (IMDEnergies *energies)
void gather_coordinates (int timestep, int N, FloatVector *coords)
void set_transrate (int newrate)


Constructor & Destructor Documentation

IMDOutput::IMDOutput  ) 
 

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

Definition at line 10 of file IMDOutput.C.

00010                      {
00011   imd = NULL;
00012   transrate = 1;
00013 }

IMDOutput::~IMDOutput  ) 
 

Definition at line 15 of file IMDOutput.C.

00015                       {
00016 }


Member Function Documentation

void IMDOutput::gather_coordinates int  timestep,
int  N,
FloatVector coords
 

Definition at line 27 of file IMDOutput.C.

References GlobalMasterIMD::send_fcoords().

Referenced by Output::coordinate().

00027                                                                            {
00028   if (!imd || timestep % transrate) return;
00029   imd->send_fcoords(N, coords);
00030 }

void IMDOutput::gather_energies IMDEnergies energies  ) 
 

Definition at line 22 of file IMDOutput.C.

References GlobalMasterIMD::send_energies(), and IMDEnergies::tstep.

Referenced by Controller::printEnergies().

00022                                                      { 
00023   if (!imd || energies->tstep % transrate) return;
00024   imd->send_energies(energies);
00025 }

void IMDOutput::set_transrate int  newrate  )  [inline]
 

Definition at line 37 of file IMDOutput.h.

Referenced by GlobalMasterIMD::get_vmd_forces().

00037 {transrate = newrate; }

void IMDOutput::use_imd GlobalMasterIMD  ) 
 

Definition at line 18 of file IMDOutput.C.

Referenced by GlobalMasterIMD::GlobalMasterIMD().

00018                                           {
00019   imd = g;
00020 }


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 04:59:47 2009 for NAMD by  doxygen 1.3.9.1