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.
--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/39e1d7ad-12ff-420b-84df-024933e55c25%40colostate.edu.

Reply via email to