methods & variables definitions for equal-style blocks
This commit is contained in:
committed by
GitHub
parent
35121a2ed8
commit
f0b290dadc
@ -30,17 +30,25 @@ class RegBlock : public Region {
|
|||||||
public:
|
public:
|
||||||
RegBlock(class LAMMPS *, int, char **);
|
RegBlock(class LAMMPS *, int, char **);
|
||||||
~RegBlock() override;
|
~RegBlock() override;
|
||||||
|
void init() override;
|
||||||
int inside(double, double, double) override;
|
int inside(double, double, double) override;
|
||||||
int surface_interior(double *, double) override;
|
int surface_interior(double *, double) override;
|
||||||
int surface_exterior(double *, double) override;
|
int surface_exterior(double *, double) override;
|
||||||
|
void shape_update() override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
double xlo, xhi, ylo, yhi, zlo, zhi;
|
double xlo, xhi, ylo, yhi, zlo, zhi;
|
||||||
double corners[6][4][3];
|
double corners[6][4][3];
|
||||||
double face[6][3];
|
double face[6][3];
|
||||||
|
int xlostyle, xlovar, xhistyle, xhivar;
|
||||||
|
int ylostyle, ylovar, yhistyle, yhivar;
|
||||||
|
int zlostyle, zlovar, zhistyle, zhivar;
|
||||||
|
char *xlostr, *ylostr, *zlostr;
|
||||||
|
char *xhistr, *yhistr, *zhistr;
|
||||||
|
|
||||||
double find_closest_point(int, double *, double &, double &, double &);
|
double find_closest_point(int, double *, double &, double &, double &);
|
||||||
int inside_face(double *, int);
|
int inside_face(double *, int);
|
||||||
|
void variable_check();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace LAMMPS_NS
|
} // namespace LAMMPS_NS
|
||||||
|
|||||||
Reference in New Issue
Block a user