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

Detailed Description

Mesh handling for OFT native format, generated by python pre-processing scripts.

Author
Chris Hansen
Date
May 2023

Functions/Subroutines

subroutine native_bset_periodic (mesh)
 Needs docs.
 
subroutine native_finalize_setup
 Finalize setup/load-in of native mesh and destroy temporaries created for grid construction (eg. high-order input nodes, in-memory data)
 
subroutine native_hobase (self)
 Add quadratic mesh node points from high order import.
 
subroutine native_hobase_hex (self)
 Add quadratic mesh node points to a simplex mesh (Tet/Tri) from high order import.
 
subroutine native_hobase_quad (self)
 Add quadratic mesh node points to a simplex mesh (Tet/Tri) from high order import.
 
subroutine native_hobase_simplex (self)
 Add quadratic mesh node points to a simplex mesh (Tet/Tri) from high order import.
 
subroutine native_load_smesh (mg_mesh)
 Read in t3d mesh file from file "filename".
 
subroutine native_load_vmesh (mg_mesh)
 Read in t3d mesh file from file "filename".
 
subroutine native_read_nodesets (nsets, native_filename)
 Needs Docs.
 
subroutine native_read_sidesets (ssets, native_filename)
 Needs Docs.
 
subroutine native_reflect (self, tol)
 Reflect an native mesh across the xy-plane.
 
subroutine native_set_periodic (mesh)
 Needs docs.
 

Variables

character(len=oft_path_slen) filename = 'none'
 Name of input file for mesh.
 
integer(i4), dimension(:,:), allocatable, public lc_mem
 
integer(i4), dimension(:,:), allocatable le_ho
 
integer(i4), dimension(:,:), allocatable lf_ho
 
integer(i4), parameter, public mesh_native_id = 0
 
integer(i4np_ho = 0
 
integer(i4), dimension(:), allocatable per_nodes
 
real(r8), dimension(:,:), allocatable r_ho
 
real(r8), dimension(:,:), allocatable, public r_mem
 
integer(i4), dimension(:), allocatable, public reg_mem
 

Function/Subroutine Documentation

◆ native_bset_periodic()

subroutine native_bset_periodic ( class(oft_bmesh), intent(inout)  mesh)

Needs docs.

◆ native_finalize_setup()

subroutine native_finalize_setup

Finalize setup/load-in of native mesh and destroy temporaries created for grid construction (eg. high-order input nodes, in-memory data)

◆ native_hobase()

subroutine native_hobase ( class(oft_amesh), intent(inout)  self)

Add quadratic mesh node points from high order import.

◆ native_hobase_hex()

subroutine native_hobase_hex ( class(oft_mesh), intent(inout)  self)

Add quadratic mesh node points to a simplex mesh (Tet/Tri) from high order import.

◆ native_hobase_quad()

subroutine native_hobase_quad ( class(oft_bmesh), intent(inout)  self)

Add quadratic mesh node points to a simplex mesh (Tet/Tri) from high order import.

◆ native_hobase_simplex()

subroutine native_hobase_simplex ( class(oft_amesh), intent(inout)  self)

Add quadratic mesh node points to a simplex mesh (Tet/Tri) from high order import.

◆ native_load_smesh()

subroutine native_load_smesh ( type(multigrid_mesh), intent(inout)  mg_mesh)

Read in t3d mesh file from file "filename".

  • Read in T3D options from input file
  • Read in mesh points and cells
  • Read in surface IDs for CAD edges and faces

◆ native_load_vmesh()

subroutine native_load_vmesh ( type(multigrid_mesh), intent(inout)  mg_mesh)

Read in t3d mesh file from file "filename".

  • Read in T3D options from input file
  • Read in mesh points and cells
  • Read in surface IDs for CAD edges and faces

◆ native_read_nodesets()

subroutine native_read_nodesets ( type(oft_1d_int), dimension(:), intent(inout), pointer  nsets,
character(len=*), intent(in), optional  native_filename 
)

Needs Docs.

◆ native_read_sidesets()

subroutine native_read_sidesets ( type(oft_1d_int), dimension(:), intent(inout), pointer  ssets,
character(len=*), intent(in), optional  native_filename 
)

Needs Docs.

◆ native_reflect()

subroutine native_reflect ( class(oft_amesh), intent(inout)  self,
real(r8), intent(in)  tol 
)

Reflect an native mesh across the xy-plane.

Parameters
[in,out]selfMesh to reflect
[in]toltol Tolerance for marking point as on the reflection plane

◆ native_set_periodic()

subroutine native_set_periodic ( class(oft_mesh), intent(inout)  mesh)

Needs docs.

Variable Documentation

◆ filename

character(len=oft_path_slen) filename = 'none'

Name of input file for mesh.

◆ lc_mem

integer(i4), dimension(:,:), allocatable, public lc_mem

◆ le_ho

integer(i4), dimension(:,:), allocatable le_ho

◆ lf_ho

integer(i4), dimension(:,:), allocatable lf_ho

◆ mesh_native_id

integer(i4), parameter, public mesh_native_id = 0

◆ np_ho

integer(i4) np_ho = 0

◆ per_nodes

integer(i4), dimension(:), allocatable per_nodes

◆ r_ho

real(r8), dimension(:,:), allocatable r_ho

◆ r_mem

real(r8), dimension(:,:), allocatable, public r_mem

◆ reg_mem

integer(i4), dimension(:), allocatable, public reg_mem