Page MenuHomec4science

fix_drag.h
No OneTemporary

File Metadata

Created
Sun, Nov 3, 19:51

fix_drag.h

/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
www.cs.sandia.gov/~sjplimp/lammps.html
Steve Plimpton, sjplimp@sandia.gov, Sandia National Laboratories
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_DRAG_H
#define FIX_DRAG_H
#include "fix.h"
class FixDrag : public Fix {
public:
FixDrag(int, char **);
~FixDrag() {}
int setmask();
void init();
void setup();
void post_force(int);
void post_force_respa(int, int, int);
private:
double xc,yc,zc;
double f_mag;
int xflag,yflag,zflag;
double delta;
int nlevels_respa;
};
#endif

Event Timeline