set_parameters_penalisation Interface

interface
public module subroutine set_parameters_penalisation(self, dphi, filename, pen_method_in, penfuns_type_in, hermite_order_in, charfun_parwidth_in, charfun_radlimwidth_in, dirindfun_parwidth_in, dphi_max_in, charfun_at_target_in, max_step_size_in, rho_min_in)

Arguments

Type IntentOptional Attributes Name
class(penalisation_t), intent(inout) :: self

Instance of the type

real(kind=GP), intent(in) :: dphi

Toroidal grid distance

character(len=*), intent(in), optional :: filename

Filename where parameter are read from

integer, intent(in), optional :: pen_method_in

Method of penalisation

integer, intent(in), optional :: penfuns_type_in

Type of penalisation function

integer, intent(in), optional :: hermite_order_in

Order of Hermite polynomial used as penalisation function

real(kind=GP), intent(in), optional :: charfun_parwidth_in

Parallel decay length of characteristic penalisation function

real(kind=GP), intent(in), optional :: charfun_radlimwidth_in

Radial decay length (only for limiter geometry)

real(kind=GP), intent(in), optional :: dirindfun_parwidth_in

Parallel decay length of direction indicator function

real(kind=GP), intent(in), optional :: dphi_max_in

Parallel decay length of direction indicator function

real(kind=GP), intent(in), optional :: charfun_at_target_in

Contourvalue of characteristic function at location of target plate

real(kind=GP), intent(in), optional :: max_step_size_in

Maximum step size for the tracing

real(kind=GP), intent(in), optional :: rho_min_in

For the build VIA_STABLE_TRACE: grid points that have smaller rho values than this, all penalization functions are automatically zero

Description

Sets parameters for penalisation, either via namelist from file, or setting explicitly