143 if (entryPtr && !entryPtr->
isDict())
146 entryPtr->
stream() >> csName;
150 label csId = csLst.
find(csName);
153 Info<<
"coordinateSystem::coordinateSystem"
154 "(const dictionary&, const objectRegistry&):"
155 <<
nl <<
"using global coordinate system: "
156 << csName <<
"=" << csId <<
endl;
163 "coordinateSystem::coordinateSystem"
164 "(const dictionary&, const objectRegistry&)"
165 ) <<
"could not find coordinate system: " << csName <<
nl
166 <<
"available coordinate systems: " << csLst.
toc() <<
nl <<
nl
172 operator=(csLst[csId]);
207 dict.
add(
"name", name_);
210 if (!ignoreType &&
type() != typeName_())
218 dict.
add(
"note", note_);
221 dict.
add(
"origin", origin_);
222 dict.
add(
"e1", e1());
223 dict.
add(
"e3", e3());
237 return (R_ & local) + origin_;
254 return (R_ & local) + origin_;
271 return (Rtr_ & (global - origin_));
275 return (Rtr_ & global);
288 return (Rtr_ & (global - origin_));
292 return (Rtr_ & global);
300 <<
" origin: " << origin() <<
" e1: " << e1() <<
" e3: " << e3();
313 if (
type() != typeName_())
340 Pout<<
"coordinateSystem::operator=(const dictionary&) : "
341 <<
"assign from " << rhs <<
endl;
347 rhs.
found(typeName_())
361 if (dict.
found(
"coordinateRotation"))
379 return (a.
origin() != b.
origin() || a.
R() != b.
R() || a.type() != b.type());
388 os.
check(
"Ostream& operator<<(Ostream&, const coordinateSystem&");