MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / addValidParOptions

Function addValidParOptions

src/Pstream/mpi/UPstream.C:51–59  ·  view source on GitHub ↗

NOTE: valid parallel options vary between implementations, but flag common ones. if they are not removed by MPI_Init(), the subsequent argument processing will notice that they are wrong

Source from the content-addressed store, hash-verified

49// if they are not removed by MPI_Init(), the subsequent argument processing
50// will notice that they are wrong
51void Foam::UPstream::addValidParOptions(HashTable<string>& validParOptions)
52{
53 validParOptions.insert("np", "");
54 validParOptions.insert("p4pg", "PI file");
55 validParOptions.insert("p4wd", "directory");
56 validParOptions.insert("p4amslave", "");
57 validParOptions.insert("p4yourname", "hostname");
58 validParOptions.insert("machinefile", "machine file");
59}
60
61
62bool Foam::UPstream::init(int& argc, char**& argv)

Callers 1

argList.CFile · 0.50

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected