mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -220,7 +220,7 @@ void Foam::forces::read(const dictionary& dict)
|
||||
void Foam::forces::makeFile()
|
||||
{
|
||||
// Create the forces file if not already created
|
||||
if (!forcesFilePtr_.valid())
|
||||
if (forcesFilePtr_.empty())
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
|
||||
@ -93,7 +93,7 @@ void Foam::minMaxFields::read(const dictionary& dict)
|
||||
void Foam::minMaxFields::makeFile()
|
||||
{
|
||||
// Create the minMaxFields file if not already created
|
||||
if (!minMaxFieldsFilePtr_.valid())
|
||||
if (minMaxFieldsFilePtr_.empty())
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user