Ferrite-FEM/Ferrite.jl

Non-allocating point eval handler evaluations

Open

#893 opened on Mar 11, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (109 forks)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (439 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently we just have an allocating version for evaluate_at_points and the internal function evaluate_at_points! which requires knowledge about the internals to use. We should widen the user-facing portion by adding the following functions

  • evaluate_at_points!(values::AbstractVector, ph::PointEvalHandler, proj::L2Projector, dof_vals::AbstractVector)
  • evaluate_at_points!(values::AbstractVector, ph::PointEvalHandler, dh::DofHandler, dof_vals::AbstractVector)
  • evaluate_at_points!(values::AbstractVector, ph::PointEvalHandler,dh::DofHandler, dof_vals::AbstractVector, fname::Symbol)

Furthermore we might want to restrict the evaluation to subdomains, which requires a little bit of refactoring for the internals.

Contributor guide