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
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Mesh1D), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | leftbc | |||
integer, | intent(in) | :: | rightbc |
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