MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / needs_dof_transformations

Method needs_dof_transformations

python/dolfinx/fem/element.py:264–277  ·  view source on GitHub ↗

Check if DOF transformations are needed for this element. DOF transformations will be needed for elements which might not be continuous when two neighbouring cells disagree on the orientation of a shared sub-entity, and when this cannot be corrected for by permuting

(self)

Source from the content-addressed store, hash-verified

262
263 @property
264 def needs_dof_transformations(self) -> bool:
265 """Check if DOF transformations are needed for this element.
266
267 DOF transformations will be needed for elements which might not be
268 continuous when two neighbouring cells disagree on the orientation
269 of a shared sub-entity, and when this cannot be corrected for by
270 permuting the DOF numbering in the dofmap.
271
272 For example, Raviart-Thomas elements will need DOF transformations,
273 as the neighbouring cells may disagree on the orientation of a
274 basis function, and this orientation cannot be corrected for by
275 permuting the DOF numbers on each cell.
276 """
277 return self._cpp_object.needs_dof_transformations
278
279 @property
280 def signature(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected