STYLE: use fileOperation nProcs() instead of setNProcs()
This commit is contained in:
parent
5284bc3019
commit
a34262966b
@ -551,7 +551,7 @@ int main(int argc, char *argv[])
|
||||
);
|
||||
|
||||
// Give file handler a chance to determine the output directory
|
||||
const_cast<fileOperation&>(fileHandler()).setNProcs(nDomains);
|
||||
const_cast<fileOperation&>(fileHandler()).nProcs(nDomains);
|
||||
|
||||
if (decomposeFieldsOnly)
|
||||
{
|
||||
|
@ -230,7 +230,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
// Warn fileHandler of number of processors
|
||||
const_cast<fileOperation&>(fileHandler()).setNProcs(nProcs);
|
||||
const_cast<fileOperation&>(fileHandler()).nProcs(nProcs);
|
||||
|
||||
// Create the processor databases
|
||||
PtrList<Time> databases(nProcs);
|
||||
|
Loading…
Reference in New Issue
Block a user