Skip to content
Snippets Groups Projects
Commit 2b650961 authored by Ben Sepanski's avatar Ben Sepanski
Browse files

Merge branch 'firedrakeConnection-functional' of...

Merge branch 'firedrakeConnection-functional' of gitlab.tiker.net:ben_sepanski/meshmode into firedrakeConnection-functional
parents d966b7c2 df53a818
No related branches found
No related tags found
1 merge request!91WIP: Firedrake connection-functional
interop Interoperability with Other Discretization Packages
======= ===================================================
Interfacing with data outside of :mod:`meshmode`. Functionality in this subpackage helps import and export data to/from other
pieces of software, typically PDE solvers.
Firedrake Firedrake
...@@ -30,7 +31,7 @@ Converting between :mod:`firedrake` and :mod:`meshmode` is in general ...@@ -30,7 +31,7 @@ Converting between :mod:`firedrake` and :mod:`meshmode` is in general
straightforward. Some language is different: straightforward. Some language is different:
* In a mesh, a :mod:`meshmode` "element" is a :mod:`firedrake` "cell" * In a mesh, a :mod:`meshmode` "element" is a :mod:`firedrake` "cell"
* A :mod:`meshmode` :class:`Discretization` is a :mod:`firedrake` * A :class:`meshmode.Discretization` is a :mod:`firedrake`
:class:`WithGeometry`, usually :class:`WithGeometry`, usually
created by calling the function :func:`firedrake.functionspace.FunctionSpace` created by calling the function :func:`firedrake.functionspace.FunctionSpace`
and referred to as a "function space" and referred to as a "function space"
......
...@@ -380,3 +380,5 @@ class ToFiredrakeConnection: ...@@ -380,3 +380,5 @@ class ToFiredrakeConnection:
""" """
# }}} # }}}
# vim: foldmethod=marker
...@@ -594,3 +594,5 @@ def export_mesh_to_firedrake(mesh, group_nr=None, comm=None): ...@@ -594,3 +594,5 @@ def export_mesh_to_firedrake(mesh, group_nr=None, comm=None):
return fd_mesh.Mesh(coords, reorder=False) return fd_mesh.Mesh(coords, reorder=False)
# }}} # }}}
# vim: foldmethod=marker
...@@ -136,3 +136,5 @@ def get_finat_element_unit_nodes(finat_element): ...@@ -136,3 +136,5 @@ def get_finat_element_unit_nodes(finat_element):
return unit_nodes return unit_nodes
# }}} # }}}
# vim: foldmethod=marker
...@@ -239,3 +239,5 @@ def test_vector_idempotency(ctx_factory, fdrake_mesh, ...@@ -239,3 +239,5 @@ def test_vector_idempotency(ctx_factory, fdrake_mesh,
check_idempotency(fdrake_connection, fdrake_unique) check_idempotency(fdrake_connection, fdrake_unique)
# }}} # }}}
# vim: foldmethod=marker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment