Skip to content

How can I identify if a mesh is periodic from the basis name? #4556

Answered by pazner
JustinPrivitera asked this question in Q&A
Discussion options

You must be logged in to vote

The algorithm that Tzanio describes sounds about right.

The meaning of the names is described here:

mfem/fem/fe_coll.hpp

Lines 128 to 129 in 17955e1

| L2_[DIM]_[ORDER] | L2 | * | 0 | VALUE | Discontinuous L2 elements |
| L2_T[BTYPE]_[DIM]_[ORDER] | L2 | * | 0 | VALUE | Discontinuous L2 elements |

If the space has the form L2_dD_Pp, then the space is $d$ dimensional with degree $p$ polynomials.

If the space has the form L2_Tt_dD_Pp, then it additionally uses basis type t, where the basis types are defined here:

mfem/fem/fe/fe_base.hpp

Lines 28 to 42 in 17955e1

enum
{
Invalid = -1,
GaussLegendre = 0, ///< Open type
GaussLobatto = 1, ///…

Replies: 4 comments 27 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
27 replies
@pazner
Comment options

@JustinPrivitera
Comment options

JustinPrivitera Oct 29, 2024
Collaborator Author

@JustinPrivitera
Comment options

JustinPrivitera Oct 29, 2024
Collaborator Author

@pazner
Comment options

Answer selected by JustinPrivitera
@JustinPrivitera
Comment options

JustinPrivitera Oct 30, 2024
Collaborator Author

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants