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

Matrix-free FEEvaluation: Avoid indirection in call to sum factorization #15981

Merged
merged 1 commit into from Sep 12, 2023

Conversation

kronbichler
Copy link
Member

We simply forward the call to an internal function in

SelectEvaluator<dim, fe_degree, n_q_points_1d, Number>::evaluate(
const unsigned int n_components,
const EvaluationFlags::EvaluationFlags evaluation_flag,
const Number *values_dofs,
FEEvaluationData<dim, Number, false> &eval)
{
Assert(fe_degree >= 0 && n_q_points_1d > 0, ExcInternalError());
internal::FEEvaluationImplSelector<dim, Number, false>::template run<
fe_degree,
n_q_points_1d>(n_components, evaluation_flag, values_dofs, eval);
}
so I think we should simply call that function in FEEvaluation::evaluate and FEEvaluation::integrate.

@tamiko tamiko merged commit bcc7101 into dealii:master Sep 12, 2023
15 checks passed
@kronbichler kronbichler deleted the remove_indirection branch September 12, 2023 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants