Thread Previous • Date Previous • Date Next • Thread Next |
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
Thread Previous • Date Previous • Date Next • Thread Next |