← Back to team overview

dolfin team mailing list archive

Re: XML format for Higher Order meshes

 

Take a look at ufc::dof_map in the UFC manual.

-- 
Martin


2008/9/4 Shawn Walker <walker@xxxxxxxxxxxxxxx>:
> I have a question about accessing the right degrees of freedom of a
> Function.
>
> Let's assume I am inside the UFCCell.h file under the 'init' routine.  Say
> there is a Function already defined and created there that has the
> following FFC signature:
>
> "Mixed finite element: [Lagrange finite element of degree 2 on a triangle,
> Lagrange finite element of degree 2 on a triangle]"
>
> "FFC dof map for Mixed finite element: [Lagrange finite element of degree
> 2 on a triangle, Lagrange finite element of degree 2 on a triangle]"
>
> I know how to get the functions vector values if I know what entry I need
> in its vector format.  But how do I get the entry indices for a particular
> triangle?  For this example, there should be 6 indices for accessing the 6
> values for the 6 different finite element basis functions on a particular
> triangle.  Is this obtained from cell.entities?
>
> - Shawn
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>


References