forked from inducer/modepy
-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor shapes #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alexfikl
merged 28 commits into
alexfikl:tensor-face-mass-matrix
from
inducer:refactor-shapes
Dec 2, 2020
Merged
Changes from 13 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
59198d8
Deprecate current dimension-independent basis getters
inducer cf11d52
resampling_matrix: Impove count mismatch error message
inducer cd750b8
Refactor towards improved shape-based interface
inducer 560a027
Refactor face information retrieval and face mass matrix computation
inducer 598145f
Avoid log(0) warnings in test_basis_grad
inducer 73e8d56
Reverse vertex/node order for hypercubes
inducer f6c5755
Export face query functionality in root namespace
inducer e7b8269
Add redundant @singledispatch.register arguments for Py3.6
inducer c15c453
Fix doc references
inducer a15fcfa
Fix quadrature_for_shape docstring
inducer 8ffc3d4
Eliminate references to (removed) get_node_tuples
inducer 9061bcc
Fix zerod_basis
inducer bceb113
Remove spurious import from modepy.nodes
inducer 299b32f
Remove an extraneous import
inducer c75d799
Make new section for submeshes
inducer 92e3e83
Doc suggestions for refactor-shapes from review by @alexfikl
inducer 5e3550a
Cast volume_vertex_indices to tuple in _SimplexFace
inducer 22ae991
Remove whitespace: placate flake8
inducer 7f4e1a1
Generalize TensorProductBasis for nD inhomogeneity
inducer 347027b
Make TensorProductBasis public in root module
inducer c872de9
Do not claim that Face subclasses Shape
inducer 676d38a
Fix TensorProductBasis facepalm
inducer 9a282c0
Introduce function spaces as first-class objects
inducer 6bf5735
Move submesh functionality into shapes
inducer 62524e2
Quadrature, notes: require space *and* shape arguments
inducer 7f5ec1e
Drop a special case in node_tuples_for_space:Simplex
inducer b1f5de4
Bring back _for_space names for quadrature, nodes
inducer 4917e62
Deprecate tools.unit_vertices, fix biunit_vertices_for_shape for simplex
inducer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,39 +1,4 @@ | ||
| Interpolation Nodes | ||
| =================== | ||
|
|
||
| Simplices | ||
| ^^^^^^^^^ | ||
|
|
||
| Transformations between coordinate systems | ||
| ------------------------------------------ | ||
|
|
||
| .. currentmodule:: modepy.tools | ||
|
|
||
| All of these expect and return arrays of shape *(dims, npts)*. | ||
|
|
||
| .. autofunction:: equilateral_to_unit | ||
| .. autofunction:: barycentric_to_unit | ||
| .. autofunction:: unit_to_barycentric | ||
| .. autofunction:: barycentric_to_equilateral | ||
|
|
||
| Node sets for interpolation | ||
| --------------------------- | ||
|
|
||
| .. currentmodule:: modepy | ||
|
|
||
| .. autofunction:: equidistant_nodes | ||
| .. autofunction:: warp_and_blend_nodes | ||
|
|
||
| Also see :class:`modepy.VioreanuRokhlinSimplexQuadrature` if nodes on the | ||
| boundary are not required. | ||
|
|
||
| Hypercubes | ||
| ^^^^^^^^^^ | ||
|
|
||
| Node sets for interpolation | ||
| --------------------------- | ||
|
|
||
| .. currentmodule:: modepy | ||
|
|
||
| .. autofunction:: tensor_product_nodes | ||
| .. autofunction:: legendre_gauss_lobatto_tensor_product_nodes | ||
| .. automodule:: modepy.nodes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.