mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: redistributePar: fix global object headerOk. See !605
- mesh/parallel/cavity not yet working since zero-sized mesh not written on new processors.
This commit is contained in:
@ -110,7 +110,8 @@ using namespace Foam;
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
const int debug(::Foam::debug::debugSwitch("redistributePar", 0));
|
||||
// Use -verbose -verbose to switch on debug info. TBD.
|
||||
int debug(::Foam::debug::debugSwitch("redistributePar", 0));
|
||||
#define InfoOrPout (::debug ? Pout : Info())
|
||||
|
||||
|
||||
@ -1307,6 +1308,14 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (optVerbose)
|
||||
{
|
||||
if (optVerbose == 2)
|
||||
{
|
||||
WarningInFunction
|
||||
<< "-verbose -verbose switches on full debugging"
|
||||
<< nl << endl;
|
||||
::debug = 1;
|
||||
}
|
||||
|
||||
// Report on output
|
||||
faMeshDistributor::verbose_ = 1;
|
||||
parPointFieldDistributor::verbose_ = 1;
|
||||
|
||||
Reference in New Issue
Block a user