The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
quadmesh_type.F90 File Reference
#include "local.h"

Data Types

type  oft_quadmesh
 Quadralateral surface mesh type. More...

Modules

module  oft_quadmesh_type
 Quadralateral boundary mesh definitions.

Functions/Subroutines

subroutine, public quad_2d_grid (order, xnodes, inodesp, inodese, inodesf)
 Needs docs.
pure real(r8) function, dimension(4) quad_get_bary (flog)
 Map from orthogonal logical coordinates to barycentric logical coordinates.
subroutine, public quad_grid_orient (oflag, order, finds)
 Needs docs.
subroutine quad_grid_orient_inv (oflag, order, finds)
 Needs docs.
real(r8) function, dimension(3) quadmesh_glogphys (self, cell, j, f)
 Compute the partial derivative of the physical coordinates with a specific logical coordinate.
subroutine quadmesh_hessian (self, cell, f, g2op, k)
 Compute the spatial hessian matrices for a given cell at a given logical position.
integer(i4) function quadmesh_in_cell (self, f, tol)
 Test if logical position lies within the base cell.
subroutine quadmesh_invert_face (self, cell)
 Turn cell "inside out", used to ensure consistent orientations.
subroutine quadmesh_jacinv (a, c, j)
 Invert a 2x2 matrix.
subroutine quadmesh_jacobian (self, cell, f, gop, j)
 Compute the spatial jacobian matrix and its determinant for a given cell at a given logical position.
subroutine quadmesh_load (self, filename, ascii)
 Load trimesh from transfer file.
real(r8) function, dimension(3) quadmesh_log2phys (self, cell, f)
 Map from logical to physical coordinates in a given cell.
subroutine quadmesh_norm (self, cell, f, n)
 Get unit normal for surface at a given point in a given cell.
subroutine quadmesh_phys2log (self, cell, pt, f)
 Map from physical to logical coordinates in a given cell.
subroutine quadmesh_quad_rule (self, order, quad_rule)
 Retrieve suitable quadrature rule for triangular mesh with given order.
subroutine quadmesh_save (self, filename, ascii)
 Save trimesh from transfer file.
subroutine quadmesh_set_order (self, order)
 Set maximum order of spatial mapping.
subroutine quadmesh_setup (self, cad_type, has_parent)
 Setup mesh with implementation specifics (cell_np, cell_ne, etc.).
subroutine quadmesh_tang (self, cell, f, t)
 Get tangent basis set for surface at a given point in a given cell.
subroutine quadmesh_tessellate (self, rtmp, lctmp, order)
 Tessellate mesh onto lagrange FE nodes of specified order (usually for plotting).
integer(i4) function, dimension(2) quadmesh_tessellated_sizes (self)
 Get sizes of arrays returned by trimesh_tessellate.
subroutine quadmesh_vlog (self, i, f)
 Get position in logical space of cell vertex i.

Variables

integer(i4), dimension(2, 4), parameter inodes1p = RESHAPE((/ 1,1, 2,1, 2,2, 1,2/), (/2,4/))
integer(i4), dimension(2, 4), parameter inodes2e = RESHAPE((/ 2,1, 3,2, 2,3, 1,2/), (/2,4/))
integer(i4), dimension(2), parameter inodes2f = (/2,2/)
integer(i4), dimension(2, 4), parameter inodes2p = RESHAPE((/ 1,1, 3,1, 3,3, 1,3/), (/2,4/))
integer(i4), dimension(2, 4), parameter inodesp_base = RESHAPE((/ 0,0, 1,0, 1,1, 0,1/), (/2,4/))
integer(i4), dimension(4), parameter quad_bary_map = [-2,1,2,-1]
integer(i4), dimension(2, 4), parameter quad_ed =RESHAPE((/1,2, 2,3, 3,4, 4,1/), (/2,4/))
 Quad edge list.