ENH: Updated xxx::zero->Zero

This commit is contained in:
Andrew Heather
2016-04-28 14:17:06 +01:00
parent af14c117a9
commit 158a925235
35 changed files with 148 additions and 172 deletions

View File

@ -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),

View File

@ -99,7 +99,7 @@ Foam::cylindrical::cylindrical
)
:
Rptr_(),
origin_(point::zero),
origin_(Zero),
e3_(Zero)
{
// If origin is specified in the coordinateSystem

View File

@ -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);

View File

@ -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)
{

View File

@ -57,7 +57,7 @@ Foam::searchableRotatedBox::searchableRotatedBox
io.writeOpt(),
false //io.registerObject(),
),
treeBoundBox(point::zero, dict.lookup("span"))
treeBoundBox(Zero, dict.lookup("span"))
),
transform_
(

View File

@ -70,7 +70,7 @@ class tetOverlapVolume
inline sumMomentOp()
:
vol_(0.0, vector::zero)
vol_(0.0, Zero)
{}
inline void operator()(const tetPoints& tet)