FE-Project
Loading...
Searching...
No Matches
scale_localmesh_1d Module Reference

module FElib / Mesh / Local 1D More...

Data Types

type  localmesh1d
 Derived type representing a local mesh for 1D domain. More...

Functions/Subroutines

subroutine, public localmesh1d_init (this, lcdomid, refelem, myrank)
 Initialize an object to manage a local mesh for 1D domain.
subroutine, public localmesh1d_final (this, is_generated)
 Finalize an object to manage a local mesh for 1D domain.

Detailed Description

module FElib / Mesh / Local 1D

Description
Module to manage 1D local mesh for element-based methods
Author
Yuta Kawai, Team SCALE

Function/Subroutine Documentation

◆ localmesh1d_init()

subroutine, public scale_localmesh_1d::localmesh1d_init ( type(localmesh1d), intent(inout) this,
integer, intent(in) lcdomid,
class(elementbase1d), intent(in), target refelem,
integer, intent(in), optional myrank )

Initialize an object to manage a local mesh for 1D domain.

Definition at line 56 of file scale_localmesh_1d.F90.

58
59 implicit none
60
61 type(LocalMesh1D), intent(inout) :: this
62 integer, intent(in) :: lcdomID
63 class(ElementBase1D), intent(in), target :: refElem
64 integer, intent(in), optional :: myrank
65 !-------------------------------------------------
66
67 this%refElem1D => refelem
68 call localmeshbase_init(this, lcdomid, refelem, 1, myrank)
69 !$acc enter data copyin(this)
70 return

References scale_localmesh_base::localmeshbase_init().

Referenced by scale_mesh_base1d::meshbase1d_init().

◆ localmesh1d_final()

subroutine, public scale_localmesh_1d::localmesh1d_final ( type(localmesh1d), intent(inout) this,
logical, intent(in) is_generated )

Finalize an object to manage a local mesh for 1D domain.

Definition at line 75 of file scale_localmesh_1d.F90.

76 implicit none
77
78 type(LocalMesh1D), intent(inout) :: this
79 logical, intent(in) :: is_generated
80 !-------------------------------------------------
81
82 call localmeshbase_final( this, is_generated )
83 !$acc exit data delete(this)
84 return

References scale_localmesh_base::localmeshbase_final().

Referenced by scale_mesh_base1d::meshbase1d_final().