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

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1982
This commit is contained in:
Henry Weller
2016-01-29 09:56:59 +00:00
parent e647249666
commit d84325d5af
4 changed files with 25 additions and 25 deletions

View File

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

View File

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

View File

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

View File

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