Skip to content

Commit

Permalink
GRIDEDIT-953 Attempt to get the unit test working on teamcity
Browse files Browse the repository at this point in the history
  • Loading branch information
BillSenior committed Jun 17, 2024
1 parent deda023 commit 56eb2b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace meshkernel

private:
/// @brief Maximum number of spline points allowed when doubling of the spline points.
static const UInt MaximumNumberOfSplinePoints = 10000;
static const UInt MaximumNumberOfSplinePoints = 2000;

/// @brief The maximum number of checks for unlabeled splines
static const UInt MaximumCumulativeUnlabeledSplineCount = 1000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ void meshkernel::CurvilinearGridSplineToGrid::DetermineIntersection(Splines& spl
void meshkernel::CurvilinearGridSplineToGrid::DoubleSplinePoints(Splines& splines) const
{
std::vector<Point> doubledSplinePoints;
doubledSplinePoints.reserve(2 * splines.MaxSize() - 1);
doubledSplinePoints.reserve(2 * splines.MaxSizeIndex() - 1);

std::cout << "maximum size: " << splines.Size(splines.MaxSizeIndex()) << std::endl;

for (UInt splineIndex = 0; splineIndex < splines.GetNumSplines(); ++splineIndex)
{
Expand Down Expand Up @@ -108,7 +110,7 @@ bool meshkernel::CurvilinearGridSplineToGrid::ComputeAndCheckIntersection(Spline
std::vector<int>& splineType,
VectorOfDoubleVectors& splineIntersections) const
{
UInt maxSplineSize = splines.Size(splines.MaxSize());
UInt maxSplineSize = splines.Size(splines.MaxSizeIndex());

double crossProduct;
double normalisedIntersectionSplineI;
Expand Down

0 comments on commit 56eb2b0

Please sign in to comment.