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

Method __ne__

python/dolfinx/fem/function.py:816–818  ·  view source on GitHub ↗

Comparison for inequality.

(self, other)

Source from the content-addressed store, hash-verified

814 return super().__eq__(other) and self._cpp_object == other._cpp_object
815
816 def __ne__(self, other):
817 """Comparison for inequality."""
818 return super().__ne__(other) or self._cpp_object != other._cpp_object
819
820 def ufl_function_space(self) -> ufl.FunctionSpace:
821 """UFL function space."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected