pymor.discretizers.builtin.domaindiscretizers.default

Module Contents

pymor.discretizers.builtin.domaindiscretizers.default.discretize_domain_default(domain_description, diameter=1 / 100, grid_type=None)[source]

Mesh a DomainDescription using an appropriate default implementation.

This method can discretize the following DomainDescriptions:

Parameters

domain_description

A DomainDescription of the domain to mesh.

diameter

Maximal diameter of the codim-0 entities of the generated Grid.

grid_type

The class of the Grid which is to be constructed. If None, a default choice is made according to the table above.

Returns

grid

The generated Grid.

boundary_info

The generated BoundaryInfo.