| 950 | |
| 951 | |
| 952 | void HDivDivFacetSpace::Update() |
| 953 | { |
| 954 | if (ma->GetDimension()==2) |
| 955 | { |
| 956 | int nfaces = ma->GetNFacets(); |
| 957 | SetNDof(dofs_per_face * nfaces); |
| 958 | first_facet_dof = 0; |
| 959 | } |
| 960 | else |
| 961 | { |
| 962 | int nedges = ma->GetNEdges(); |
| 963 | int nfaces = ma->GetNFaces(); |
| 964 | SetNDof(dofs_per_edge*nedges + dofs_per_face * nfaces); |
| 965 | first_facet_dof = dofs_per_edge*nedges; |
| 966 | } |
| 967 | } |
| 968 | |
| 969 | void HDivDivFacetSpace::GetDofNrs(ElementId ei, Array<DofId> &dnums) const |
| 970 | { |