mpi4py.MPI.Info¶
- class mpi4py.MPI.Info(info=None)¶
Bases:
objectInfo object
Methods Summary
Create()Create a new, empty info object
Delete(key)Remove a (key, value) pair from info
Dup()Duplicate an existing info object, creating a new object, with the same (key, value) pairs and the same ordering of keys
Free()Free a info object
Get(key[, maxlen])Retrieve the value associated with a key
Return the number of currently defined keys in info
Get_nthkey(n)Return the nth defined key in info.
Set(key, value)Add the (key, value) pair to info, and overrides the value if a value for the same key was previously set
clear()info clear
copy()info copy
f2py(arg)get(key[, default])info get
items()info items
keys()info keys
pop(key, *default)info pop
popitem()info popitem
py2f()update([other])info update
values()info values
Methods Documentation
- Dup()¶
Duplicate an existing info object, creating a new object, with the same (key, value) pairs and the same ordering of keys
- Return type
- Get(key, maxlen=- 1)¶
Retrieve the value associated with a key
- Get_nthkey(n)¶
Return the nth defined key in info. Keys are numbered in the range [0, N) where N is the value returned by
Info.Get_nkeys()
- Set(key, value)¶
Add the (key, value) pair to info, and overrides the value if a value for the same key was previously set
- get(key, default=None)¶
info get
- update(other=(), **kwds)¶
info update