Loading [MathJax]/extensions/tex2jax.js
Neko 0.9.99
A portable framework for high-order spectral element flow simulations
All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Pages
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.
 
subroutine mesh::mesh_init_dist (this, gdim, dist)
 Initialise a mesh this based on a distribution dist.
 
subroutine mesh::mesh_init_common (this)
 
subroutine mesh::mesh_free (this)
 Deallocate a mesh this.
 
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.
 
subroutine mesh::mesh_generate_conn (this)
 Generate element-to-element connectivity.
 
subroutine mesh::mesh_generate_external_facet_conn (this)
 Generate element-element connectivity via facets between PEs.
 
subroutine mesh::mesh_generate_external_point_conn (this)
 Generate element-element connectivity via points between PEs.
 
subroutine mesh::mesh_generate_edge_conn (this)
 Generate element-element connectivity via edges both between internal and between PEs.
 
subroutine mesh::mesh_generate_facet_numbering (this)
 Generate a unique facet numbering.
 
subroutine mesh::mesh_add_quad (this, el, el_glb, p1, p2, p3, p4)
 Add a quadrilateral element to the mesh this.
 
subroutine mesh::mesh_add_hex (this, el, el_glb, p1, p2, p3, p4, p5, p6, p7, p8)
 Add a hexahedral element to the mesh this.
 
subroutine mesh::mesh_add_point (this, p, idx)
 Add a unique point to the mesh.
 
subroutine mesh::mesh_add_face (this, f)
 Add a unique face represented as a 4-tuple to the mesh.
 
subroutine mesh::mesh_add_edge (this, e)
 Add a unique edge represented as a 2-tuple to the mesh.
 
subroutine mesh::mesh_mark_wall_facet (this, f, e)
 Mark facet f in element e as a wall.
 
subroutine mesh::mesh_mark_curve_element (this, e, curve_data, curve_type)
 Mark element e as a curve element.
 
subroutine mesh::mesh_mark_inlet_facet (this, f, e)
 Mark facet f in element e as an inlet.
 
subroutine mesh::mesh_mark_labeled_facet (this, f, e, label)
 Mark facet f in element e with label.
 
subroutine mesh::mesh_mark_outlet_normal_facet (this, f, e)
 Mark facet f in element e as an outlet normal.
 
subroutine mesh::mesh_mark_outlet_facet (this, f, e)
 Mark facet f in element e as an outlet.
 
subroutine mesh::mesh_mark_sympln_facet (this, f, e)
 Mark facet f in element e as a symmetry plane.
 
subroutine mesh::mesh_mark_periodic_facet (this, f, e, pf, pe, pids)
 Mark facet f in element e as periodic with (pf, pe)
 
subroutine mesh::mesh_get_facet_ids (this, f, e, pids)
 Get original ids of periodic points.
 
subroutine mesh::mesh_reset_periodic_ids (this)
 Reset ids of periodic points to their original ids.
 
subroutine mesh::mesh_create_periodic_ids (this, f, e, pf, pe)
 Creates common ids for matching periodic points.
 
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.
 
integer function mesh::mesh_get_local_point (this, p)
 Return the local id of a point p.
 
integer function mesh::mesh_get_local_edge (this, e)
 Return the local id of an edge e.
 
integer function mesh::mesh_get_local_facet (this, f)
 Return the local id of a face f.
 
integer function mesh::mesh_get_global_edge (this, e)
 Return the global id of an edge e.
 
integer function mesh::mesh_get_global_facet (this, f)
 Return the local id of a face f.
 
integer function mesh::mesh_have_point_glb_idx (this, index)
 Check if the mesh has a point given its global index.
 
logical function mesh::mesh_is_shared_point (this, p)
 Check if a point is shared.
 
logical function mesh::mesh_is_shared_edge (this, e)
 Check if an edge is shared.
 
logical function mesh::mesh_is_shared_facet (this, f)
 Check if a facet is shared.
 

Variables

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