/usr/include/liggghts/fix_dummy.h is in libliggghts-dev 2.3.8-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 66 67 | #ifndef LMP_FIX_DUMMY_H
#define LMP_FIX_DUMMY_H
#include "fix_rigid.h"
namespace LAMMPS_NS {
class MultisphereParallel {
public:
int n_body() {return 0;}
int map(int i) {return 0;}
int tag(int i) {return 0;}
int tag_max_body() {return 0;}
void id_extend() {}
void generate_map() {}
inline void x_bound(double *x_bnd,int i){ }
inline double r_bound(int i)
{
return 0.;
}
inline double mass(int i)
{
return 0.;
}
inline double density(int i)
{
return 0.;
}
int calc_n_steps(int iatom,double *p_ref,double *normalvec,double *v_normal) {return 0;}
void* extract(char*& a, int& b, int& c) {return NULL;}
};
class FixMultisphere : public Fix {
public:
FixMultisphere(class LAMMPS * lmp, int narg, char ** arg) : Fix(lmp, narg, arg) {}
void set_v_integrate(double *v) {}
int belongs_to(int i) {return -1;}
void* extract(char*& a, int& b, int& c) {return NULL;}
int calc_n_steps(int iatom,double *p_ref,double *normalvec,double *v_normal)
{ return 0; }
inline class MultisphereParallel& data()
{ return (*multisphere_);}
inline int n_body()
{ return data().n_body(); }
inline int tag_max_body()
{ return data().tag_max_body(); }
class MultisphereParallel *multisphere_;
};
}
#endif
|