87 origin_(dict.
lookup(
"origin")),
116 return (R_->transform(local)) + origin_;
120 return R_->transform(local);
133 return (R_->transform(local)) + origin_;
137 return R_->transform(local);
150 return R_->invTransform(global - origin_);
154 return R_->invTransform(global);
167 return R_->invTransform(global - origin_);
171 return R_->invTransform(global);
194 os <<
indent <<
"coordinateRotation" <<
nl 212 origin_ = cs.origin_;
222 os.
check(
"Ostream& operator<<(Ostream&, const coordinateSystem&");
virtual autoPtr< coordinateRotation > clone() const =0
Construct and return a clone.
Base class for other coordinate system specifications.
Abstract base class for coordinate rotation.
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const point & origin() const
Return origin.
virtual ~coordinateSystem()
Destructor.
virtual vector localToGlobal(const vector &, bool translate) const
Convert from local coordinate system to the global Cartesian system.
Macros for easy insertion into run-time selection tables.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
static autoPtr< coordinateRotation > New(const dictionary &dict, const UList< vector > &points)
Select constructed from dictionary and list of points.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual vector globalToLocal(const vector &, bool translate) const
Convert from global Cartesian system to the local coordinate system.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Ostream & operator<<(Ostream &, const ensightPart &)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
coordinateSystem(const word &name, const point &origin)
Construct from origin.
A coordinate rotation specified using global axis.
A class for managing temporary objects.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
virtual void write(Ostream &) const
Write.
static const SphericalTensor I
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
void operator=(const coordinateSystem &)
Assignment operator.