no more need to explicitly initialize empty fields
This commit is contained in:
@ -35,14 +35,9 @@ AtomVecOxdna::AtomVecOxdna(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"id5p"};
|
||||
fields_copy = {"id5p"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {"id5p"};
|
||||
fields_border_vel = {};
|
||||
fields_exchange = {"id5p"};
|
||||
fields_restart = {"id5p"};
|
||||
fields_create = {};
|
||||
fields_data_atom = {"id", "type", "x"};
|
||||
fields_data_vel = {"id", "v"};
|
||||
|
||||
|
||||
@ -62,8 +62,6 @@ AtomVecDielectric::AtomVecDielectric(LAMMPS *lmp) : AtomVec(lmp)
|
||||
"improper_atom1", "improper_atom2", "improper_atom3", "improper_atom4", "nspecial", "special",
|
||||
"mu", "area", "ed", "em", "epsilon", "curvature", "q_unscaled"};
|
||||
fields_comm = {"q", "mu", "area", "ed", "em", "epsilon", "curvature", "q_unscaled"};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {"q", "molecule", "mu", "area", "ed", "em", "epsilon", "curvature", "q_unscaled"};
|
||||
fields_border_vel = {"q", "molecule", "mu", "area", "ed", "em", "epsilon", "curvature",
|
||||
"q_unscaled"};
|
||||
|
||||
@ -37,7 +37,6 @@ AtomVecDipole::AtomVecDipole(LAMMPS *lmp) : AtomVec(lmp)
|
||||
fields_copy = {"q", "mu"};
|
||||
fields_comm = {"mu3"};
|
||||
fields_comm_vel = {"mu3"};
|
||||
fields_reverse = {};
|
||||
fields_border = {"q", "mu"};
|
||||
fields_border_vel = {"q", "mu"};
|
||||
fields_exchange = {"q", "mu"};
|
||||
|
||||
@ -41,7 +41,6 @@ AtomVecDPD::AtomVecDPD(LAMMPS *lmp) : AtomVec(lmp)
|
||||
fields_copy = {"dpdTheta", "uCond", "uMech", "uChem", "uCG", "uCGnew"};
|
||||
fields_comm = {"dpdTheta", "uCond", "uMech", "uChem"};
|
||||
fields_comm_vel = {"dpdTheta", "uCond", "uMech", "uChem"};
|
||||
fields_reverse = {};
|
||||
fields_border = {"dpdTheta", "uCond", "uMech", "uChem", "uCG", "uCGnew"};
|
||||
fields_border_vel = {"dpdTheta", "uCond", "uMech", "uChem", "uCG", "uCGnew"};
|
||||
fields_exchange = {"dpdTheta", "uCond", "uMech", "uChem", "uCG", "uCGnew"};
|
||||
|
||||
@ -34,9 +34,6 @@ AtomVecMesoNT::AtomVecMesoNT(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"rmass", "radius", "length", "buckling", "bond_nt", "molecule"};
|
||||
fields_copy = {"rmass", "radius", "length", "buckling", "bond_nt", "molecule"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {"rmass", "radius", "length", "buckling", "bond_nt", "molecule"};
|
||||
fields_border_vel = {"rmass", "radius", "length", "buckling", "bond_nt", "molecule"};
|
||||
fields_exchange = {"rmass", "radius", "length", "buckling", "bond_nt", "molecule"};
|
||||
|
||||
@ -37,9 +37,6 @@ AtomVecAngle::AtomVecAngle(LAMMPS *lmp) : AtomVec(lmp)
|
||||
fields_copy = {"molecule", "num_bond", "bond_type", "bond_atom",
|
||||
"num_angle", "angle_type", "angle_atom1", "angle_atom2",
|
||||
"angle_atom3", "nspecial", "special"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {"molecule"};
|
||||
fields_border_vel = {"molecule"};
|
||||
fields_exchange = {"molecule", "num_bond", "bond_type", "bond_atom",
|
||||
|
||||
@ -33,9 +33,6 @@ AtomVecBond::AtomVecBond(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"molecule", "num_bond", "bond_type", "bond_atom", "nspecial", "special"};
|
||||
fields_copy = {"molecule", "num_bond", "bond_type", "bond_atom", "nspecial", "special"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {"molecule"};
|
||||
fields_border_vel = {"molecule"};
|
||||
fields_exchange = {"molecule", "num_bond", "bond_type", "bond_atom", "nspecial", "special"};
|
||||
|
||||
@ -40,9 +40,6 @@ AtomVecFull::AtomVecFull(LAMMPS *lmp) : AtomVec(lmp)
|
||||
"angle_atom1", "angle_atom2", "angle_atom3", "num_dihedral", "dihedral_type", "dihedral_atom1",
|
||||
"dihedral_atom2", "dihedral_atom3", "dihedral_atom4", "num_improper", "improper_type",
|
||||
"improper_atom1", "improper_atom2", "improper_atom3", "improper_atom4", "nspecial", "special"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {"q", "molecule"};
|
||||
fields_border_vel = {"q", "molecule"};
|
||||
fields_exchange = {"q", "molecule", "num_bond", "bond_type", "bond_atom",
|
||||
|
||||
@ -40,9 +40,6 @@ AtomVecMolecular::AtomVecMolecular(LAMMPS *lmp) : AtomVec(lmp)
|
||||
"angle_atom1", "angle_atom2", "angle_atom3", "num_dihedral", "dihedral_type", "dihedral_atom1",
|
||||
"dihedral_atom2", "dihedral_atom3", "dihedral_atom4", "num_improper", "improper_type",
|
||||
"improper_atom1", "improper_atom2", "improper_atom3", "improper_atom4", "nspecial", "special"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {"molecule"};
|
||||
fields_border_vel = {"molecule"};
|
||||
fields_exchange = {"molecule", "num_bond", "bond_type", "bond_atom", "num_angle", "angle_type",
|
||||
|
||||
@ -37,9 +37,6 @@ AtomVecTemplate::AtomVecTemplate(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"molecule", "molindex", "molatom"};
|
||||
fields_copy = {"molecule", "molindex", "molatom"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {"molecule", "molindex", "molatom"};
|
||||
fields_border_vel = {"molecule", "molindex", "molatom"};
|
||||
fields_exchange = {"molecule", "molindex", "molatom"};
|
||||
|
||||
@ -57,7 +57,6 @@ AtomVecPeri::AtomVecPeri(LAMMPS *lmp) : AtomVec(lmp)
|
||||
fields_copy = {"rmass", "vfrac", "s0", "x0"};
|
||||
fields_comm = {"s0"};
|
||||
fields_comm_vel = {"s0"};
|
||||
fields_reverse = {};
|
||||
fields_border = {"rmass", "vfrac", "s0", "x0"};
|
||||
fields_border_vel = {"rmass", "vfrac", "s0", "x0"};
|
||||
fields_exchange = {"rmass", "vfrac", "s0", "x0"};
|
||||
|
||||
@ -29,16 +29,6 @@ AtomVecAtomic::AtomVecAtomic(LAMMPS *lmp) : AtomVec(lmp)
|
||||
// order of fields in a string does not matter
|
||||
// except: fields_data_atom & fields_data_vel must match data file
|
||||
|
||||
fields_grow = {};
|
||||
fields_copy = {};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {};
|
||||
fields_border_vel = {};
|
||||
fields_exchange = {};
|
||||
fields_restart = {};
|
||||
fields_create = {};
|
||||
fields_data_atom = {"id", "type", "x"};
|
||||
fields_data_vel = {"id", "v"};
|
||||
|
||||
|
||||
@ -65,7 +65,6 @@ AtomVecBody::AtomVecBody(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"radius", "rmass", "angmom", "torque", "body"};
|
||||
fields_copy = {"radius", "rmass", "angmom"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {"angmom"};
|
||||
fields_reverse = {"torque"};
|
||||
fields_border = {"radius", "rmass"};
|
||||
|
||||
@ -32,9 +32,6 @@ AtomVecCharge::AtomVecCharge(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"q"};
|
||||
fields_copy = {"q"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {};
|
||||
fields_reverse = {};
|
||||
fields_border = {"q"};
|
||||
fields_border_vel = {"q"};
|
||||
fields_exchange = {"q"};
|
||||
|
||||
@ -53,7 +53,6 @@ AtomVecEllipsoid::AtomVecEllipsoid(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"rmass", "angmom", "torque", "ellipsoid"};
|
||||
fields_copy = {"rmass", "angmom"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {"angmom"};
|
||||
fields_reverse = {"torque"};
|
||||
fields_border = {"rmass"};
|
||||
|
||||
@ -55,7 +55,6 @@ AtomVecLine::AtomVecLine(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"molecule", "radius", "rmass", "omega", "torque", "line"};
|
||||
fields_copy = {"molecule", "radius", "rmass", "omega"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {"omega"};
|
||||
fields_reverse = {"torque"};
|
||||
fields_border = {"molecule", "radius", "rmass"};
|
||||
|
||||
@ -40,7 +40,6 @@ AtomVecSphere::AtomVecSphere(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"radius", "rmass", "omega", "torque"};
|
||||
fields_copy = {"radius", "rmass", "omega"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {"omega"};
|
||||
fields_reverse = {"torque"};
|
||||
fields_border = {"radius", "rmass"};
|
||||
|
||||
@ -58,7 +58,6 @@ AtomVecTri::AtomVecTri(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
fields_grow = {"molecule", "radius", "rmass", "omega", "angmom", "torque", "tri"};
|
||||
fields_copy = {"molecule", "radius", "rmass", "omega", "angmom"};
|
||||
fields_comm = {};
|
||||
fields_comm_vel = {"omega", "angmom"};
|
||||
fields_reverse = {"torque"};
|
||||
fields_border = {"molecule", "radius", "rmass"};
|
||||
|
||||
Reference in New Issue
Block a user