40 void Foam::coordinateRotation::calcTransform
44 const axisOrder& order
56 <<
"axis1, axis2 appear co-linear: "
57 << axis1 <<
", " << axis2 <<
endl
82 <<
"programmer error" <<
endl
110 calcTransform(axis, dir, e3e1);
133 Pout<<
"coordinateRotation::New(const dictionary&) : "
134 <<
"constructing coordinateRotation"
139 word rotType(typeName_());
143 if (rotType == typeName_() || rotType ==
"axes")
149 dictionaryConstructorTable::iterator cstrIter =
150 dictionaryConstructorTablePtr_->find(rotType);
152 if (cstrIter == dictionaryConstructorTablePtr_->end())
156 "coordinateRotation::New(const dictionary&)",
158 ) <<
"Unknown coordinateRotation type "
159 << rotType <<
nl <<
nl
160 <<
"Valid coordinateRotation types are :" <<
nl
161 <<
"[default: axes " << typeName_() <<
"]"
162 << dictionaryConstructorTablePtr_->sortedToc()
176 Pout<<
"coordinateRotation::operator=(const dictionary&) : "
177 <<
"assign from " << rhs <<
endl;
183 rhs.
found(typeName_())
189 axisOrder order(e3e1);
203 else if (dict.
found(
"axis") || dict.
found(
"direction"))
207 dict.
lookup(
"axis") >> axis1;
208 dict.
lookup(
"direction") >> axis2;
217 calcTransform(axis1, axis2, order);