Community
cancel
Showing results for
Did you mean: Beginner
86 Views

## Dirac Delta function

How is the Dirac Delta Function expressed in visual fortran?
4 Replies Beginner
86 Views
Why do you need it in Fortran? Dirac Delta funtion has no sense inmachine ariphmetic, becausethere is no pointinprecise comparison of floating point numbers and its definition from integration point of view is also meaningless in this case. Beginner
86 Views

I'm solving the 2D Helmholtz problem on a Cartesian plane. u''(x,y)+q*u(x,y)=f(x,y)

Above governing equation, f(x,y) is external or internal source and Dirac Delta Function.

I want to compare analytical solution with numerical solution.

I have analytical solution.

To obtain numerical solution, Dirac Delta Funtion code is needed.

I know the function can not be expressed directly.

So, in detail, my question is how is the approximated expression of Dirac Delta Function.

Soogeun Kim Employee
86 Views
Hi,
Am I right that you set delta function as rhs of your Helmholtz equation? And you have solver that provide solution of your problem as smooth function of (x,y)?
With best regards,  