params_diffusion_boundaries_parpen_m Module

Parameters for the DIFFUSION model related with parallel penalisation boundaries



Contents


Variables

Type Visibility Attributes Name Initial
integer, protected :: bnd_descr_par = BND_TYPE_DIRICHLET_ZERO

Descriptor for parallel boundary condition

real(kind=GP), protected :: bnd_val_par = 0.0_GP

Value that solution shall be damped to

real(kind=GP), protected :: epsinv = 0.0_GP

Strength of penalisation source (Inverse of epsilon)

logical, protected :: bnd_par_odd = .false.

Switch if boundaries are applied in odd or even signs


Subroutines

public subroutine read_params_boundaries_parpen(filename)

Reads parameters related with boundaries_parpen

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

Filename, to read boundary parameters

public subroutine write_params_boundaries_parpen(filename)

Writes parameters related with boundaries_parpen

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in), optional :: filename

If present, filename where params are written to, if not present, writes to screen