methods & variables definitions for equal-style blocks

This commit is contained in:
Evangelos Voyiatzis
2023-03-30 15:08:02 +03:00
committed by GitHub
parent 35121a2ed8
commit f0b290dadc

View File

@ -30,17 +30,25 @@ class RegBlock : public Region {
public:
RegBlock(class LAMMPS *, int, char **);
~RegBlock() override;
void init() override;
int inside(double, double, double) override;
int surface_interior(double *, double) override;
int surface_exterior(double *, double) override;
void shape_update() override;
protected:
double xlo, xhi, ylo, yhi, zlo, zhi;
double corners[6][4][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 &);
int inside_face(double *, int);
void variable_check();
};
} // namespace LAMMPS_NS