dolfinx_mpc icon indicating copy to clipboard operation
dolfinx_mpc copied to clipboard

Extension for dolfinx to handle multi-point constraints.

Results 14 dolfinx_mpc issues
Sort by recently updated
recently updated
newest added

CI started failing May 17th: ```bash coverage run --rcfile=.coveragerc python/demos/demo_contact_3D.py --gmsh --theta 0 --timing ``` which has coefficients equal to inf. Setting theta to be small (0.000001) resolves it.

Also add some additional create_connectivity(tdim, tdim) calls prior to midpoint computations

Hello, As raised in [this post](https://fenicsproject.discourse.group/t/periodic-boundary-condition-with-dg-and-mpc/12957/6), `dolfinx_mpc` can not be used with DG discretization because "dS integrals are not implemented as part of the integration kernels" ([link to the code](https://github.com/jorgensd/dolfinx_mpc/blob/main/cpp/assemble_matrix.cpp#L608-L626))....

enhancement

Hi I'm trying to compile MPC for a Mac M1 with dolfinx 0.7.0. It seems like I'm getting a few issues with the compilation. The first issue is the following:...

```python import dolfinx import dolfinx_mpc from dolfinx.fem import FunctionSpace, Function, Constant, assemble_scalar, form from dolfinx.mesh import locate_entities_boundary, meshtags from ufl import grad, div, inner, Measure, TrialFunctions, TestFunctions, FiniteElement, VectorElement import...

Hi, I was trying to use dolfinx to implement periodic boundary conditions and came across the dolfinx_mpc package. However, when I try to run the demo_periodic3d_topological.py example, I run into...

Follow progress of: https://gitlab.com/petsc/petsc/-/issues/1367 as 3.20 broke mypy

Can nedelec elements be used with Dolfinx MPC with perfectly matched meshes? How to do this?

Ref: https://github.com/FEniCS/dolfinx/blob/e952664b086f6c7e7662c53ec54e8d774b101de4/cpp/dolfinx/fem/DofMap.cpp#L134-L173 One could then restrict the adjacency-list after creation. Would reduce the amount of extra code in the library. Should be profiled.

enhancement

# Motivation Another feature request motivated by wave propagation: to compute a band structure for periodic media, we prescribe the wavevector $k$ through the Bloch boundary conditions, which are applied...