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);
178 os <<
type() <<
" origin: " << origin() <<
nl;
194 os <<
indent <<
"coordinateRotation" <<
nl
212 origin_ = cs.origin_;
222 os.
check(
"Ostream& operator<<(Ostream&, const coordinateSystem&");
Macros for easy insertion into run-time selection tables.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component,...
A coordinate rotation specified using global axis.
Abstract base class for coordinate rotation.
Base class for other coordinate system specifications.
coordinateSystem(const word &name, const point &origin)
Construct from origin.
virtual void write(Ostream &) const
Write.
void operator=(const coordinateSystem &)
Assignment operator.
virtual vector globalToLocal(const vector &, bool translate) const
Convert from global Cartesian system to the local coordinate system.
virtual ~coordinateSystem()
Destructor.
virtual vector localToGlobal(const vector &, bool translate) const
Convert from local coordinate system to the global Cartesian system.
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
A class for handling words, derived from string.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
static const Identity< scalar > I
Ostream & incrIndent(Ostream &os)
Increment the indent level.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
defineTypeNameAndDebug(combustionModel, 0)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
Ostream & indent(Ostream &os)
Indent stream.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.