Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproduce two minima in _make_cross_face_batch Gauss-Newton #228

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

inducer
Copy link
Owner

@inducer inducer commented Jun 17, 2021

This is a refreshed version of the reproducer for two minima in the Gauss-Newton-based inversion of the reference-to-global map in _make_cross_face_batch described in #105 (comment).

To reproduce it, clone this branch and run

 pycl test_connection.py 'test_bdry_restriction_is_permutation(_acf, PolynomialEquidistantSimplexGroupFactory, 3, 2)'  

The output currently is

GOOD UNIT NODES
[[-1. -1. -1.  0.  0.  1.]
 [-1.  0.  1. -1.  0. -1.]]
BAD UNIT NODES
[[-1.00000000e+00 -1.00000000e+00 -9.86265258e-01 -5.73886430e-16
  -5.09506980e-16  1.00000000e+00]
 [-1.00000000e+00 -1.23179577e-16  1.00000000e+00 -1.00000000e+00
  -1.61968491e-15 -1.00000000e+00]]

FIXED RESIDUAL
1.3322676295501878e-15
UNFIXED RESIDUAL
1.3322676295501878e-15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant