The Open FUSION Toolkit 1.0.0-8905cc5
Modeling tools for plasma and fusion research and engineering
|
Local grid construction.
Data Types | |
interface | oft_metis_partmesh |
Parition a tetrahedral mesh using METIS. More... | |
Functions/Subroutines | |
subroutine | amesh_edges (self) |
Identify global edges and link to points and cells. | |
subroutine | amesh_interactions (self) |
Index point to point, point to edge and edge to edge interactions. | |
subroutine | amesh_to_cell (self) |
Locate point, edge, face and cell neighbor cells. | |
subroutine | bmesh_areas (self, fn) |
Compute cell and vertex volumes, rectifying negative volume cells. | |
subroutine | bmesh_boundary (self) |
Locate and index boundary points, edges, faces and cells. | |
subroutine | bmesh_local_init (self, parent, sync_normals) |
Driver for grid construction. | |
subroutine | bmesh_neighbors (self) |
Locate point, edge, face and cell neighbor cells. | |
subroutine | mesh_boundary (self) |
Locate and index boundary points, edges, faces and cells. | |
subroutine | mesh_faces (self) |
Identify global faces and link to points, edges and cells. | |
subroutine | mesh_local_init (self) |
Driver for grid construction. | |
subroutine | mesh_local_partition (self, tloc_p, tloc_e, tloc_f, tloc_c, nparts) |
Perform local mesh decomposition (METIS) | |
subroutine | mesh_neighbors (self) |
Locate point, edge, face and cell neighbor cells. | |
subroutine | mesh_volumes (self) |
Compute cell and vertex volumes, rectifying negative volume cells. | |
subroutine | sync_face_normals (self) |
Compute cell and vertex volumes, rectifying negative volume cells. | |
subroutine amesh_edges | ( | class(oft_amesh), intent(inout) | self | ) |
Identify global edges and link to points and cells.
[in,out] | self | Mesh object |
subroutine amesh_interactions | ( | class(oft_amesh), intent(inout) | self | ) |
Index point to point, point to edge and edge to edge interactions.
[in,out] | self | Mesh object |
subroutine amesh_to_cell | ( | class(oft_amesh), intent(inout) | self | ) |
Locate point, edge, face and cell neighbor cells.
[in,out] | self | Mesh object |
subroutine bmesh_areas | ( | class(oft_bmesh), intent(inout) | self, |
real(r8), dimension(:,:), intent(in), optional | fn | ||
) |
Compute cell and vertex volumes, rectifying negative volume cells.
Zero volume cells or vertices are also caught for mesh validation.
[in,out] | self | Mesh object |
[in] | fn | Unit normal directions for orientation matching [3,nc] |
subroutine bmesh_boundary | ( | class(oft_bmesh), intent(inout) | self | ) |
Locate and index boundary points, edges, faces and cells.
[in,out] | self | Mesh object |
subroutine bmesh_local_init | ( | class(oft_bmesh), intent(inout) | self, |
class(oft_mesh), intent(in), optional | parent, | ||
logical, intent(in), optional | sync_normals | ||
) |
Driver for grid construction.
[in,out] | self | Mesh object |
[in] | parent | Parent volume mesh (if present) |
[in] | sync_normals | Sync unit normal directions between faces? |
subroutine bmesh_neighbors | ( | class(oft_bmesh), intent(inout) | self | ) |
Locate point, edge, face and cell neighbor cells.
[in,out] | self | Mesh object |
subroutine mesh_boundary | ( | class(oft_mesh), intent(inout) | self | ) |
Locate and index boundary points, edges, faces and cells.
[in,out] | self | Mesh object |
subroutine mesh_faces | ( | class(oft_mesh), intent(inout) | self | ) |
Identify global faces and link to points, edges and cells.
[in,out] | self | Mesh object |
subroutine mesh_local_init | ( | class(oft_mesh), intent(inout) | self | ) |
Driver for grid construction.
[in,out] | self | Mesh object |
subroutine mesh_local_partition | ( | class(oft_mesh), intent(inout) | self, |
type(oft_1d_int), dimension(:), intent(inout) | tloc_p, | ||
type(oft_1d_int), dimension(:), intent(inout) | tloc_e, | ||
type(oft_1d_int), dimension(:), intent(inout) | tloc_f, | ||
type(oft_1d_int), dimension(:), intent(inout) | tloc_c, | ||
integer(i4), intent(in) | nparts | ||
) |
Perform local mesh decomposition (METIS)
[in,out] | self | Mesh to partition |
[in,out] | tloc_p | Point partitioning [selfnp] |
[in,out] | tloc_e | Edge partitioning [selfne] |
[in,out] | tloc_f | Face partitioning [selfnf] |
[in,out] | tloc_c | Cell partitioning [selfnc] |
[in] | nparts | Number of partitions |
subroutine mesh_neighbors | ( | class(oft_mesh), intent(inout) | self | ) |
Locate point, edge, face and cell neighbor cells.
[in,out] | self | Mesh object |
subroutine mesh_volumes | ( | class(oft_mesh), intent(inout) | self | ) |
Compute cell and vertex volumes, rectifying negative volume cells.
Zero volume cells or vertices are also caught for mesh validation.
[in,out] | self | Mesh object |
subroutine sync_face_normals | ( | class(oft_bmesh), intent(inout) | self | ) |
Compute cell and vertex volumes, rectifying negative volume cells.
Zero volume cells or vertices are also caught for mesh validation.
[in,out] | self | Mesh object |