ResetBoundaryConditionType_Mesh1D Subroutine

public subroutine ResetBoundaryConditionType_Mesh1D(this, leftbc, rightbc)

This method can be used to reset all of the boundary elements boundary condition type to the desired value.

Note that ALL physical boundaries will be set to have this boundary condition

Arguments

TypeIntentOptionalAttributesName
class(Mesh1D), intent(inout) :: this
integer, intent(in) :: leftbc
integer, intent(in) :: rightbc

Contents


Source Code

  subroutine ResetBoundaryConditionType_Mesh1D(this,leftbc,rightbc)
    !! This method can be used to reset all of the boundary elements
    !! boundary condition type to the desired value.
    !!
    !! Note that ALL physical boundaries will be set to have this boundary
    !! condition
    implicit none
    class(Mesh1D),intent(inout) :: this
    integer,intent(in) ::leftbc,rightbc

    this%bcid(1) = leftbc
    this%bcid(2) = rightbc

  endsubroutine ResetBoundaryConditionType_Mesh1D