def get_flattened_index(self, name):
        raise NotImplementedError('get_flattened_index not implemented for VarTrees yet')  # FIXME


# register a flattener for Cases
StackContext takes a 'context factory' as a parameter, which is a callable
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/vartree.py/VariableTree.get_flattened_index--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/context_local.py/ContextLocal.__call__