def extract_jpij(txtlst):
    """
    function to extract domain dimension
    for a specific domain layout txt output

    Input: list of string containing 1 layout description 
           extracted from the processor layout file

    Output: tuple (jpi, jpj)
    """
    ctmp = txtlst[4].split()
    jpi = int(ctmp[1])
    jpj = int(ctmp[3])
    return (jpi, jpj)