FE-Project
Loading...
Searching...
No Matches
Data Types | Functions/Subroutines
scale_element_line Module Reference

module FElib / Element / line More...

Data Types

type  lineelement
 

Functions/Subroutines

subroutine lineelement_init (elem, elemorder, lumpedmassmatflag)
 

Detailed Description

module FElib / Element / line

Description
A module for a line finite element
Author
Yuta Kawai, Team SCALE

Function/Subroutine Documentation

◆ lineelement_init()

subroutine scale_element_line::lineelement_init ( class(lineelement), intent(inout) elem,
integer, intent(in) elemorder,
logical, intent(in) lumpedmassmatflag )

Definition at line 39 of file scale_element_line.F90.

42
43 implicit none
44
45 class(LineElement), intent(inout) :: elem
46 integer, intent(in) :: elemOrder
47 logical, intent(in) :: LumpedMassMatFlag
48
49 !-----------------------------------------------------------------------------
50
51 elem%PolyOrder = elemorder
52 elem%Nv = 2
53 elem%Np = elemorder + 1
54 elem%Nfp = 1
55 elem%Nfaces = 2
56 elem%NfpTot = elem%Nfp*elem%Nfaces
57
58 call elementbase1d_init(elem, lumpedmassmatflag)
59 call construct_element(elem)
60
61 return

References scale_element_base::elementbase1d_final(), scale_element_base::elementbase1d_init(), scale_element_base::elementbase_construct_liftmat(), scale_element_base::elementbase_construct_massmat(), scale_element_base::elementbase_construct_stiffmat(), scale_linalgebra::linalgebra_inv(), scale_polynominal::polynominal_gendlagrangepoly_lglpt(), scale_polynominal::polynominal_gendlegendrepoly(), scale_polynominal::polynominal_gengausslegendrept(), scale_polynominal::polynominal_gengausslegendreptintweight(), scale_polynominal::polynominal_gengausslobattopt(), scale_polynominal::polynominal_gengausslobattoptintweight(), scale_polynominal::polynominal_genlagrangepoly(), and scale_polynominal::polynominal_genlegendrepoly().