classify_boundaries Subroutine

public subroutine classify_boundaries(bc_x, bc_y, bc_z, periodic, bc_code, bcs_global)

Parse the BC strings of the three directions. A direction is periodic only if both ends are 'periodic'. bc_code is the FFT_BC_* class of the resulting periodicity, or FFT_BC_UNSUPPORTED. Shared by mesh_init and callers with only BC strings (no mesh_t, e.g. static memory estimation).

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: bc_x(2)
character(len=*), intent(in) :: bc_y(2)
character(len=*), intent(in) :: bc_z(2)
logical, intent(out) :: periodic(3)
integer, intent(out) :: bc_code
integer, intent(out), optional :: bcs_global(3,2)

Calls

proc~~classify_boundaries~~CallsGraph proc~classify_boundaries m_mesh::classify_boundaries proc~abort_run m_logger::abort_run proc~classify_boundaries->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~~classify_boundaries~~CalledByGraph proc~classify_boundaries m_mesh::classify_boundaries proc~classify_bc m_memcheck_context::classify_bc proc~classify_bc->proc~classify_boundaries proc~mesh_init m_mesh::mesh_init proc~mesh_init->proc~classify_boundaries interface~mesh_t m_mesh::mesh_t interface~mesh_t->proc~mesh_init program~x3d2_memcheck x3d2_memcheck program~x3d2_memcheck->proc~classify_bc