Commit 6644f834 authored by Henry Weller's avatar Henry Weller
Browse files

coordinateSystems/coordinateRotation: Corrected e1, e2 and e3 and updated documentation

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1982
parent a3815ee2
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment