Skip to content
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

NURBSMeshRules::Finalize(Mesh const& mesh) only work on 3D #4293

Open
kaipengliuHIT opened this issue May 9, 2024 · 1 comment
Open

NURBSMeshRules::Finalize(Mesh const& mesh) only work on 3D #4293

kaipengliuHIT opened this issue May 9, 2024 · 1 comment
Assignees
Labels

Comments

@kaipengliuHIT
Copy link

maybe patchRule->Finalize(mesh); in the NURBS example only works on 3D mesh

@dylan-copeland
Copy link
Member

dylan-copeland commented May 11, 2024

Hello @kaipengliuHIT, the example nurbs_patch_ex1.cpp currently works only in 3D. The sample runs use the 3D mesh data/beam-hex-nurbs.mesh. There is an error message in DiffusionIntegrator::AssemblePatchMatrix_reducedQuadrature if the dimension is not 3.

This example demonstrates patch-based integration rules, as opposed to the usual element-based integration used in MFEM. There are computational savings with patch-based integration, more so in 3D than 2D. This is why 3D is the main target for this example. With some further implementation, a 2D example could be supported, and it should be straightforward to do so by following the 3D example.

For more background and comments on this example, see the merged PR 3088.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants