field_set_face Interface

interface
public subroutine field_set_face(self, f, c_start, c_end, face, bc_start, bc_end, flow_rate_diff)

Arguments

Type IntentOptional Attributes Name
class(base_backend_t) :: self
class(field_t), intent(inout) :: f
real(kind=dp), intent(in) :: c_start
real(kind=dp), intent(in) :: c_end
integer, intent(in) :: face
integer, intent(in), optional :: bc_start
integer, intent(in), optional :: bc_end
real(kind=dp), intent(in), optional :: flow_rate_diff

Description

A field is a subdomain with a rectangular cuboid shape. It has 6 faces, and these faces are either a subdomain boundary or a global domain boundary based on the location of the subdomain. This subroutine allows us to set any of these faces to a value, 'c_start' and 'c_end' for faces at opposite sides. 'face' is one of X_FACE, Y_FACE, Z_FACE from common.f90 Optionally, bc_start/bc_end select the BC type (default BC_DIRICHLET).