Go to the documentation of this file.
63 public coordinateSystem
89 return backend_->localToGlobal(local, translate);
100 return backend_->localToGlobal(local, translate);
111 return backend_->globalToLocal(global, translate);
122 return backend_->globalToLocal(global, translate);
168 virtual bool valid()
const
170 return backend_ && backend_->valid();
176 return backend_->uniform();
182 return backend_->rotation();
188 return backend_->name_;
192 virtual const string&
note()
const
194 return backend_->note();
200 return backend_->origin();
204 virtual const tensor&
R()
const
206 return backend_->R();
212 return backend_->e1();
218 return backend_->e2();
224 return backend_->e3();
280 return backend_->R(global);
286 return backend_->R(global);
292 return backend_->R(global);
virtual const vector e3() const
The local Cartesian z-axis in global coordinates.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual void writeEntry(const word &keyword, Ostream &os) const
Write dictionary entry.
virtual bool uniform() const
True if the rotation tensor is uniform for all positions.
virtual void rotation(autoPtr< coordinateRotation > &&crot)
Change the rotation (disallowed)
static coordinateSystem dummy_
Dummy coordinate system for suppressed manipulation.
virtual const tensor & R() const
Return const reference to the rotation tensor.
virtual void clear()
Clear (ignored)
virtual const coordinateRotation & rotation() const
The rotation specification.
virtual vector localToGlobal(const vector &local, bool translate) const
virtual point & origin()
Edit access to origin (disallowed)
Registry of regIOobjects.
void operator=(const coordinateSystem &csys)=delete
No copy assignment.
virtual const coordinateRotation & rotation() const
The rotation specification.
virtual const point & origin() const
Return origin.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual bool uniform() const
True if the rotation tensor is uniform for all locations.
virtual const vector e2() const
The local Cartesian y-axis in global coordinates.
User specification of a coordinate rotation.
virtual void write(Ostream &os) const
Write.
virtual bool valid() const
Considered valid if it has a specification.
virtual autoPtr< coordinateSystem > clone() const
Return clone.
word name_
The name of the coordinate system (optional)
virtual const vector e1() const
The local Cartesian x-axis in global coordinates.
string & note()
Provide non-constant access to the optional note.
void rename(const word &newName)
Rename (ignored)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual tmp< tensorField > R(const UList< point > &global) const
Position-dependent rotation tensors at multiple points.
virtual vector globalToLocal(const vector &global, bool translate) const
virtual bool valid() const
Is the coordinate system valid?
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual const vector e3() const
The local Cartesian z-axis in global coordinates.
coordinateSystem()
Default construct. This is an identity coordinate system.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual tmp< tensorField > R(const pointUIndList &global) const
Position-dependent rotation tensors at multiple points.
virtual const word & name() const
Return the name.
virtual vector localToGlobal(const vector &local, bool translate) const
A List with indirect addressing.
virtual const vector e1() const
The local Cartesian x-axis in global coordinates.
virtual const point & origin() const
Return origin.
virtual tensor R(const point &global) const
Position-dependent rotation tensor at a single point.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual const vector e2() const
The local Cartesian y-axis in global coordinates.
virtual const coordinateSystem & cs() const
Reference to the underlying coordinate system.
virtual const string & note() const
Return the optional note.
virtual vector globalToLocal(const vector &global, bool translate) const
virtual const string & note() const
Return the optional note.
virtual ~indirect()=default
Destructor.
A coordinate system forward to a global coordinate system that is normally provided by the constant/c...
Base class for coordinate system specification, the default coordinate system type is cartesian .
virtual const tensor & R() const
Return const reference to the rotation tensor.
TypeName("indirect")
Runtime type information.