Must use explicit scope on virtual functions when called from constructor

This commit is contained in:
Axel Kohlmeyer
2021-05-19 16:57:15 -04:00
parent cfb3efb50f
commit e584a3b958
14 changed files with 14 additions and 14 deletions

View File

@ -58,7 +58,7 @@ ComputeSpin::ComputeSpin(LAMMPS *lmp, int narg, char **arg) :
long_spin_flag = 0;
precession_spin_flag = 0;
init();
ComputeSpin::init();
allocate();

View File

@ -44,7 +44,7 @@ ComputeGyrationShape::ComputeGyrationShape(LAMMPS *lmp, int narg, char **arg) :
// ID of compute gyration
id_gyration = utils::strdup(arg[3]);
init();
ComputeGyrationShape::init();
vector = new double[6];
}

View File

@ -40,7 +40,7 @@ ComputeGyrationShapeChunk::ComputeGyrationShapeChunk(LAMMPS *lmp, int narg, char
// ID of compute gyration
id_gyration_chunk = utils::strdup(arg[3]);
init();
ComputeGyrationShapeChunk::init();
array_flag = 1;
size_array_cols = 6;

View File

@ -44,7 +44,7 @@ ComputeAngmomChunk::ComputeAngmomChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
init();
ComputeAngmomChunk::init();
// chunk-based data

View File

@ -46,7 +46,7 @@ ComputeCOMChunk::ComputeCOMChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
init();
ComputeCOMChunk::init();
// chunk-based data

View File

@ -60,7 +60,7 @@ ComputeDipoleChunk::ComputeDipoleChunk(LAMMPS *lmp, int narg, char **arg) :
else error->all(FLERR,"Illegal compute dipole/chunk command");
}
init();
ComputeDipoleChunk::init();
// chunk-based data

View File

@ -39,7 +39,7 @@ ComputeGyrationChunk::ComputeGyrationChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
init();
ComputeGyrationChunk::init();
// optional args

View File

@ -44,7 +44,7 @@ ComputeInertiaChunk::ComputeInertiaChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
init();
ComputeInertiaChunk::init();
// chunk-based data

View File

@ -48,7 +48,7 @@ ComputeMSDChunk::ComputeMSDChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
firstflag = 1;
init();
ComputeMSDChunk::init();
// create a new fix STORE style for reference positions
// id = compute-ID + COMPUTE_STORE, fix group = compute group

View File

@ -48,7 +48,7 @@ ComputeOmegaChunk::ComputeOmegaChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
init();
ComputeOmegaChunk::init();
// chunk-based data

View File

@ -36,7 +36,7 @@ ComputePropertyChunk::ComputePropertyChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
init();
ComputePropertyChunk::init();
// parse values

View File

@ -48,7 +48,7 @@ ComputeTempChunk::ComputeTempChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
biasflag = 0;
init();
ComputeTempChunk::init();
// optional per-chunk values

View File

@ -43,7 +43,7 @@ ComputeTorqueChunk::ComputeTorqueChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
init();
ComputeTorqueChunk::init();
// chunk-based data

View File

@ -44,7 +44,7 @@ ComputeVCMChunk::ComputeVCMChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
init();
ComputeVCMChunk::init();
// chunk-based data