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