# sfepy.discrete.parse_regions module

Grammar for selecting regions of a domain.

Regions serve for selection of certain parts of the computational domain represented as a finite element mesh. They are used to define the boundary conditions, the domains of terms and materials etc.

## Notes

History: pre-git versions already from from 13.06.2006.

sfepy.discrete.parse_regions.create_bnf(stack)

sfepy.discrete.parse_regions.join_tokens(str, loc, toks)

sfepy.discrete.parse_regions.print_leaf(level, op)

sfepy.discrete.parse_regions.print_op(level, op, item1, item2)

sfepy.discrete.parse_regions.print_stack(stack)

sfepy.discrete.parse_regions.replace(what, keep=False)

sfepy.discrete.parse_regions.replace_with_region(what, r_index)

sfepy.discrete.parse_regions.to_stack(stack)

sfepy.discrete.parse_regions.visit_stack(stack, op_visitor, leaf_visitor)