src/gbpAstro/gbpTrees/core/check_if_match_is_simple.c
int check_if_match_is_simple(tree_horizontal_info *target_halo, match_info *match) {
    int flag_valid = GBP_FALSE;
    if(match != NULL) {
        if(match->halo != NULL) {
            if(match->flag_two_way)
                flag_valid = GBP_TRUE;
        }
    }
    return (flag_valid);
}
// Note that the halo pointer in the match_info pointer sent to this
//   function must point to the halos matched FROM, not the target
//   halo matched TO.
Note that the halo pointer in the match_info pointer sent to this
function must point to the halos matched FROM, not the target
halo matched TO.
Note that the halo pointer in the match_info pointer sent to this function must point to the halos matched FROM not the target halo matched TO .
int check_if_match_is_simple(tree_horizontal_info *target_halo, match_info *match) {
    int flag_valid = GBP_FALSE;
    if(match != NULL) {
        if(match->halo != NULL) {
            if(match->flag_two_way)
                flag_valid = GBP_TRUE;
        }
    }
    return (flag_valid);
}
int check_if_match_is_simple ( tree_horizontal_info * target_halo , match_info * match ) { int flag_valid = GBP_FALSE ; if ( match != NULL ) { if ( match -> halo != NULL ) { if ( match -> flag_two_way ) flag_valid = GBP_TRUE ; } } return ( flag_valid ) ; }
Note that the halo pointer in the match_info pointer sent to this
function must point to the halos matched FROM, not the target
halo matched TO.
Note that the halo pointer in the match_info pointer sent to this function must point to the halos matched FROM not the target halo matched TO .