Discretization

class grudge.discretization.DiscretizationCollection(array_context, mesh, order=None, discr_tag_to_group_factory=None, mpi_communicator=None, quad_tag_to_group_factory=None)[source]
__init__(array_context, mesh, order=None, discr_tag_to_group_factory=None, mpi_communicator=None, quad_tag_to_group_factory=None)[source]
Parameters

discr_tag_to_group_factory – A mapping from discretization tags (typically one of: grudge.dof_desc.DISCR_TAG_BASE, grudge.dof_desc.DISCR_TAG_MODAL, or grudge.dof_desc.DISCR_TAG_QUAD) to a ElementGroupFactory indicating with which type of discretization the operations are to be carried out, or None to indicate that operations with this discretization tag should be carried out with the standard volume discretization.

discr_from_dd(dd)[source]
connection_from_dds(from_dd, to_dd)[source]
dim
ambient_dim
mesh
empty(array_context, dtype=None)[source]
Parameters

array_context (meshmode.array_context.ArrayContext) –

zeros(array_context, dtype=None)[source]
Parameters

array_context (meshmode.array_context.ArrayContext) –