Skip to content

at-points: change at-points operators to use Chebyshev polynomials of the first kind (normalized)#1963

Merged
jeremylt merged 1 commit into
mainfrom
zach/at-points-cheby-first-kind
May 8, 2026
Merged

at-points: change at-points operators to use Chebyshev polynomials of the first kind (normalized)#1963
jeremylt merged 1 commit into
mainfrom
zach/at-points-cheby-first-kind

Conversation

@zatkins-dev
Copy link
Copy Markdown
Collaborator

Purpose:

We're currently using Chebyshev polynomials of the second kind, which don't have their range bounded to the same [-1,1] as their domain. I'm really not sure why we would be using the second kind, since they're numerically less stable and have a more complicated derivative.

This doesn't cause any issues with tests here or in Ratel.

LLM/GenAI Disclosure:

None

@zatkins-dev
Copy link
Copy Markdown
Collaborator Author

we could possibly squeeze an extra register out of the cuda and hip impls, since they use 3 doubles for the derivative calculation right now and we should only need two with this change.

Comment thread interface/ceed-basis.c
Comment thread include/ceed/jit-source/cuda/cuda-ref-basis-tensor-at-points.h
Comment thread interface/ceed-basis.c
Comment thread interface/ceed-basis.c
@zatkins-dev zatkins-dev force-pushed the zach/at-points-cheby-first-kind branch from c170613 to a835aab Compare May 6, 2026 21:11
@jeremylt
Copy link
Copy Markdown
Member

jeremylt commented May 8, 2026

Checked CI locally - happy to merge if you want me to

Ope, I have a CUDA build issue.

Nevermind, that's the CUDA/GCC-16 issue, all is good

@zatkins-dev
Copy link
Copy Markdown
Collaborator Author

I think I'm good with merging!

@jeremylt jeremylt merged commit db96194 into main May 8, 2026
26 of 27 checks passed
@jeremylt jeremylt deleted the zach/at-points-cheby-first-kind branch May 8, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants