field_set_face_base Subroutine

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

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).

Type Bound

base_backend_t

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

Calls

proc~~field_set_face_base~~CallsGraph proc~field_set_face_base m_base_backend::base_backend_t%field_set_face_base proc~abort_run m_logger::abort_run proc~field_set_face_base->proc~abort_run interface~str m_logger::str proc~abort_run->interface~str mpi_abort mpi_abort proc~abort_run->mpi_abort mpi_barrier mpi_barrier proc~abort_run->mpi_barrier mpi_comm_rank mpi_comm_rank proc~abort_run->mpi_comm_rank mpi_comm_size mpi_comm_size proc~abort_run->mpi_comm_size mpi_finalized mpi_finalized proc~abort_run->mpi_finalized mpi_initialized mpi_initialized proc~abort_run->mpi_initialized

Called by

proc~~field_set_face_base~~CalledByGraph proc~field_set_face_base m_base_backend::base_backend_t%field_set_face_base proc~apply_bc_abl m_case_abl::case_abl_t%apply_BC_abl proc~apply_bc_abl->proc~field_set_face_base proc~precorrect_walls m_solver::solver_t%precorrect_walls proc~precorrect_walls->proc~field_set_face_base proc~substep m_base_case::base_case_t%substep proc~substep->proc~precorrect_walls proc~run m_base_case::base_case_t%run proc~run->proc~substep proc~run_build_mode m_memcheck_build::run_build_mode proc~run_build_mode->proc~substep program~x3d2_memcheck x3d2_memcheck program~x3d2_memcheck->proc~run_build_mode program~xcompact xcompact program~xcompact->proc~run