Neko
0.9.0
A portable framework for high-order spectral element flow simulations
|
Data Types | |
type | sphere_point_zone_t |
A sphere-shaped point zone. More... | |
Functions/Subroutines | |
subroutine | sphere_point_zone_init_from_json (this, json, size) |
Constructor from json object file. More... | |
subroutine | sphere_point_zone_init_common (this, size, name, invert, x0, y0, z0, radius) |
Initializes a sphere point zone from its center coordinates and radius. More... | |
subroutine | sphere_point_zone_free (this) |
Destructor. More... | |
pure logical function | sphere_point_zone_criterion (this, x, y, z, j, k, l, e) |
Defines the criterion of selection of a GLL point in the sphere point zone. A GLL point of coordinates \( \vec{X} = (x, y, z) \) is considered as being inside the zone if: More... | |
|
private |
\begin{eqnarray*} |\vec{X} - \vec{X_0}|^2 \le r \end{eqnarray*}
Where \( r \) is the radius of the sphere and \( \vec{X_0} = (x_0, y_0, z_0) \) the coordinates of its center.
x | x-coordinate of the GLL point. |
y | y-coordinate of the GLL point. |
z | z-coordinate of the GLL point. |
j | 1st nonlinear index of the GLL point. |
k | 2nd nonlinear index of the GLL point. |
l | 3rd nonlinear index of the GLL point. |
e | element index of the GLL point. |
Definition at line 149 of file sphere_point_zone.f90.
|
private |
Definition at line 121 of file sphere_point_zone.f90.
|
private |
size | Size of the scratch stack. |
name | Name of the sphere point zone. |
x0 | Sphere center's x-coordinate. |
y0 | Sphere center's y-coordinate. |
z0 | Sphere center's z-coordinate. |
radius | Sphere radius. |
Definition at line 100 of file sphere_point_zone.f90.
subroutine sphere_point_zone::sphere_point_zone_init_from_json | ( | class(sphere_point_zone_t), intent(inout) | this, |
type(json_file), intent(inout) | json, | ||
integer, intent(in) | size | ||
) |
json | Json object file. |
size | Size with which to initialize the stack |
Definition at line 67 of file sphere_point_zone.f90.