Neko  0.9.0
A portable framework for high-order spectral element flow simulations
point_zone Module Reference

Data Types

type  point_zone_t
 Base abstract type for point zones. More...
 
type  point_zone_wrapper_t
 A helper type to build a list of polymorphic point_zones. More...
 
type  point_zone_pointer_t
 A helper type to build a list of pointers to point_zones. More...
 
interface  point_zone_criterion
 Defines the criterion of selection of a GLL point to the point_zone. More...
 
interface  point_zone_init
 The common constructor using a JSON object. More...
 
interface  point_zone_free
 Destructor. More...
 

Functions/Subroutines

subroutine point_zone_init_base (this, size, name, invert)
 Point zone factory. Constructs, initializes, and maps the point zone object. More...
 
subroutine point_zone_free_base (this)
 Destructor for the point_zone_t base type. More...
 
subroutine point_zone_finalize (this)
 Builds the mask from the scratch stack. More...
 
subroutine point_zone_add (this, idx)
 Adds a point's linear index to the scratch stack. More...
 
subroutine point_zone_map (this, dof)
 Maps the GLL points that verify a point_zone's criterion by adding them to the stack. More...
 

Function/Subroutine Documentation

◆ point_zone_add()

subroutine point_zone::point_zone_add ( class(point_zone_t), intent(inout)  this,
integer, intent(inout)  idx 
)
private
Parameters
idxLinear index of the point to add.
Note
The linear index of a point (j,k,l,e) can be retrieved using the subroutine linear_index(j,k,l,e,lx) in the utils module.

Definition at line 243 of file point_zone.f90.

◆ point_zone_finalize()

subroutine point_zone::point_zone_finalize ( class(point_zone_t), intent(inout)  this)
private

Definition at line 200 of file point_zone.f90.

◆ point_zone_free_base()

subroutine point_zone::point_zone_free_base ( class(point_zone_t), intent(inout)  this)
private

Definition at line 182 of file point_zone.f90.

Here is the call graph for this function:

◆ point_zone_init_base()

subroutine point_zone::point_zone_init_base ( class(point_zone_t), intent(inout)  this,
integer, intent(in), optional  size,
character(len=*), intent(in)  name,
logical, intent(in)  invert 
)
private
Parameters
objectThe object allocated by the factory.
jsonJSON object initializing the point zone.
dofDofmap from which to map the point zone. Constructor for the point_zone_t base type.
sizeSize of the scratch stack.
nameName of the point zone.
invertFlag to indicate wether or not to invert the selection of points.

Definition at line 162 of file point_zone.f90.

◆ point_zone_map()

subroutine point_zone::point_zone_map ( class(point_zone_t), intent(inout)  this,
type(dofmap_t), intent(in)  dof 
)
private
Parameters
dofDofmap of points to go through.

Definition at line 258 of file point_zone.f90.

Here is the call graph for this function: