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

Go to the source code of this file.

Data Types

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

Modules

module  nmsh_file
 Neko binary mesh data.
 

Functions/Subroutines

subroutine nmsh_file::nmsh_file_read (this, data)
 Load a mesh from a binary Neko nmsh file.
 
subroutine nmsh_file::nmsh_file_read_2d (this, msh)
 Load a mesh from a binary Neko nmsh file.
 
subroutine nmsh_file::nmsh_file_read_zones (fh, base_offset, nzones, msh)
 Read zone data in chunks and ring-pass between ranks, avoiding storage of the full zone list on every rank. Uses two ring traversals: first marks all matching facets on every rank, then applies periodic facets (apply must follow mark globally since apply mutates point ids that mark reads via get_facet_ids).
 
pure subroutine nmsh_file::nmsh_file_extrude_periodic_ids (f, glb_pt_ids, glb_nelv, ids)
 Compute the extruded periodic point ids for the 2D thin-slab path. Pure function of the zone fields; safe to invoke independently from the mark and apply ring passes.
 
subroutine nmsh_file::nmsh_file_read_zones_2d (fh, base_offset, nzones, msh)
 Read zone data in chunks and ring-pass between ranks for the 2D thin-slab path. Two ring traversals as in nmsh_file_read_zones, but periodic entries also need their glb_pt_ids reordered to account for the extruded layer.
 
subroutine nmsh_file::nmsh_file_read_curves (fh, base_offset, ncurves, msh)
 Read curve element data in chunks and ring-pass between ranks, avoiding storage of the full curve list on every rank.
 
subroutine nmsh_file::nmsh_file_write (this, data, t)
 Write a mesh from to a binary Neko nmsh file.
 

Variables

integer, parameter nmsh_file::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.