DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0025376

Inconsistence between function and derivatives evaluation in Extrema_GlobOptFuncCS.

Open CASCADEOCCT:Modeling Algorithmsclosed8 public notes

Search issues

Description

In "value" function distance is computed, but in "gradient" and "hessian" computed for "square distance".

It is necessary to use one approach: "distance" or "square distance" everywhere in Extrema_GlobOptFuncCS.

Public activity

8 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Oct 15 11:44:53 2014 +0400

    0025376: Inconsistence between function and derivatives evaluation in Extrema_GlobOptFuncCS.
    
    Changed "value" function behavior in Extrema/Extrema_GlobOptFuncCS.cxx. Now it compute square distance between point on curve and point on surface.
02Commenter 2
Dear abv,

Please check current state of branch CR25376.
03Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
05Commenter 5
No remarks, please test
06Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
07Commenter 7
Dear Commenter 1,
Branch CR25376 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)
MacOS: 199 (199 on master)

products component :
Linux: 11 (11 on master)
Windows: 1 (1 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
occt component :
Total MEMORY difference: 368801972 / 368944548
Total CPU difference: 46382.69999999994 / 44655.91000000001
products component :
Total MEMORY difference: 125005188 / 125190500
Total CPU difference: 16779.709999999974 / 17166.429999999975

Testing on Windows:
occt component :
Total MEMORY difference: 253883176 / 252953496
Total CPU difference: 41862.046875 / 34935.15625
products component :
Total MEMORY difference: 71721948 / 70188468
Total CPU difference: 12216.421875 / 11249.375

There are no differences in images found by testdiff.
08Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]