|
The Open FUSION Toolkit 1.0.0-beta5
Modeling tools for plasma and fusion research and engineering
|
Mesh utility functions, entity location and mappings.
Utility functions.
Functions/Subroutines | |
| integer(i4) function | mesh_local_findedge (self, inds) |
| Find oriented edge connecting points i1 and i2. | |
| integer(i4) function | mesh_local_findface (self, inds) |
| Find oriented face with corner points i1, i2 and i3. | |
| subroutine | mesh_local_orient (self, cell) |
| Create mapping from local points to boundary points. | |
Variables | |
| integer(i4) | oriented_cell =-1 |
| integer(i4), dimension(:,:), allocatable | oriented_edges |
| integer(i4), dimension(:,:), allocatable | oriented_faces |
| integer(i4) function mesh_local_findedge | ( | class(oft_amesh), intent(in) | self, |
| integer(i4), dimension(2), intent(in) | inds | ||
| ) |
Find oriented edge connecting points i1 and i2.
Orientation is (+,-) if [imin,imax] is [i1,i2] or [i2,i1].
| [in] | self | Mesh to search |
| [in] | inds | Edge points (ordered) |
| integer(i4) function mesh_local_findface | ( | class(oft_mesh), intent(in) | self, |
| integer(i4), dimension(:), intent(in) | inds | ||
| ) |
Find oriented face with corner points i1, i2 and i3.
Orientation is (+,-) if [imin,imid,imax] is a (cyclic,anticyclic) permutation of [i1,i2,i3].
| [in] | self | Mesh to search |
| [in] | i1 | Face 1st point |
| [in] | i2 | Face 2nd point |
| [in] | i3 | Face 3rd point |
Create mapping from local points to boundary points.
| [in] | self | Mesh for mapping |
| [in,out] | a | Mapping array [np] |
| integer(i4) oriented_cell =-1 |
| integer(i4), dimension(:,:), allocatable oriented_edges |
| integer(i4), dimension(:,:), allocatable oriented_faces |