Neko  0.8.1
A portable framework for high-order spectral element flow simulations
nmsh_file Module Reference

Neko binary mesh data. More...

Data Types

type  nmsh_file_t
 Interface for Neko nmsh files. More...
 

Functions/Subroutines

subroutine nmsh_file_read (this, data)
 Load a mesh from a binary Neko nmsh file. More...
 
subroutine nmsh_file_read_2d (this, msh)
 Load a mesh from a binary Neko nmsh file. More...
 
subroutine nmsh_file_write (this, data, t)
 Write a mesh from to a binary Neko nmsh file. More...
 

Variables

integer, parameter max_write_nel = 8000000
 Specifices the maximum number of elements any rank is allowed to write (for nmsh). Needed in order to generate large meshes where an individual write might exceed 2GB. More...
 

Detailed Description

Neko binary mesh data.

Function/Subroutine Documentation

◆ nmsh_file_read()

subroutine nmsh_file::nmsh_file_read ( class(nmsh_file_t this,
class(*), intent(inout), target  data 
)

Load a mesh from a binary Neko nmsh file.

Todo:
Fix the parallel reading in this part, let each rank read a piece and pass the pieces around, filtering out matching zones in the local mesh.

Definition at line 63 of file nmsh_file.f90.

Here is the call graph for this function:

◆ nmsh_file_read_2d()

subroutine nmsh_file::nmsh_file_read_2d ( class(nmsh_file_t this,
type(mesh_t), intent(inout), pointer  msh 
)
private

Load a mesh from a binary Neko nmsh file.

Todo:
Fix the parallel reading in this part, let each rank read a piece and pass the pieces around, filtering out matching zones in the local mesh.

Definition at line 253 of file nmsh_file.f90.

Here is the caller graph for this function:

◆ nmsh_file_write()

subroutine nmsh_file::nmsh_file_write ( class(nmsh_file_t), intent(inout)  this,
class(*), intent(in), target  data,
real(kind=rp), intent(in), optional  t 
)
private

Write a mesh from to a binary Neko nmsh file.

Definition at line 441 of file nmsh_file.f90.

Variable Documentation

◆ max_write_nel

integer, parameter nmsh_file::max_write_nel = 8000000
private

Specifices the maximum number of elements any rank is allowed to write (for nmsh). Needed in order to generate large meshes where an individual write might exceed 2GB.

Definition at line 52 of file nmsh_file.f90.