danfortunato / ultraSEM

The ultraspherical spectral element method
MIT License
29 stars 3 forks source link

Eliminate BCs directly in Kronecker space #4

Open danfortunato opened 5 years ago

danfortunato commented 5 years ago

The current implementation discretizes rank-K PDOs using chebop2 ideas by constructing a K-term matrix equation, eliminating boundary constraints, and then building a large linear system by taking Kronecker products. If K is large then this is very slow as all operations must be performed K times. We would like to do everything directly in Kronecker space instead.

If K = 2, then we should never go to Kronecker space and instead solve with Bartels-Stewart or ADI.