mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: additional construct/assignment methods for complex (#1247)
- construct/assign from Zero
This commit is contained in:
committed by
Andrew Heather
parent
a33f1787b7
commit
a1999bc92c
@ -51,7 +51,6 @@ complexVector UOprocess::WeinerProcess()
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
// from components
|
||||
UOprocess::UOprocess
|
||||
(
|
||||
const Kmesh& kmesh,
|
||||
@ -85,12 +84,7 @@ UOprocess::UOprocess
|
||||
}
|
||||
else
|
||||
{
|
||||
UOfield[i] = complexVector
|
||||
(
|
||||
complex(0, 0),
|
||||
complex(0, 0),
|
||||
complex(0, 0)
|
||||
);
|
||||
UOfield[i] = complexVector::zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user