10#include "scaleFElib.h"
65 refelem, nlocalmeshperprc, &
71 integer,
intent(in) :: neg
72 real(rp),
intent(in) :: dom_xmin
73 real(rp),
intent(in) :: dom_xmax
75 integer,
intent(in) :: nlocalmeshperprc
76 integer,
intent(in),
optional :: nproc
77 integer,
intent(in),
optional :: myrank
78 real(rp),
intent(in),
optional :: fx(neg+1)
84 refelem, nlocalmeshperprc, &
87 this%dom_vol = (this%xmax_gl - this%xmin_gl)
111 integer :: tileid_table(this%local_mesh_num, this%prc_num)
112 integer :: panelid_table(this%local_mesh_num*this%prc_num)
113 integer :: pi_table(this%local_mesh_num*this%prc_num)
126 tileid_table, panelid_table, &
131 do n=1, this%LOCAL_MESH_NUM
132 mesh => this%lcmesh_list(n)
133 tileid = tileid_table(n, mesh%PRC_myrank+1)
135 tileid, panelid_table(tileid), &
136 pi_table(tileid), this%Nprc, &
137 this%xmin_gl, this%xmax_gl, &
138 this%NeG / this%Nprc, this%FX(:) )
153 this%isGenerated = .true.
module FElib / Element / Base
module FElib / Element / line
module FElib / Mesh / Local 1D
module FElib / Mesh / Base 1D
subroutine, public meshbase1d_init(this, neg, dom_xmin, dom_xmax, refelem, nlocalmeshperprc, nprocs, myrank, fx)
Initialize an object to manage a 1D computational mesh.
subroutine, public meshbase1d_final(this)
Finalize an object to manage a 1D computational mesh.
subroutine, public meshbase1d_assigndomid(this, tileid_table, panelid_table, pi_table)
subroutine, public meshbase1d_setgeometricinfo(lcmesh)
subroutine, public meshbase1d_setuplocaldom(lcmesh, tileid, panelid, i, nprc, dom_xmin, dom_xmax, ne, fx)
module FElib / Mesh / 1D domain
subroutine, public meshlinedom1d_generate(this)
Generate meshes for the 1D domain.
subroutine, public meshlinedom1d_final(this)
Finalize an object to manage a 1D domain.
subroutine, public meshlinedom1d_init(this, neg, dom_xmin, dom_xmax, refelem, nlocalmeshperprc, nproc, myrank, fx)
Initialize an object to manage a 1D domain.
Derived type representing a 1D reference element.
Derived type representing a line element.
Derived type representing a local mesh for 1D domain.
Derived type to manage a computational mesh (base type for 1D domain)