61 #ifndef coordinateSystem_H 62 #define coordinateSystem_H 81 class coordinateSystem;
83 bool operator!=(
const coordinateSystem&,
const coordinateSystem&);
84 Ostream&
operator<<(Ostream&,
const coordinateSystem&);
254 const string&
note()
const 284 R_->updateCells(mesh, cells);
310 virtual void clear();
385 friend bool operator!=
Base class for other coordinate system specifications.
TypeName("coordinateSystem")
Runtime type information.
Abstract base class for coordinate rotation.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void writeDict(Ostream &, bool subDict=true) const
Write dictionary.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
vector globalVector(const vector &local) const
Convert from vector components in local coordinate system to.
virtual void write(Ostream &) const
Write.
autoPtr< coordinateSystem > clone() const
Return clone.
point globalPosition(const point &local) const
Convert from position in local coordinate system to global.
virtual ~coordinateSystem()
Destructor.
declareRunTimeSelectionTable(autoPtr, coordinateSystem, dictionary,(const objectRegistry &obr, const dictionary &dict),(obr, dict))
const coordinateRotation & R() const
Return const reference to co-ordinate rotation.
virtual void clear()
Reset origin and rotation to an identity coordinateSystem.
coordinateSystem()
Construct null. This is equivalent to an identity coordinateSystem.
string & note()
Return non-constant access to the optional note.
virtual vector globalToLocal(const vector &, bool translate) const
Convert from global Cartesian system to the local coordinate system.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const word & name() const
Return name.
virtual vector localToGlobal(const vector &, bool translate) const
Convert from local coordinate system to the global Cartesian system.
static autoPtr< coordinateSystem > New(const objectRegistry &obr, const dictionary &dict)
Select constructed from dictionary and objectRegistry.
void rename(const word &newName)
Rename.
Ostream & operator<<(Ostream &, const ensightPart &)
vector localVector(const vector &global) const
Convert from global Cartesian vector to components in local.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
point localPosition(const point &global) const
Convert from global Cartesian position to position in local.
A class for managing temporary objects.
Registry of regIOobjects.
friend Ostream & operator<<(Ostream &, const coordinateSystem &)
bool operator!=(const particle &, const particle &)
const point & origin() const
Return origin.
void init(const dictionary &)
Init from dict and obr.
virtual dictionary dict(bool ignoreType=false) const
Return as dictionary of entries.