how to extract the element degree from a FunctionSpace

Asked by Nico Schlömer

Given a FunctionSpace, how can I extract the element degree (in Python)?

Question information

Language:
English Edit question
Status:
Solved
For:
FEniCS Project Edit question
Assignee:
No assignee Edit question
Solved by:
Nico Schlömer
Solved:
Last query:
Last reply:
Revision history for this message
Johan Hake (johan-hake) said :
#1

V.ufl_element().degree()

Johan

On 05/07/2013 02:51 PM, Nico Schlömer wrote:
> New question #228337 on FEniCS Project:
> https://answers.launchpad.net/fenics/+question/228337
>
> Given a FunctionSpace, how can I extract the element degree (in Python)?
>

Revision history for this message
Nico Schlömer (nschloe) said :
#2

Perfect, thanks.