Create a coordinate map element. Note: This initialiser is for internal use and not normally called in user code. Use :func:`coordinate_element` to create a CoordinateElement. Args: cmap: A C++ CoordinateElement.
(
self, cmap: _cpp.fem.CoordinateElement_float32 | _cpp.fem.CoordinateElement_float64
)
| 23 | _cpp_object: _cpp.fem.CoordinateElement_float32 | _cpp.fem.CoordinateElement_float64 |
| 24 | |
| 25 | def __init__( |
| 26 | self, cmap: _cpp.fem.CoordinateElement_float32 | _cpp.fem.CoordinateElement_float64 |
| 27 | ): |
| 28 | """Create a coordinate map element. |
| 29 | |
| 30 | Note: |
| 31 | This initialiser is for internal use and not normally called |
| 32 | in user code. Use :func:`coordinate_element` to create a |
| 33 | CoordinateElement. |
| 34 | |
| 35 | Args: |
| 36 | cmap: A C++ CoordinateElement. |
| 37 | """ |
| 38 | assert isinstance( |
| 39 | cmap, _cpp.fem.CoordinateElement_float32 | _cpp.fem.CoordinateElement_float64 |
| 40 | ) |
| 41 | self._cpp_object = cmap |
| 42 | |
| 43 | @property |
| 44 | def dtype(self) -> np.dtype: |
nothing calls this directly
no outgoing calls
no test coverage detected