pot_penalisation Subroutine

public subroutine pot_penalisation(equi, mesh_cano, map, penalisation_cano, te, pot_pen_vals)

Sets the electrostatic potential penalisation values. The boundary condition BND_BRAGTYPE_FLOATING_POTENTIAL_LOCAL should always be combined with a zero-current boundary condition

Arguments

Type IntentOptional Attributes Name
class(equilibrium_t), intent(in) :: equi

Equilibrium

type(mesh_cart_t), intent(in) :: mesh_cano

Mesh (canonical)

type(parallel_map_t), intent(in) :: map

Parallel map

type(penalisation_t), intent(in) :: penalisation_cano

Penalisation (canonical)

type(variable_t), intent(in) :: te

Non-logarithmic electron temperature

real(kind=GP), intent(out), dimension(mesh_cano%get_n_points_inner()) :: pot_pen_vals

Penalisation values for the potential


Contents