39 Pout<<
"coordinateSystem::New(const word&, const dictionary&) : "
40 <<
"constructing coordinateSystem"
45 word coordType(typeName_());
49 || coordType == typeName_()
50 || coordType ==
"cartesian"
56 dictionaryConstructorTable::iterator cstrIter =
57 dictionaryConstructorTablePtr_->find(coordType);
59 if (cstrIter == dictionaryConstructorTablePtr_->end())
63 "coordinateSystem::New(const word&, const dictionary&)",
65 ) <<
"Unknown coordinateSystem type " << coordType <<
nl <<
nl
66 <<
"Valid coordinateSystem types are :" <<
nl
67 <<
"[default: " << typeName_() <<
"]"
68 << dictionaryConstructorTablePtr_->sortedToc()
78 const word& coordType,
86 Pout<<
"coordinateSystem::New(const word&, const word&, "
87 <<
"const point&, const coordinateRotation&) : "
88 "constructing coordinateSystem"
92 origRotationConstructorTable::iterator cstrIter =
93 origRotationConstructorTablePtr_->find(coordType);
95 if (cstrIter == origRotationConstructorTablePtr_->end())
99 "coordinateSystem::New(const word&, const word&, "
100 "const point&, const coordinateRotation&) : "
101 "constructing coordinateSystem"
102 ) <<
"Unknown coordinateSystem type " << coordType <<
nl <<
nl
103 <<
"Valid coordinateSystem types are :" <<
nl
104 << origRotationConstructorTablePtr_->sortedToc()
120 return New(name, dict);