Hi there, I just want to ask If I use Hermite Element, how can I use expression as initial condition. Since I can not interpolate expression to function space that is constituted by hermite element. Are there any examples(code snippet) you can share with me? Thanks in advance, Bilgin
Dear Bilgin, Try project instead of interpolate, i.e. project(my_initial_condition_expression, Hermite_space) Hope this helps, Patrick On 28/02/2021 11:44, bilgin@metu.edu.tr wrote:
Hi there,
I just want to ask If I use Hermite Element, how can I use expression as initial condition. Since I can not interpolate expression to function space that is constituted by hermite element.
Are there any examples(code snippet) you can share with me?
Thanks in advance, Bilgin
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
participants (2)
- 
                
                bilgin@metu.edu.tr
- 
                
                Patrick Farrell