tem_spongeLayer_box_type Derived Type

type, public, extends(spongeLayer_base_type) :: tem_spongeLayer_box_type

This type contains data to define spongeLayer box


Inherits

type~~tem_spongelayer_box_type~~InheritsGraph type~tem_spongelayer_box_type tem_spongeLayer_box_type type~spongelayer_base_type spongeLayer_base_type type~tem_spongelayer_box_type->type~spongelayer_base_type

Inherited by

type~~tem_spongelayer_box_type~~InheritedByGraph type~tem_spongelayer_box_type tem_spongeLayer_box_type type~tem_spatial_type tem_spatial_type type~tem_spatial_type->type~tem_spongelayer_box_type spongeBox type~tem_ini_condition_type tem_ini_condition_type type~tem_ini_condition_type->type~tem_spatial_type ini_state type~tem_spacetime_fun_type tem_spacetime_fun_type type~tem_spacetime_fun_type->type~tem_spatial_type spatial type~tem_st_fun_listelem_type tem_st_fun_listElem_type type~tem_st_fun_listelem_type->type~tem_spacetime_fun_type val type~tem_st_fun_listelem_type->type~tem_st_fun_listelem_type next type~tem_variable_type tem_variable_type type~tem_variable_type->type~tem_spacetime_fun_type st_fun type~tem_st_fun_linkedlist_type tem_st_fun_linkedList_type type~tem_st_fun_linkedlist_type->type~tem_st_fun_listelem_type head

Contents


Components

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

Thickness of the sponge layer. For planar sponge thickness is defined implicitly in place_normal

real(kind=rk), public :: dampFactor

Damp factor or strength for the sponge Layer

real(kind=rk), public :: dampExponent

damping exponent for the sponge layer

character(len=labelLen), public :: dampProfile

damping profile

real(kind=rk), public, allocatable :: targetState(:)

target states. For viscous sponge, viscosity is stored and multiplied with sponge strength

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

Box origin, bottom left corner of sponge layer

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

Length of box in each dimension

logical, public :: rounded_corner

To create sponge box with rounded corners

real(kind=rk), public :: corner_radius

Corner radius for rounded box


Source Code

  type, extends(spongeLayer_base_type) :: tem_spongeLayer_box_type
    !> Box origin, bottom left corner of sponge layer
    real(kind=rk) :: origin(3)
    !> Length of box in each dimension 
    real(kind=rk) :: extent(3)
    !> To create sponge box with rounded corners
    logical :: rounded_corner
    !> Corner radius for rounded box
    real(kind=rk) :: corner_radius
  end type tem_spongeLayer_box_type