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

NEKTON mesh data in re2 format. More...

Data Types

type  re2_file_t
 Interface for NEKTON re2 files. More...
 

Functions/Subroutines

subroutine re2_file_read (this, data)
 Load a binary NEKTON mesh from a re2 file. More...
 
subroutine re2_file_write (this, data, t)
 
subroutine re2_file_read_points (msh, ndim, nel, dist, fh, mpi_offset, re2_data_xy_size, re2_data_xyz_size, v2_format)
 
subroutine re2_file_read_curve (msh, ncurve, dist, fh, mpi_offset, v2_format)
 
subroutine re2_file_read_bcs (msh, nbcs, dist, fh, mpi_offset, v2_format)
 
subroutine re2_file_mark_labeled_bc (msh, el_idx, facet, type, label, offset, print_info)
 Mark a labeled zone based on an offset. More...
 
subroutine re2_file_add_point (htp, p, idx)
 

Variables

integer, public neko_w_bc_label = -1
 
integer, public neko_v_bc_label = -1
 
integer, public neko_o_bc_label = -1
 
integer, public neko_sym_bc_label = -1
 
integer, public neko_on_bc_label = -1
 
integer, public neko_shl_bc_label = -1
 

Detailed Description

This module is used to read/write binary NEKTION mesh data

Function/Subroutine Documentation

◆ re2_file_add_point()

subroutine re2_file::re2_file_add_point ( type(htable_pt_t), intent(inout)  htp,
type(point_t), intent(inout)  p,
integer, intent(inout)  idx 
)
private

Definition at line 900 of file re2_file.f90.

Here is the caller graph for this function:

◆ re2_file_mark_labeled_bc()

subroutine re2_file::re2_file_mark_labeled_bc ( type(mesh_t), intent(inout)  msh,
integer, intent(in)  el_idx,
integer, intent(in)  facet,
character(len=*), intent(in)  type,
integer, intent(in)  label,
integer, intent(in)  offset,
logical, intent(in)  print_info 
)
private
Parameters
mshThe mesh on which to mark the labeled zone.
el_idxThe index of the element on which to mark the labeled zone.
facetThe facet index to mark.
typeThe re2 label type (e.g. "W", "ON", "SYM", etc).
labelThe integer label with which to mark the labeled zone.
offsetThe offset with which to increment the label, in case there are any existing user labeled zones.
print_infoWether or not to print information to the standard output.

Definition at line 870 of file re2_file.f90.

Here is the caller graph for this function:

◆ re2_file_read()

subroutine re2_file::re2_file_read ( class(re2_file_t this,
class(*), intent(inout), target  data 
)
Todo:
Add support for curved side data Skip curved side data

Definition at line 71 of file re2_file.f90.

Here is the call graph for this function:

◆ re2_file_read_bcs()

subroutine re2_file::re2_file_read_bcs ( type(mesh_t), intent(inout)  msh,
integer, intent(inout)  nbcs,
type(linear_dist_t dist,
type(mpi_file), intent(inout)  fh,
integer (kind=mpi_offset_kind)  mpi_offset,
logical, intent(in)  v2_format 
)
private
Todo:
Use element offset in parallel

Definition at line 521 of file re2_file.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ re2_file_read_curve()

subroutine re2_file::re2_file_read_curve ( type(mesh_t), intent(inout)  msh,
integer, intent(inout)  ncurve,
type(linear_dist_t dist,
type(mpi_file), intent(inout)  fh,
integer (kind=mpi_offset_kind)  mpi_offset,
logical, intent(in)  v2_format 
)
private

Definition at line 419 of file re2_file.f90.

Here is the caller graph for this function:

◆ re2_file_read_points()

subroutine re2_file::re2_file_read_points ( type(mesh_t), intent(inout)  msh,
integer, intent(inout)  ndim,
integer, intent(inout)  nel,
type(linear_dist_t dist,
type(mpi_file), intent(inout)  fh,
integer (kind=mpi_offset_kind)  mpi_offset,
integer, intent(in)  re2_data_xy_size,
integer, intent(in)  re2_data_xyz_size,
logical, intent(in)  v2_format 
)
private

Definition at line 309 of file re2_file.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ re2_file_write()

subroutine re2_file::re2_file_write ( class(re2_file_t), intent(inout)  this,
class(*), intent(in), target  data,
real(kind=rp), intent(in), optional  t 
)
private
Todo:
Add support for curved side data

Definition at line 218 of file re2_file.f90.

Variable Documentation

◆ neko_o_bc_label

integer, public re2_file::neko_o_bc_label = -1

Definition at line 56 of file re2_file.f90.

◆ neko_on_bc_label

integer, public re2_file::neko_on_bc_label = -1

Definition at line 58 of file re2_file.f90.

◆ neko_shl_bc_label

integer, public re2_file::neko_shl_bc_label = -1

Definition at line 59 of file re2_file.f90.

◆ neko_sym_bc_label

integer, public re2_file::neko_sym_bc_label = -1

Definition at line 57 of file re2_file.f90.

◆ neko_v_bc_label

integer, public re2_file::neko_v_bc_label = -1

Definition at line 55 of file re2_file.f90.

◆ neko_w_bc_label

integer, public re2_file::neko_w_bc_label = -1

Definition at line 54 of file re2_file.f90.