Neko  0.8.99
A portable framework for high-order spectral element flow simulations
box_point_zone Module Reference

Data Types

type  box_point_zone_t
 A box-shaped point zone. More...
 

Functions/Subroutines

subroutine box_point_zone_init_from_json (this, json, size)
 Constructor from json object file. More...
 
subroutine box_point_zone_init_common (this, size, name, invert, xmin, xmax, ymin, ymax, zmin, zmax)
 Initializes a box point zone from its coordinates. More...
 
subroutine box_point_zone_free (this)
 Destructor. More...
 
pure logical function box_point_zone_criterion (this, x, y, z, j, k, l, e)
 Defines the criterion of selection of a GLL point in the box point zone. In the case of a box point zone, an x,y,z GLL point is considered as being inside the zone if: More...
 

Function/Subroutine Documentation

◆ box_point_zone_criterion()

pure logical function box_point_zone::box_point_zone_criterion ( class(box_point_zone_t), intent(in)  this,
real(kind=rp), intent(in)  x,
real(kind=rp), intent(in)  y,
real(kind=rp), intent(in)  z,
integer, intent(in)  j,
integer, intent(in)  k,
integer, intent(in)  l,
integer, intent(in)  e 
)
private

\begin{eqnarray*} x_{min} \le x \le x_{max} \\ y_{min} \le y \le y_{max} \\ z_{min} \le z \le z_{max} \\ \end{eqnarray*}

Parameters
xx-coordinate of the GLL point.
yy-coordinate of the GLL point.
zz-coordinate of the GLL point.
j1st nonlinear index of the GLL point.
k2nd nonlinear index of the GLL point.
l3rd nonlinear index of the GLL point.
eelement index of the GLL point.

Definition at line 160 of file box_point_zone.f90.

◆ box_point_zone_free()

subroutine box_point_zone::box_point_zone_free ( class(box_point_zone_t), intent(inout)  this)
private

Definition at line 131 of file box_point_zone.f90.

◆ box_point_zone_init_common()

subroutine box_point_zone::box_point_zone_init_common ( class(box_point_zone_t), intent(inout)  this,
integer, intent(in), optional  size,
character(len=*), intent(in)  name,
logical, intent(in)  invert,
real(kind=rp), intent(in)  xmin,
real(kind=rp), intent(in)  xmax,
real(kind=rp), intent(in)  ymin,
real(kind=rp), intent(in)  ymax,
real(kind=rp), intent(in)  zmin,
real(kind=rp), intent(in)  zmax 
)
private
Parameters
sizeSize of the scratch stack.
nameName of the box point zone.
xminLower x-bound of the box coordinates.
xmaxUpper x-bound of the box coordinates.
yminLower y-bound of the box coordinates.
ymaxUpper y-bound of the box coordinates.
zminLower z-bound of the box coordinates.
zmaxUpper z-bound of the box coordinates.

Definition at line 106 of file box_point_zone.f90.

Here is the caller graph for this function:

◆ box_point_zone_init_from_json()

subroutine box_point_zone::box_point_zone_init_from_json ( class(box_point_zone_t), intent(inout)  this,
type(json_file), intent(inout)  json,
integer, intent(in)  size 
)
Parameters
jsonJson object file.
sizeSize with which to initialize the stack

Definition at line 68 of file box_point_zone.f90.

Here is the call graph for this function: