set_perpbnds Subroutine

public subroutine set_perpbnds(mesh, bnd_descrs, u, bnd_vals)

Sets non-homogeneous perpendicular boundary condition for some quantity u

Arguments

Type IntentOptional Attributes Name
type(mesh_cart_t), intent(in) :: mesh

Mesh

integer, intent(in), dimension(mesh%get_n_points_boundary()) :: bnd_descrs

Descriptors for boundary condition at individual boundary points

real(kind=FP), intent(inout), dimension(mesh%get_n_points()) :: u

Variable for which boundary conditions are set

real(kind=FP), intent(in), optional, dimension(mesh%get_n_points_boundary()) :: bnd_vals

Values (or normal gradient) for boundary condition, default homogeneous=0


Calls

proc~~set_perpbnds~~CallsGraph proc~set_perpbnds set_perpbnds interface~get_index_neighbor mesh_cart_t%get_index_neighbor proc~set_perpbnds->interface~get_index_neighbor interface~get_n_points_boundary mesh_cart_t%get_n_points_boundary proc~set_perpbnds->interface~get_n_points_boundary interface~get_spacing_c mesh_cart_t%get_spacing_c proc~set_perpbnds->interface~get_spacing_c interface~normal_to_boundary mesh_cart_t%normal_to_boundary proc~set_perpbnds->interface~normal_to_boundary proc~get_stderr get_stderr proc~set_perpbnds->proc~get_stderr