Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83004786
fix_nvt.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Sep 14, 16:50
Size
1 KB
Mime Type
text/x-c
Expires
Mon, Sep 16, 16:50 (2 d)
Engine
blob
Format
Raw Data
Handle
20784746
Attached To
rLAMMPS lammps
fix_nvt.h
View Options
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
certain rights in this software. This software is distributed under
the GNU General Public License.
See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */
#ifndef FIX_NVT_H
#define FIX_NVT_H
#include "fix.h"
namespace LAMMPS_NS {
class FixNVT : public Fix {
public:
FixNVT(class LAMMPS *, int, char **);
~FixNVT();
int setmask();
void init();
void setup();
void initial_integrate();
void final_integrate();
void initial_integrate_respa(int,int);
void final_integrate_respa(int);
double thermo(int);
void write_restart(FILE *);
void restart(char *);
int modify_param(int, char **);
void reset_target(double);
private:
double t_start,t_stop;
double t_current,t_target;
double t_freq,drag,drag_factor;
double f_eta,eta_dot,eta,factor;
double dtv,dtf,dthalf;
int nlevels_respa;
double *step_respa;
char *id_temp;
class Compute *temperature;
int tflag;
};
}
#endif
Event Timeline
Log In to Comment