mpi4py.MPI.Info
- class mpi4py.MPI.Info
Bases:
object
Info object
Methods Summary
Create
()Create a new, empty info object
Create_env
([args])Create a new 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)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.
Get_string
(key)Retrieve the value associated with a key
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
- classmethod Create_env(args=None)
Create a new info object
- 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_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()
- Get_string(key)
Retrieve the value associated with a key
- 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