Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure cell orientation information passed into tabulate_tensor and transform_reference_basis_derivatives #203

Closed
mscroggs opened this issue Feb 18, 2020 · 0 comments · Fixed by #227

Comments

@mscroggs
Copy link
Member

Currently, edge_reflections, face_rotations and face_reflections are passed in, as well as quadrature_permutation in tabulate_tensor.

typedef void(ufc_tabulate_tensor)(
ufc_scalar_t* restrict A, const ufc_scalar_t* w, const ufc_scalar_t* c,
const double* restrict coordinate_dofs, const int* entity_local_index,
const uint8_t* restrict quadrature_permutation,
const bool* edge_reflections, const bool* face_reflections,
const uint8_t* face_rotations);

int (*transform_reference_basis_derivatives)(
double* restrict values, int order, int num_points,
const double* restrict reference_values, const double* restrict X,
const double* restrict J, const double* restrict detJ,
const double* restrict K, const bool* edge_reflections,
const bool* face_reflections, const uint8_t* face_rotations);

This information should be passed in a more tidy way, possibly as an array cell_ordering[dimension][rotation/reflection][entiity_index].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant