Go to the documentation of this file.
60 modelType == coordinateSystem::typeName_()
61 || modelType == coordSystem::cartesian::typeName_()
81 const auto finder =
dict.csearchCompat
83 "rotation", {{
"coordinateRotation", -1806}},
91 else if (finder.good() && (finder->stream().peek().isWord(
"none")))
98 spec_.reset(
new coordinateRotations::axes(
dict));
119 spec_(new coordinateRotations::
identity()),
141 spec_(csys.spec_.clone()),
142 origin_(csys.origin_),
151 spec_(std::move(csys.spec_)),
152 origin_(std::move(csys.origin_)),
153 rot_(std::move(csys.rot_)),
154 name_(std::move(csys.name_)),
155 note_(std::move(csys.note_))
180 const coordinateSystem& csys
183 spec_(csys.spec_.clone()),
184 origin_(csys.origin_),
235 spec_(new coordinateRotations::axes(axis, dirn)),
306 return rotationsImpl(global);
315 return rotationsImpl(global);
321 const point& localCart
399 spec_.reset(std::move(crot));
424 os <<
"origin: " << origin_ <<
' ';
436 const bool subDict = !keyword.empty();
472 origin_ = csys.origin_;
477 rotation(csys.spec_.clone());
489 name_ = std::move(csys.
name_);
491 spec_ = std::move(csys.
spec_);
517 || a.origin() !=
b.origin()
static autoPtr< coordinateRotation > New(const dictionary &dict)
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
static bool isCartesian(const word &modelType)
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
static constexpr const zero Zero
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
const word dictName("faMeshDefinition")
void operator=(const coordinateSystem &csys)
static coordinateSystem dummy_
virtual Ostream & beginBlock(const keyType &kw)
A coordinateRotation specified using global axes.
dimensionSet transform(const dimensionSet &ds)
virtual Ostream & write(const char c)
virtual const coordinateRotation & rotation() const
Field< vector > vectorField
Specialisation of Field<T> for vector.
bool operator!=(const eddy &a, const eddy &b)
virtual const point & origin() const
Ostream & operator<<(Ostream &, const boundaryPatch &p)
#define R(A, B, C, D, E, F, K, M)
const dimensionedScalar b
Generic templated field type.
User specification of a coordinate rotation.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
virtual tensor R() const =0
virtual Ostream & endBlock()
virtual bool check(const char *operation) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual bool write(const token &tok)=0
autoPtr< coordinateRotation > spec_
virtual vector globalToLocal(const vector &global, bool translate) const
Vector< scalar > vector
A scalar version of the templated Vector.
An identity coordinateRotation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
fileName::Type type(const fileName &name, const bool followLink=true)
void assign(const dictionary &dict)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
labelList identity(const label len, label start=0)
dimensionSet invTransform(const dimensionSet &ds)
Ostream & writeEntry(const keyType &key, const T &value)
virtual void write(Ostream &os) const
word name(const expressions::valueTypeCode typeCode)
virtual vector localToGlobal(const vector &local, bool translate) const
A List with indirect addressing.
void assign(Field< Tout > &result, const Field< T1 > &a, const UnaryOp &op)
point invTransformPoint(const point &global) const
virtual autoPtr< coordinateRotation > clone() const =0
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
point transformPoint(const point &localCart) const
virtual void writeEntry(const word &keyword, Ostream &os) const
static const Identity< scalar > I
static const SphericalTensor I
Base class for coordinate system specification, the default coordinate system type is cartesian .
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
virtual const tensor & R() const