On 6/23/24 04:53, 陈敏 wrote:
>
> ψ_n is the Legendre polynomial basis on polynomial space, and /l_i ^k is the
> /lagrangian polynomial basis on physical space. There will be a transform
> between the two spaces by projection.
> /
I see, yes. This basis transform is facilitated by a simple matrix on each
cell for which there are functions that can compute it (either in FETools or
in the finite element itself) if you want to use a *local* projection. If you
want to transform globally, it requires the inversion of a mass matrix, which
is also not difficult.
> Anyway, if I want to implement a spectral method in dealii, I just need to
> use Legendre polynomial basis and do quadrature on Legendre-Gauss-Lobatto
> (LGL) quadrature points?
Yes, more or less.
Best
W.
--
------------------------------------------------------------------------