HILA
|
Simple HILA example application which computes laplacian of Gaussian random complex field. More...
#include "hila.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Main function for application which implements the method. | |
Simple HILA example application which computes laplacian of Gaussian random complex field.
The application generates a \( 32^2 \) size field \( f \) of random Complex numbers. We proceed to compute the summed absolute value of the Laplacian of said field:
\begin{align}g(X) &= |\nabla^2 f(X)| \\ &= \sum_{d \in \hat{e}} |f(X + d) - 2f(X) + f(X-d)|, \end{align}
where \(\hat{e} = \{e_x,e_y,e_z\}\) is the set of unit vectors. Afterwards this quantity is printed out.
Definition in file hila_simple_example.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main function for application which implements the method.
argc | |
argv |
Definition at line 28 of file hila_simple_example.cpp.