anuga.rectangular_cross_domain
- anuga.rectangular_cross_domain(*args, **kwargs)[source]
Create a rectangular domain.
The triangular mesh is made up of m by n uniform rectangular cells divided into 4 triangles in a cross pattern
- Parameters:
m (int) – Number of cells in x direction
n (int) – Number of cells in y direction
len1 (float, optional) – Length of domain in x direction (left to right) (default 1.0)
len2 (float, optional) – Length of domain in y direction (bottom to top) (default 1.0)
origin (tuple, optional) – Tuple (x, y) specifying location of lower left corner of domain (default (0, 0))
verbose (bool, optional) – Boolean flag to output information (default False)
- Returns:
Shallow water domain instance
- Return type: