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

Method __eq__

python/dolfinx/fem/element.py:193–195  ·  view source on GitHub ↗

Check equality with another finite element.

(self, other)

Source from the content-addressed store, hash-verified

191 self._cpp_object = cpp_object
192
193 def __eq__(self, other):
194 """Check equality with another finite element."""
195 return self._cpp_object == other._cpp_object
196
197 @property
198 def dtype(self) -> np.dtype:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected