mpiIdnListSet

Declaration
long mpiIdnListSet(MPIIdnList idnList,
                   long       idnCount,
                   MPIIdn     *idnArray) 
Required Header stdmpi.h
Description

IdnListSet creates a list (idnList) of idnCount Idn objects, using the Idn handles specified by idnArray.Any existing list is completely replaced.

The idnArray argument is the address of an array of idnCount Idn handles, or is NULL (if idnCount is equal to zero).

You can also create an IdnList incrementally (one Idn at a time), by using the mpiIdnListAppend(...) and/or mpiIdnListInsert(...) methods. To specify the initial Idn object of an IdnList, use the idn argument of mpiIdnListCreate(...). You can use any mpiIdnList method to examine and manipulate an IdnList, regardless of how the IdnList was created.

Return Values
MPIMessageOK if IdnListSet successfully creates the IdnList using the handles in idnArray
See Also mpiIdnListInsert | mpiIdnListAppend | mpiIdnListCreate | mpiIdnListGet