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

delta-function derivatives #489

Closed
stevengj opened this issue Nov 30, 2020 · 1 comment
Closed

delta-function derivatives #489

stevengj opened this issue Nov 30, 2020 · 1 comment

Comments

@stevengj
Copy link
Contributor

stevengj commented Nov 30, 2020

PR #485 added delta functions (on points/lines/surfaces in the grid).

As noted in #408, many applications also use delta function derivatives ("dipoles", "quadrupoles", etcetera), which are simply functionals δ′{v} that evaluate derivatives of the test function v (integrating the derivative along a line or surface in the case of line/surface delta functions).

For example,

δ_point = DiracDelta{0}(model,tags=["mypoint1","mypoint2"])
δ_point′ =δ_point

would be a functional δ_point′(v) that is equivalent to δ_point(-∇⊙v).

That being said, because the caller can always apply the derivatives to the test function instead of to the delta function (by definition of the distributional derivative), maybe this isn't strictly needed?

@santiagobadia
Copy link
Member

Hi @stevengj

As you say, the user can just use the definition of the distributional derivative, i.e., minus the derivative of the argument. Since this is straightforward inGridap, I would not include derivatives of Dirac deltas.

As you say, this is not strictly needed, so I will close the issue.

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

No branches or pull requests

2 participants