The Open FUSION Toolkit 1.0.0-8905cc5
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
Functions/Subroutines | Variables
trimesh_tessellation Module Reference

Detailed Description

Subroutines for nested tesselation of a triangular mesh.

Author
Chris Hansen
Date
Summer 2012

Functions/Subroutines

subroutine, public tessellate1 (self, rtmp, lctmp)
 Construct point and face lists for a single tessellation.
 
subroutine, public tessellate2 (self, rtmp, lctmp)
 Construct point and face lists for a 2 level tessellation.
 
subroutine, public tessellate3 (self, rtmp, lctmp)
 Construct point and face lists for a 3 level tessellation.
 
subroutine, public tessellate4 (self, rtmp, lctmp)
 Construct point and face lists for a 4 level tessellation.
 

Variables

integer(i4), dimension(3, 4), parameter tess2 =RESHAPE((/5,3,1,4,3,2,4,5,0,4,5,3/), (/3,4/))
 
integer(i4), dimension(3, 9), parameter tess3 =RESHAPE((/6,4,2,6,4,9,5,8,9,7,4,9,7,5,0,7,5,9,3,6, 9,3,8,1,3,8,9/), (/3,9/))
 
integer(i4), dimension(3, 16), parameter tess4 = RESHAPE((/4,7,12,9,6,12,9,4,12,9,4,2,14,5,8,14,7, 12,13,6,12,13,14,12,13,11,8,13,14,8,10,14,7,10,5,0,10,14,5,3,11,1,3,13,11,3,13,6/), (/3,16/))
 

Function/Subroutine Documentation

◆ tessellate1()

subroutine, public tessellate1 ( class(oft_bmesh), intent(in)  self,
real(r8), dimension(:,:), intent(out), pointer  rtmp,
integer(i4), dimension(:,:), intent(out), pointer  lctmp 
)

Construct point and face lists for a single tessellation.

This corresponds to the input triangulation with no refinement

  • np_tess = np
  • nc_tess = nc
    Parameters
    [in]selfMesh object
    [out]rtmpTessellated point list [3,np_tess]
    [out]lctmpTessellated cell list [4,nc_tess]

◆ tessellate2()

subroutine, public tessellate2 ( class(oft_bmesh), intent(in)  self,
real(r8), dimension(:,:), intent(out), pointer  rtmp,
integer(i4), dimension(:,:), intent(out), pointer  lctmp 
)

Construct point and face lists for a 2 level tessellation.

This corresponds to the input triangulation with no refinement

  • np_tess = np + ne
  • nc_tess = 4*nc
    Parameters
    [in]selfMesh object
    [out]rtmpTessellated point list [3,np_tess]
    [out]lctmpTessellated cell list [4,nc_tess]

◆ tessellate3()

subroutine, public tessellate3 ( class(oft_bmesh), intent(in)  self,
real(r8), dimension(:,:), intent(out), pointer  rtmp,
integer(i4), dimension(:,:), intent(out), pointer  lctmp 
)

Construct point and face lists for a 3 level tessellation.

This corresponds to the input triangulation with no refinement

  • np_tess = np + 2*ne + nc
  • nc_tess = 9*nc
    Parameters
    [in]selfMesh object
    [out]rtmpTessellated point list [3,np_tess]
    [out]lctmpTessellated cell list [4,nc_tess]

◆ tessellate4()

subroutine, public tessellate4 ( class(oft_bmesh), intent(in)  self,
real(r8), dimension(:,:), intent(out), pointer  rtmp,
integer(i4), dimension(:,:), intent(out), pointer  lctmp 
)

Construct point and face lists for a 4 level tessellation.

This corresponds to the input triangulation with no refinement

  • np_tess = np + 3*ne + 3*nc
  • nc_tess = 16*nc
    Parameters
    [in]selfMesh object
    [out]rtmpTessellated point list [3,np_tess]
    [out]lctmpTessellated cell list [4,nc_tess]

Variable Documentation

◆ tess2

integer(i4), dimension(3,4), parameter tess2 =RESHAPE((/5,3,1,4,3,2,4,5,0,4,5,3/), (/3,4/))
private

◆ tess3

integer(i4), dimension(3,9), parameter tess3 =RESHAPE((/6,4,2,6,4,9,5,8,9,7,4,9,7,5,0,7,5,9,3,6, 9,3,8,1,3,8,9/), (/3,9/))
private

◆ tess4

integer(i4), dimension(3,16), parameter tess4 = RESHAPE((/4,7,12,9,6,12,9,4,12,9,4,2,14,5,8,14,7, 12,13,6,12,13,14,12,13,11,8,13,14,8,10,14,7,10,5,0,10,14,5,3,11,1,3,13,11,3,13,6/), (/3,16/))
private