Neko  0.9.99
A portable framework for high-order spectral element flow simulations
mesh.f90 File Reference

Go to the source code of this file.

Data Types

type  mesh::mesh_element_t
 
type  mesh::mesh_t
 
interface  mesh::mesh_deform
 

Modules

module  mesh
 Defines a mesh.
 

Functions/Subroutines

subroutine mesh::mesh_init_nelv (this, gdim, nelv)
 Initialise a mesh this with nelv elements. More...
 
subroutine mesh::mesh_init_dist (this, gdim, dist)
 Initialise a mesh this based on a distribution dist. More...
 
subroutine mesh::mesh_init_common (this)
 
subroutine mesh::mesh_free (this)
 Deallocate a mesh this. More...
 
subroutine mesh::mesh_finalize (this)
 
subroutine mesh::mesh_generate_flags (this)
 
subroutine mesh::mesh_all_deformed (this)
 Set all elements as if they are deformed. More...
 
subroutine mesh::mesh_generate_conn (this)
 Generate element-to-element connectivity. More...
 
subroutine mesh::mesh_generate_external_facet_conn (this)
 Generate element-element connectivity via facets between PEs. More...
 
subroutine mesh::mesh_generate_external_point_conn (this)
 Generate element-element connectivity via points between PEs. More...
 
subroutine mesh::mesh_generate_edge_conn (this)
 Generate element-element connectivity via edges both between internal and between PEs. More...
 
subroutine mesh::mesh_generate_facet_numbering (this)
 Generate a unique facet numbering. More...
 
subroutine mesh::mesh_add_quad (this, el, p1, p2, p3, p4)
 Add a quadrilateral element to the mesh this. More...
 
subroutine mesh::mesh_add_hex (this, el, p1, p2, p3, p4, p5, p6, p7, p8)
 Add a hexahedral element to the mesh this. More...
 
subroutine mesh::mesh_add_point (this, p, idx)
 Add a unique point to the mesh. More...
 
subroutine mesh::mesh_add_face (this, f)
 Add a unique face represented as a 4-tuple to the mesh. More...
 
subroutine mesh::mesh_add_edge (this, e)
 Add a unique edge represented as a 2-tuple to the mesh. More...
 
subroutine mesh::mesh_mark_wall_facet (this, f, e)
 Mark facet f in element e as a wall. More...
 
subroutine mesh::mesh_mark_curve_element (this, e, curve_data, curve_type)
 Mark element e as a curve element. More...
 
subroutine mesh::mesh_mark_inlet_facet (this, f, e)
 Mark facet f in element e as an inlet. More...
 
subroutine mesh::mesh_mark_labeled_facet (this, f, e, label)
 Mark facet f in element e with label. More...
 
subroutine mesh::mesh_mark_outlet_normal_facet (this, f, e)
 Mark facet f in element e as an outlet normal. More...
 
subroutine mesh::mesh_mark_outlet_facet (this, f, e)
 Mark facet f in element e as an outlet. More...
 
subroutine mesh::mesh_mark_sympln_facet (this, f, e)
 Mark facet f in element e as a symmetry plane. More...
 
subroutine mesh::mesh_mark_periodic_facet (this, f, e, pf, pe, pids)
 Mark facet f in element e as periodic with (pf, pe) More...
 
subroutine mesh::mesh_get_facet_ids (this, f, e, pids)
 Get original ids of periodic points. More...
 
subroutine mesh::mesh_reset_periodic_ids (this)
 Reset ids of periodic points to their original ids. More...
 
subroutine mesh::mesh_create_periodic_ids (this, f, e, pf, pe)
 Creates common ids for matching periodic points. More...
 
subroutine mesh::mesh_apply_periodic_facet (this, f, e, pf, pe, pids)
 Replaces the periodic point's id with a common id for matching periodic points. More...
 
integer function mesh::mesh_get_local_point (this, p)
 Return the local id of a point p. More...
 
integer function mesh::mesh_get_local_edge (this, e)
 Return the local id of an edge e. More...
 
integer function mesh::mesh_get_local_facet (this, f)
 Return the local id of a face f. More...
 
integer function mesh::mesh_get_global_edge (this, e)
 Return the global id of an edge e. More...
 
integer function mesh::mesh_get_global_facet (this, f)
 Return the local id of a face f. More...
 
integer function mesh::mesh_have_point_glb_idx (this, index)
 Check if the mesh has a point given its global index. More...
 
logical function mesh::mesh_is_shared_point (this, p)
 Check if a point is shared. More...
 
logical function mesh::mesh_is_shared_edge (this, e)
 Check if an edge is shared. More...
 
logical function mesh::mesh_is_shared_facet (this, f)
 Check if a facet is shared. More...
 

Variables

integer, parameter, public mesh::neko_msh_max_zlbls = 20
 Max num. zone labels. More...
 
integer, parameter, public mesh::neko_msh_max_zlbl_len = 40
 Max length of a zone label. More...