Move tabulate_dof_coordinates from ufc dofmap to ufc finite_element

Issue #24 resolved
Prof Garth Wells created an issue

Comments (8)

  1. Martin Sandve Alnæs

    The finite_element::tabulate_dof_coordinates() should just tabulate the reference cell coordinates. Then the upcoming ufc::domain::map_reference_coordinates(x, n, X, coordinate_dofs) can be used to compute global coordinates.

    The reference cell dof coordinates are fixed, so the function can actually be:

    virtual const vector<double> & tabulate_dof_coordinates() const
    {
      static const vector<double> dof_coordinates = {
        ...
        }; 
      return dof_coordinates;
    }
    

    as in the enabled_coefficients implementation.

  2. Log in to comment