mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated xxx::zero->Zero
This commit is contained in:
@ -490,7 +490,7 @@ Foam::cyclicAMIPolyPatch::cyclicAMIPolyPatch
|
||||
nbrPatchName_(word::null),
|
||||
nbrPatchID_(-1),
|
||||
rotationAxis_(Zero),
|
||||
rotationCentre_(point::zero),
|
||||
rotationCentre_(Zero),
|
||||
rotationAngleDefined_(false),
|
||||
rotationAngle_(0.0),
|
||||
separationVector_(Zero),
|
||||
@ -521,7 +521,7 @@ Foam::cyclicAMIPolyPatch::cyclicAMIPolyPatch
|
||||
coupleGroup_(dict),
|
||||
nbrPatchID_(-1),
|
||||
rotationAxis_(Zero),
|
||||
rotationCentre_(point::zero),
|
||||
rotationCentre_(Zero),
|
||||
rotationAngleDefined_(false),
|
||||
rotationAngle_(0.0),
|
||||
separationVector_(Zero),
|
||||
|
||||
@ -99,7 +99,7 @@ Foam::cylindrical::cylindrical
|
||||
)
|
||||
:
|
||||
Rptr_(),
|
||||
origin_(point::zero),
|
||||
origin_(Zero),
|
||||
e3_(Zero)
|
||||
{
|
||||
// If origin is specified in the coordinateSystem
|
||||
|
||||
@ -43,7 +43,7 @@ Foam::coordinateSystem::coordinateSystem()
|
||||
:
|
||||
name_(),
|
||||
note_(),
|
||||
origin_(point::zero),
|
||||
origin_(Zero),
|
||||
R_(new axesRotation(sphericalTensor::I))
|
||||
{}
|
||||
|
||||
@ -98,7 +98,7 @@ Foam::coordinateSystem::coordinateSystem
|
||||
:
|
||||
name_(name),
|
||||
note_(),
|
||||
origin_(point::zero),
|
||||
origin_(Zero),
|
||||
R_()
|
||||
{
|
||||
init(dict);
|
||||
@ -109,7 +109,7 @@ Foam::coordinateSystem::coordinateSystem(const dictionary& dict)
|
||||
:
|
||||
name_(),
|
||||
note_(),
|
||||
origin_(point::zero),
|
||||
origin_(Zero),
|
||||
R_()
|
||||
{
|
||||
init(dict);
|
||||
@ -124,7 +124,7 @@ Foam::coordinateSystem::coordinateSystem
|
||||
:
|
||||
name_(),
|
||||
note_(),
|
||||
origin_(point::zero),
|
||||
origin_(Zero),
|
||||
R_()
|
||||
{
|
||||
const entry* entryPtr = dict.lookupEntryPtr(typeName_(), false, false);
|
||||
@ -168,7 +168,7 @@ Foam::coordinateSystem::coordinateSystem(Istream& is)
|
||||
:
|
||||
name_(is),
|
||||
note_(),
|
||||
origin_(point::zero),
|
||||
origin_(Zero),
|
||||
R_()
|
||||
{
|
||||
dictionary dict(is);
|
||||
|
||||
@ -100,7 +100,7 @@ void Foam::searchableCone::findNearestAndNormal
|
||||
scalar magV = mag(v);
|
||||
if (magV < ROOTVSMALL)
|
||||
{
|
||||
v = vector::zero;
|
||||
v = Zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1045,7 +1045,7 @@ void Foam::searchableCone::getNormal
|
||||
) const
|
||||
{
|
||||
normal.setSize(info.size());
|
||||
normal = vector::zero;
|
||||
normal = Zero;
|
||||
|
||||
forAll(info, i)
|
||||
{
|
||||
|
||||
@ -57,7 +57,7 @@ Foam::searchableRotatedBox::searchableRotatedBox
|
||||
io.writeOpt(),
|
||||
false //io.registerObject(),
|
||||
),
|
||||
treeBoundBox(point::zero, dict.lookup("span"))
|
||||
treeBoundBox(Zero, dict.lookup("span"))
|
||||
),
|
||||
transform_
|
||||
(
|
||||
|
||||
@ -70,7 +70,7 @@ class tetOverlapVolume
|
||||
|
||||
inline sumMomentOp()
|
||||
:
|
||||
vol_(0.0, vector::zero)
|
||||
vol_(0.0, Zero)
|
||||
{}
|
||||
|
||||
inline void operator()(const tetPoints& tet)
|
||||
|
||||
Reference in New Issue
Block a user