tem_pmlLayer_module Module

This module gathers information for the PML damping functions.



Derived Types

type, public ::  tem_pmlLayer_type

This type contains datas to define PML layer.

Components

Type Visibility Attributes Name Initial
real(kind=rk), public :: plane_origin(3)

Plane origin

real(kind=rk), public :: plane_normal(3)

Plane normal

real(kind=rk), public :: dampFactor

Damp factor for the Layer

integer, public :: dampExponent

Damping exponent for the layer


Functions

public function tem_evaluate_pml(me, ncomp, coord, n) result(res)

Calculate damping functions times normal and derivatives times normal for the PML evaluation.

Arguments

Type IntentOptional Attributes Name
type(tem_pmlLayer_type) :: me

Spacetime function to evaluate

integer, intent(in) :: ncomp

Number of entrys in each array

real(kind=rk), intent(in) :: coord(n,3)

barycentric Ids of an elements. 1st index goes over number of elements and 2nd index goes over x,y,z coordinates

integer, intent(in) :: n

Number of arrays to return

Return Value real(kind=rk), (n,ncomp)

return value


Subroutines

public subroutine tem_load_pmlLayer(conf, thandle, me)

Load definition of the PML damping term.

Arguments

Type IntentOptional Attributes Name
type(flu_State) :: conf

lua state type

integer, intent(in) :: thandle

aotus parent handle

type(tem_pmlLayer_type), intent(out) :: me

Global pmlLayer data type