Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AMReX-Codes/amrex
/ __cmp__
Method
__cmp__
Tools/Postprocessing/python/parseparticles.py:122–123 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
120
return
self.t
121
122
def
__cmp__(self, other):
123
return
cmp(self.value(), other.value())
124
125
126
Callers
nothing calls this directly
Calls
1
value
Method · 0.95
Tested by
no test coverage detected