Skip to content

Commit

Permalink
Remove old UniformRandom function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchwiebert committed Jul 10, 2024
1 parent 4c92e8a commit 65a7ada
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/cbmc/DCFreeCycle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ void DCFreeCycle::BuildNew(TrialMol &newMol, uint molIndex) {
u2 = prng();
u3 = prng();
RotationMatrix spin = RotationMatrix::UniformRandom(u1, u2, u3);
// RotationMatrix spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
for (uint b = 0; b < hed.NumBond() + 1; ++b) {
// find positions
positions[b].Set(lj, spin.Apply(positions[b][0]));
Expand Down Expand Up @@ -229,7 +228,6 @@ void DCFreeCycle::BuildOld(TrialMol &oldMol, uint molIndex) {
u2 = prng();
u3 = prng();
RotationMatrix spin = RotationMatrix::UniformRandom(u1, u2, u3);
// RotationMatrix spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
for (uint b = 0; b < hed.NumBond() + 1; ++b) {
// find positions
positions[b].Set(lj, spin.Apply(positions[b][0]));
Expand Down
2 changes: 0 additions & 2 deletions src/cbmc/DCFreeCycleSeed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ void DCFreeCycleSeed::BuildNew(TrialMol &newMol, uint molIndex) {
u2 = prng();
u3 = prng();
RotationMatrix spin = RotationMatrix::UniformRandom(u1, u2, u3);
// RotationMatrix spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
for (uint b = 0; b < hed.NumBond() + 1; ++b) {
// find positions
positions[b].Set(lj, spin.Apply(positions[b][0]));
Expand Down Expand Up @@ -228,7 +227,6 @@ void DCFreeCycleSeed::BuildOld(TrialMol &oldMol, uint molIndex) {
u2 = prng();
u3 = prng();
RotationMatrix spin = RotationMatrix::UniformRandom(u1, u2, u3);
// RotationMatrix spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
for (uint b = 0; b < hed.NumBond() + 1; ++b) {
// find positions
positions[b].Set(lj, spin.Apply(positions[b][0]));
Expand Down
2 changes: 0 additions & 2 deletions src/cbmc/DCFreeHedron.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ void DCFreeHedron::BuildNew(TrialMol &newMol, uint molIndex) {
u2 = prng();
u3 = prng();
RotationMatrix spin = RotationMatrix::UniformRandom(u1, u2, u3);
// RotationMatrix spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
for (uint b = 0; b < hed.NumBond() + 1; ++b) {
// find positions
positions[b].Set(lj, spin.Apply(positions[b][0]));
Expand Down Expand Up @@ -208,7 +207,6 @@ void DCFreeHedron::BuildOld(TrialMol &oldMol, uint molIndex) {
u2 = prng();
u3 = prng();
RotationMatrix spin = RotationMatrix::UniformRandom(u1, u2, u3);
// RotationMatrix spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
for (uint b = 0; b < hed.NumBond() + 1; ++b) {
// find positions
positions[b].Set(lj, spin.Apply(positions[b][0]));
Expand Down
2 changes: 0 additions & 2 deletions src/cbmc/DCFreeHedronSeed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ void DCFreeHedronSeed::BuildNew(TrialMol &newMol, uint molIndex) {
u2 = prng();
u3 = prng();
RotationMatrix spin = RotationMatrix::UniformRandom(u1, u2, u3);
// RotationMatrix spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
for (uint b = 0; b < hed.NumBond() + 1; ++b) {
// find positions
positions[b].Set(lj, spin.Apply(positions[b][0]));
Expand Down Expand Up @@ -207,7 +206,6 @@ void DCFreeHedronSeed::BuildOld(TrialMol &oldMol, uint molIndex) {
u2 = prng();
u3 = prng();
RotationMatrix spin = RotationMatrix::UniformRandom(u1, u2, u3);
// RotationMatrix spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
for (uint b = 0; b < hed.NumBond() + 1; ++b) {
// find positions
positions[b].Set(lj, spin.Apply(positions[b][0]));
Expand Down
2 changes: 0 additions & 2 deletions src/cbmc/DCRotateCOM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ void DCRotateCOM::BuildNew(TrialMol &newMol, uint molIndex) {
u2 = prng();
u3 = prng();
spin = RotationMatrix::UniformRandom(u1, u2, u3);
// spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
}

for (uint a = 0; a < atomNumber; ++a) {
Expand Down Expand Up @@ -297,7 +296,6 @@ void DCRotateCOM::BuildOld(TrialMol &oldMol, uint molIndex) {
u2 = prng();
u3 = prng();
spin = RotationMatrix::UniformRandom(u1, u2, u3);
// spin = RotationMatrix::UniformRandom(prng(), prng(), prng());
}

for (uint a = 0; a < atomNumber; ++a) {
Expand Down

0 comments on commit 65a7ada

Please sign in to comment.