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

Method cmap

python/dolfinx/mesh.py:301–308  ·  view source on GitHub ↗

The coordinate map (deprecated, use ``cmaps[0]``).

(self)

Source from the content-addressed store, hash-verified

299
300 @property
301 def cmap(self) -> _CoordinateElement:
302 """The coordinate map (deprecated, use ``cmaps[0]``)."""
303 warnings.warn(
304 "cmap is deprecated. Use cmaps[0] instead.",
305 DeprecationWarning,
306 stacklevel=2,
307 )
308 return self.cmaps[0]
309
310 @property
311 def dim(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected