Neko 1.99.7
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
boundary_data.f90 File Reference

Go to the source code of this file.

Data Types

type  boundary_data::boundary_data_t
 Collects data on the boundary points of one or more labelled zones and perform some bounary operations. More...
 

Modules

module  boundary_data
 Implements the boundary_data_t type.
 

Functions/Subroutines

subroutine boundary_data::boundary_data_init (this, coef, zone_indices, outward_normals)
 Build the boundary point mask and gather the geometry.
 
subroutine boundary_data::boundary_data_free (this)
 Destructor.
 
subroutine boundary_data::boundary_data_update_geometry (this)
 Re-gather the coordinates, normals and surface weights.
 
pure logical function boundary_data::boundary_data_is_geometry (name)
 Whether name refers to one of the geometry attributes.
 
subroutine boundary_data::boundary_data_get_vector_by_name (this, name, v)
 Sample a named quantity at the boundary points into a vector.
 
subroutine boundary_data::boundary_data_get_vector_by_field (this, f, v)
 Sample a field at the boundary points into a vector.
 
subroutine boundary_data::boundary_data_scatter_to_field_by_vector (this, v, f, clear)
 Scatter a boundary vector back into a full field.
 
subroutine boundary_data::boundary_data_scatter_to_field_by_name (this, name, f, clear)
 Scatter a named boundary quantity into a full field.
 
subroutine boundary_data::boundary_data_tangential_inplace (this, vx, vy, vz)
 Keep only the wall tangential part of a vector at the boundary points, in place. Each component is overwritten with v - (v . n) n.
 
subroutine boundary_data::boundary_data_tangential_split (this, vx, vy, vz, tx, ty, tz)
 Wall tangential part of a vector at the boundary points, out of place. The input (vx, vy, vz) is left unchanged and (tx, ty, tz) receive v - (v . n) n.
 
subroutine boundary_data::boundary_data_normal_inplace (this, vx, vy, vz)
 Keep only the wall normal part of a vector at the boundary points, in place. Each component is overwritten with (v . n) n.
 
subroutine boundary_data::boundary_data_normal_split (this, vx, vy, vz, nx, ny, nz)
 Wall normal part of a vector at the boundary points, out of place. The input (vx, vy, vz) is left unchanged and (nx, ny, nz) receive (v . n) n.
 
real(kind=rp) function boundary_data::boundary_data_integrate_by_name (this, name)
 Surface integral of a named quantity over the zones.
 
real(kind=rp) function boundary_data::boundary_data_integrate_by_field (this, f)
 Surface integral of a field over the zones.
 
real(kind=rp) function boundary_data::boundary_data_surface_area (this)
 Total surface area of the zones.
 
real(kind=rp) function boundary_data::boundary_data_average_by_name (this, name)
 Area weighted average of a named quantity over the zones.
 
real(kind=rp) function boundary_data::boundary_data_average_by_field (this, f)
 Area weighted average of a field over the zones.
 
real(kind=rp) function, dimension(3) boundary_data::boundary_data_centroid (this)
 Area weighted geometric centre of the zones.
 
real(kind=rp) function, dimension(3) boundary_data::boundary_data_point_average (this)
 Unweighted mean of the boundary point coordinates.
 
real(kind=rp) function, dimension(3) boundary_data::boundary_data_integrate_vector_by_field (this, fx, fy, fz)
 Surface integral of a vector quantity, component by component.
 
real(kind=rp) function, dimension(3) boundary_data::boundary_data_integrate_vector_by_name (this, fx, fy, fz)
 Surface integral of a named vector quantity, component by component.
 
real(kind=rp) function boundary_data::boundary_data_flux_by_field (this, u, v, w)
 Flux of a vector quantity through the zones.
 
real(kind=rp) function boundary_data::boundary_data_flux_by_name (this, u, v, w)
 Flux of a named vector quantity through the zones.
 
real(kind=rp) function, dimension(3) boundary_data::boundary_data_integrate_normal_by_field (this, f)
 Surface integral of a scalar quantity times the normal.
 
real(kind=rp) function, dimension(3) boundary_data::boundary_data_integrate_normal_by_name (this, name)
 Surface integral of a named scalar quantity times the normal.