#include "MAPL_Generic.h" submodule (mapl3g_OuterMetaComponent) run_children_smod use mapl3g_GriddedComponentDriverMap implicit none contains module recursive subroutine run_children_(this, unusable, phase_name, rc) class(OuterMetaComponent), target, intent(inout) :: this class(KE), optional, intent(in) :: unusable character(len=*), optional, intent(in) :: phase_name integer, optional, intent(out) :: rc integer :: status type(GriddedComponentDriverMapIterator) :: iter associate(e => this%children%ftn_end()) iter = this%children%ftn_begin() do while (iter /= e) call iter%next() call this%run_child(iter%first(), phase_name=phase_name, _RC) end do end associate _RETURN(_SUCCESS) _UNUSED_DUMMY(unusable) end subroutine run_children_ end submodule run_children_smod