MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / value

Method value

Tools/Postprocessing/python/parseparticles.py:115–120  ·  view source on GitHub ↗

return the value of a particleInstance for comparison purposes. The value is simply the time.

(self)

Source from the content-addressed store, hash-verified

113
114
115 def value(self):
116 """
117 return the value of a particleInstance for comparison
118 purposes. The value is simply the time.
119 """
120 return self.t
121
122 def __cmp__(self, other):
123 return cmp(self.value(), other.value())

Callers 10

__cmp__Method · 0.95
minAndMaxDistanceMethod · 0.45
testIntersectionFunction · 0.45
ParallelCopyFaceToFaceFunction · 0.45
mainFunction · 0.45
test_array4Function · 0.45
test_compFunction · 0.45
testFunction · 0.45
estTimeStepMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_array4Function · 0.36
test_compFunction · 0.36