forked from ParticulateFlow/LBDEMcoupling-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fix_lb_coupling_onetoone.h
69 lines (47 loc) · 1.83 KB
/
fix_lb_coupling_onetoone.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* ----------------------------------------------------------------------
LIGGGHTS - LAMMPS Improved for General Granular and Granular Heat
Transfer Simulations
LIGGGHTS is part of the CFDEMproject
www.liggghts.com | www.cfdem.com
Christoph Kloss, [email protected]
Copyright 2009-2012 JKU Linz
Copyright 2012- DCS Computing GmbH, Linz
LIGGGHTS is based on LAMMPS
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, [email protected]
This software is distributed under the GNU General Public License.
See the README file in the top-level directory.
------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
Contributing authors:
Philippe Seil (JKU Linz)
------------------------------------------------------------------------- */
#ifdef FIX_CLASS
FixStyle(couple/lb/onetoone,FixLbCouplingOnetoone)
#else
#ifndef FIX_LB_COUPLING_ONETOONE
#define FIX_LB_COUPLING_ONETOONE
#include "fix.h"
namespace LAMMPS_NS {
class FixLbCouplingOnetoone : public Fix {
public:
FixLbCouplingOnetoone(class LAMMPS * lmp, int narg, char ** arg);
~FixLbCouplingOnetoone();
virtual int setmask();
virtual void post_create();
virtual void pre_delete(bool);
virtual void init();
virtual void post_force(int);
virtual void post_run();
double **get_force_ptr();
double **get_torque_ptr();
void comm_force_torque();
private:
class FixPropertyAtom* fix_dragforce_;
class FixPropertyAtom* fix_hdtorque_; // hdtorque = hydrodynamic torque
int use_torque_;
}; /* class FixLbCouplingOnetoone */
}; /* LAMMPS_NS */
#endif /* FIX_LB_COUPLING_ONETOONE */
#endif /* FIX_CLASS */