updates adios helper function to be consistent with global version ones; removes unused variables; checks for adios database setting in xdecompose_mesh