mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Fixing return types in localAxesRotation.C
This commit is contained in:
@ -117,7 +117,7 @@ Foam::vector Foam::localAxesRotation::transform(const vector& st) const
|
||||
"vector Foam::localAxesRotation:: "
|
||||
"transform(const vector& st) const"
|
||||
);
|
||||
return vector(vector::zero);
|
||||
return vector::zero;
|
||||
}
|
||||
|
||||
|
||||
@ -128,7 +128,7 @@ Foam::vector Foam::localAxesRotation::invTransform(const vector& st) const
|
||||
"vector Foam::localAxesRotation:: "
|
||||
"transform(const vector& st) const"
|
||||
);
|
||||
return vector(vector::zero);
|
||||
return vector::zero;
|
||||
}
|
||||
|
||||
|
||||
@ -185,7 +185,7 @@ Foam::tensor Foam::localAxesRotation::transformTensor
|
||||
(
|
||||
"tensor localAxesRotation::transformTensor() const"
|
||||
);
|
||||
return tensor(tensor::zero);
|
||||
return tensor::zero;
|
||||
}
|
||||
|
||||
|
||||
@ -250,7 +250,7 @@ Foam::symmTensor Foam::localAxesRotation::transformVector
|
||||
(
|
||||
"tensor localAxesRotation::transformVector(const vector&) const"
|
||||
);
|
||||
return symmTensor(symmTensor::zero);
|
||||
return symmTensor::zero;
|
||||
}
|
||||
|
||||
|
||||
@ -266,7 +266,7 @@ void Foam::localAxesRotation::init
|
||||
forAll(mesh.cellCentres(), cellI)
|
||||
{
|
||||
vector dir = mesh.cellCentres()[cellI] - origin_;
|
||||
dir /= mag(dir);
|
||||
dir /= mag(dir) + VSMALL;
|
||||
|
||||
Rptr_()[cellI] = axesRotation(e3_, dir).R();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user