Go to the documentation of this file.
64 #ifndef coordinateSystem_H
65 #define coordinateSystem_H
249 const string&
note()
const
305 virtual void clear();
380 friend bool operator!=
point globalPosition(const point &local) const
Convert from position in local coordinate system to global.
vectorField pointField
pointField is a vectorField.
string note_
Optional note.
vector localVector(const vector &global) const
Convert from global Cartesian vector to components in local.
point & origin()
Edit access to origin.
A class for handling words, derived from string.
virtual void clear()
Reset origin and rotation to an identity coordinateSystem.
A class for managing temporary objects.
void rename(const word &newName)
Rename.
const point & origin() const
Return origin.
autoPtr< coordinateSystem > clone() const
Return clone.
virtual vector globalToLocal(const vector &, bool translate) const
Convert from global Cartesian system to the local coordinate system.
Mesh consisting of general polyhedral cells.
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
virtual vector localToGlobal(const vector &, bool translate) const
Convert from local coordinate system to the global Cartesian system.
Field< vector > vectorField
Specialisation of Field<T> for vector.
const string & note() const
Return the optional note.
Registry of regIOobjects.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Abstract base class for coordinate rotation.
vector globalVector(const vector &local) const
Convert from vector components in local coordinate system to.
virtual void write(Ostream &) const
Write.
friend Ostream & operator<<(Ostream &, const coordinateSystem &)
word name_
Name of coordinate system.
TypeName("coordinateSystem")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Vector< scalar > vector
A scalar version of the templated Vector.
virtual ~coordinateSystem()
Destructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
coordinateRotation & R()
Return non const reference to co-ordinate rotation.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
coordinateSystem()
Construct null. This is equivalent to an identity coordinateSystem.
string & note()
Return non-constant access to the optional note.
point localPosition(const point &global) const
Convert from global Cartesian position to position in local.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
vector point
Point is a vector.
virtual dictionary dict(bool ignoreType=false) const
Return as dictionary of entries.
autoPtr< coordinateRotation > R_
Local-to-Global transformation tensor.
void init(const dictionary &)
Init from dict and obr.
static autoPtr< coordinateSystem > New(const objectRegistry &obr, const dictionary &dict)
Select constructed from dictionary and objectRegistry.
const coordinateRotation & R() const
Return const reference to co-ordinate rotation.
Base class for other coordinate system specifications.
const word & name() const
Return name.
declareRunTimeSelectionTable(autoPtr, coordinateSystem, dictionary,(const objectRegistry &obr, const dictionary &dict),(obr, dict))