Vachan
Thanks a lot for your reply. What I actually need is a change of basis from
Lagrange polynomials (nodal) to Legendre polynomials (modal). I then want to
know the coefficients of certain modes.
So, if there is any straightforward way to do this in dealii, I would proceed
with that. I, could not find any such functions and hence planned on doing it
manually, using the shape functions. However, even using any inbuilt functions
would only address my issue partly if the ordering is not clear.
I don't recall whether there is an easy way to achieve what you are looking
for, but some elements definitely do something like what you are trying to
achieve. For example, the difference between FE_Q and FE_DGQ is, in essence,
just a change of basis where the basis functions are permuted. Similarly, the
difference between FE_Q and FE_QHierarchical is similar to the nodal -> modal
change you are interested in. Finally, there is also the case of the FE_Q
constructor that receives a Quadrature object as argument and that then
computes a basis change.
You might want to look into how all of these are implemented. Most of this
kind of functionality exists in some kind of helper function that might be
useful to you.
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/4d767eb0-cf66-b11a-8791-55deab3666de%40colostate.edu.