Skip to content

Commit

Permalink
SysCo: randomize bench
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmuller committed May 24, 2024
1 parent fcc0c13 commit 505ef9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MMVII/src/SysCo/SysCo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,10 @@ void BenchSysCo(cParamExeBench & aParam)
// Ellipsoid normals
const tREAL8 testDist = 1000.;
std::vector<std::string> allOrigins = {"0*0", "55*0", "0*55", "55*55", "-55*0", "0*-55", "-55*-55"};
std::vector<tPt3dr> allPtRTL = { {0.,0.,0.}, {testDist,0.,0.}, {0.,testDist,0.}, {testDist,testDist,0.} };
std::vector<tPt3dr> allPtRTL = { {RandInInterval(-100.,100.),RandInInterval(-100.,100.),RandInInterval(-100.,100.)},
{testDist,RandInInterval(-100.,100.),RandInInterval(-100.,100.)},
{RandInInterval(-100.,100.),testDist,RandInInterval(-100.,100.)},
{testDist,testDist,RandInInterval(-100.,100.)} };
for (auto & aOrigin: allOrigins)
{
for (auto & aPtRTL: allPtRTL)
Expand Down

0 comments on commit 505ef9e

Please sign in to comment.