mirrorset_polyperpbnd_points Subroutine

public subroutine mirrorset_polyperpbnd_points(equi, mesh, polygon, conn, u, co, iseg)

Sets points of field u on boundary-polygon to the value of its connected inner points, according to connectivity matrix conn.

Arguments

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

Equilibrium

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

Mesh

type(polygon_in_mesh_t), intent(in) :: polygon

Polygon

type(csrmat_t), intent(in) :: conn

Connectivity matrix

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

Field

real(kind=GP), intent(in), optional, dimension(mesh%get_n_points()) :: co

Coefficient

integer, intent(in), optional :: iseg

Segment for which miroring is applied. By default it is applied to all segments.


Contents