diff --git a/src/meshTools/coordinateSystems/coordinateRotation/EulerCoordinateRotation.H b/src/meshTools/coordinateSystems/coordinateRotation/EulerCoordinateRotation.H index 362c846fe..0b24b4abc 100644 --- a/src/meshTools/coordinateSystems/coordinateRotation/EulerCoordinateRotation.H +++ b/src/meshTools/coordinateSystems/coordinateRotation/EulerCoordinateRotation.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -148,22 +148,22 @@ public: return Rtr_; }; - //- Return local Cartesian x-axis + //- Return local Cartesian x-axis in global coordinates virtual const vector e1() const { - return R_.x(); + return Rtr_.x(); } - //- Return local Cartesian y-axis + //- Return local Cartesian y-axis in global coordinates virtual const vector e2() const { - return R_.y(); + return Rtr_.y(); } - //- Return local Cartesian z-axis + //- Return local Cartesian z-axis in global coordinates virtual const vector e3() const { - return R_.z(); + return Rtr_.z(); } //- Return transformation tensor field diff --git a/src/meshTools/coordinateSystems/coordinateRotation/STARCDCoordinateRotation.H b/src/meshTools/coordinateSystems/coordinateRotation/STARCDCoordinateRotation.H index 1b73f71ee..e50de6322 100644 --- a/src/meshTools/coordinateSystems/coordinateRotation/STARCDCoordinateRotation.H +++ b/src/meshTools/coordinateSystems/coordinateRotation/STARCDCoordinateRotation.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -144,22 +144,22 @@ public: return Rtr_; }; - //- Return local Cartesian x-axis + //- Return local Cartesian x-axis in global coordinates virtual const vector e1() const { - return R_.x(); + return Rtr_.x(); } - //- Return local Cartesian y-axis + //- Return local Cartesian y-axis in global coordinates virtual const vector e2() const { - return R_.y(); + return Rtr_.y(); } - //- Return local Cartesian z-axis + //- Return local Cartesian z-axis in global coordinates virtual const vector e3() const { - return R_.z(); + return Rtr_.z(); } //- Return transformation tensor field diff --git a/src/meshTools/coordinateSystems/coordinateRotation/axesRotation.H b/src/meshTools/coordinateSystems/coordinateRotation/axesRotation.H index 937f28c04..1254a474d 100644 --- a/src/meshTools/coordinateSystems/coordinateRotation/axesRotation.H +++ b/src/meshTools/coordinateSystems/coordinateRotation/axesRotation.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -150,22 +150,22 @@ public: return Rtr_; } - //- Return local Cartesian x-axis + //- Return local Cartesian x-axis in global coordinates virtual const vector e1() const { - return R_.x(); + return Rtr_.x(); } - //- Return local Cartesian y-axis + //- Return local Cartesian y-axis in global coordinates virtual const vector e2() const { - return R_.y(); + return Rtr_.y(); } - //- Return local Cartesian z-axis + //- Return local Cartesian z-axis in global coordinates virtual const vector e3() const { - return R_.z(); + return Rtr_.z(); } //- Return transformation tensor field diff --git a/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.H b/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.H index 50e0450b2..8c571ff4a 100644 --- a/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.H +++ b/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -154,21 +154,21 @@ public: return tensor::zero; } - //- Return local Cartesian x-axis + //- Return local Cartesian x-axis in global coordinates virtual const vector e1() const { NotImplemented; return vector::zero; } - //- Return local Cartesian y-axis + //- Return local Cartesian y-axis in global coordinates virtual const vector e2() const { NotImplemented; return vector::zero; } - //- Return local Cartesian z-axis + //- Return local Cartesian z-axis in global coordinates virtual const vector e3() const { return e3_;