A coordinate system forward to a global coordinate system that is normally provided by the constant/coordinateSystems file. More...
Public Member Functions | |
TypeName ("indirect") | |
indirect (const indirect &csys) | |
indirect (indirect &&csys) | |
indirect (const objectRegistry &obr, const word &name) | |
indirect (const objectRegistry &obr, const dictionary &dict) | |
virtual autoPtr< coordinateSystem > | clone () const |
virtual | ~indirect ()=default |
virtual const coordinateSystem & | cs () const |
virtual bool | valid () const |
virtual bool | uniform () const |
virtual const coordinateRotation & | rotation () const |
virtual const word & | name () const |
virtual const string & | note () const |
virtual const point & | origin () const |
virtual const tensor & | R () const |
virtual const vector | e1 () const |
virtual const vector | e2 () const |
virtual const vector | e3 () const |
void | rename (const word &newName) |
string & | note () |
virtual point & | origin () |
virtual void | clear () |
virtual void | rotation (autoPtr< coordinateRotation > &&crot) |
virtual void | write (Ostream &os) const |
virtual void | writeEntry (const word &keyword, Ostream &os) const |
void | operator= (const coordinateSystem &csys)=delete |
void | operator= (coordinateSystem &&csys)=delete |
virtual tensor | R (const point &global) const |
virtual tmp< tensorField > | R (const UList< point > &global) const |
virtual tmp< tensorField > | R (const pointUIndList &global) const |
![]() | |
TypeName ("coordinateSystem") | |
coordinateSystem () | |
coordinateSystem (const coordinateRotation &crot) | |
coordinateSystem (coordinateRotation &&crot) | |
coordinateSystem (const coordinateSystem &csys) | |
coordinateSystem (coordinateSystem &&csys) | |
coordinateSystem (autoPtr< coordinateSystem > &&csys) | |
coordinateSystem (const word &name, const coordinateSystem &csys) | |
coordinateSystem (const point &origin, const coordinateRotation &crot) | |
coordinateSystem (const point &origin, const vector &axis, const vector &dirn) | |
coordinateSystem (const word &name, const point &origin, const coordinateRotation &crot) | |
coordinateSystem (const word &name, const point &origin, const vector &axis, const vector &dirn) | |
coordinateSystem (const word &name, const dictionary &dict) | |
coordinateSystem (const dictionary &dict) | |
coordinateSystem (const dictionary &dict, const word &dictName) | |
declareRunTimeSelectionTable (autoPtr, coordinateSystem, dictionary,(const dictionary &dict),(dict)) | |
declareRunTimeSelectionTable (autoPtr, coordinateSystem, registry,(const objectRegistry &obr, const dictionary &dict),(obr, dict)) | |
virtual | ~coordinateSystem ()=default |
void | operator= (const coordinateSystem &csys) |
void | operator= (coordinateSystem &&csys) |
void | operator= (const autoPtr< coordinateSystem > &csys) |
void | operator= (autoPtr< coordinateSystem > &&csys) |
point | transformPoint (const point &localCart) const |
tmp< pointField > | transformPoint (const UList< point > &localCart) const |
tmp< pointField > | transformPoint (const pointUIndList &localCart) const |
point | invTransformPoint (const point &global) const |
tmp< pointField > | invTransformPoint (const UList< point > &global) const |
tmp< pointField > | invTransformPoint (const pointUIndList &global) const |
point | globalPosition (const point &local) const |
tmp< pointField > | globalPosition (const pointField &local) const |
point | localPosition (const point &global) const |
tmp< pointField > | localPosition (const pointField &global) const |
vector | globalVector (const vector &local) const |
tmp< vectorField > | globalVector (const vectorField &local) const |
vector | localVector (const vector &global) const |
tmp< vectorField > | localVector (const vectorField &global) const |
virtual symmTensor | transformPrincipal (const vector &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< symmTensor > > | transformPrincipal (const UList< vector > &input) const |
With constant rotation tensor. More... | |
virtual symmTensor | transformPrincipal (const point &global, const vector &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< symmTensor > > | transformPrincipal (const UList< point > &global, const vector &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< symmTensor > > | transformPrincipal (const pointUIndList &global, const vector &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< symmTensor > > | transformPrincipal (const UList< point > &global, const UList< vector > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< symmTensor > > | transformPrincipal (const pointUIndList &global, const UList< vector > &input) const |
With rotation tensors at given global positions. More... | |
virtual scalar | transform (const scalar &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< scalar > > | transform (const UList< scalar > &input) const |
With constant rotation tensor. More... | |
virtual scalar | transform (const point &global, const scalar &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< scalar > > | transform (const UList< point > &global, const scalar &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< scalar > > | transform (const pointUIndList &global, const scalar &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< scalar > > | transform (const UList< point > &global, const UList< scalar > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< scalar > > | transform (const pointUIndList &global, const UList< scalar > &input) const |
With rotation tensors at given global positions. More... | |
virtual vector | transform (const vector &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< vector > > | transform (const UList< vector > &input) const |
With constant rotation tensor. More... | |
virtual vector | transform (const point &global, const vector &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< vector > > | transform (const UList< point > &global, const vector &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< vector > > | transform (const pointUIndList &global, const vector &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< vector > > | transform (const UList< point > &global, const UList< vector > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< vector > > | transform (const pointUIndList &global, const UList< vector > &input) const |
With rotation tensors at given global positions. More... | |
virtual sphericalTensor | transform (const sphericalTensor &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< sphericalTensor > > | transform (const UList< sphericalTensor > &input) const |
With constant rotation tensor. More... | |
virtual sphericalTensor | transform (const point &global, const sphericalTensor &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< sphericalTensor > > | transform (const UList< point > &global, const sphericalTensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< sphericalTensor > > | transform (const pointUIndList &global, const sphericalTensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< sphericalTensor > > | transform (const UList< point > &global, const UList< sphericalTensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< sphericalTensor > > | transform (const pointUIndList &global, const UList< sphericalTensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual symmTensor | transform (const symmTensor &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< symmTensor > > | transform (const UList< symmTensor > &input) const |
With constant rotation tensor. More... | |
virtual symmTensor | transform (const point &global, const symmTensor &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< symmTensor > > | transform (const UList< point > &global, const symmTensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< symmTensor > > | transform (const pointUIndList &global, const symmTensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< symmTensor > > | transform (const UList< point > &global, const UList< symmTensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< symmTensor > > | transform (const pointUIndList &global, const UList< symmTensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual tensor | transform (const tensor &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< tensor > > | transform (const UList< tensor > &input) const |
With constant rotation tensor. More... | |
virtual tensor | transform (const point &global, const tensor &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< tensor > > | transform (const UList< point > &global, const tensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< tensor > > | transform (const pointUIndList &global, const tensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< tensor > > | transform (const UList< point > &global, const UList< tensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< tensor > > | transform (const pointUIndList &global, const UList< tensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual scalar | invTransform (const scalar &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< scalar > > | invTransform (const UList< scalar > &input) const |
With constant rotation tensor. More... | |
virtual scalar | invTransform (const point &global, const scalar &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< scalar > > | invTransform (const UList< point > &global, const scalar &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< scalar > > | invTransform (const pointUIndList &global, const scalar &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< scalar > > | invTransform (const UList< point > &global, const UList< scalar > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< scalar > > | invTransform (const pointUIndList &global, const UList< scalar > &input) const |
With rotation tensors at given global positions. More... | |
virtual vector | invTransform (const vector &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< vector > > | invTransform (const UList< vector > &input) const |
With constant rotation tensor. More... | |
virtual vector | invTransform (const point &global, const vector &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< vector > > | invTransform (const UList< point > &global, const vector &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< vector > > | invTransform (const pointUIndList &global, const vector &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< vector > > | invTransform (const UList< point > &global, const UList< vector > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< vector > > | invTransform (const pointUIndList &global, const UList< vector > &input) const |
With rotation tensors at given global positions. More... | |
virtual sphericalTensor | invTransform (const sphericalTensor &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< sphericalTensor > > | invTransform (const UList< sphericalTensor > &input) const |
With constant rotation tensor. More... | |
virtual sphericalTensor | invTransform (const point &global, const sphericalTensor &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< sphericalTensor > > | invTransform (const UList< point > &global, const sphericalTensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< sphericalTensor > > | invTransform (const pointUIndList &global, const sphericalTensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< sphericalTensor > > | invTransform (const UList< point > &global, const UList< sphericalTensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< sphericalTensor > > | invTransform (const pointUIndList &global, const UList< sphericalTensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual symmTensor | invTransform (const symmTensor &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< symmTensor > > | invTransform (const UList< symmTensor > &input) const |
With constant rotation tensor. More... | |
virtual symmTensor | invTransform (const point &global, const symmTensor &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< symmTensor > > | invTransform (const UList< point > &global, const symmTensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< symmTensor > > | invTransform (const pointUIndList &global, const symmTensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< symmTensor > > | invTransform (const UList< point > &global, const UList< symmTensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< symmTensor > > | invTransform (const pointUIndList &global, const UList< symmTensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual tensor | invTransform (const tensor &input) const |
With constant rotation tensor. More... | |
virtual tmp< Field< tensor > > | invTransform (const UList< tensor > &input) const |
With constant rotation tensor. More... | |
virtual tensor | invTransform (const point &global, const tensor &input) const |
With rotation tensor at given global position. More... | |
virtual tmp< Field< tensor > > | invTransform (const UList< point > &global, const tensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< tensor > > | invTransform (const pointUIndList &global, const tensor &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< tensor > > | invTransform (const UList< point > &global, const UList< tensor > &input) const |
With rotation tensors at given global positions. More... | |
virtual tmp< Field< tensor > > | invTransform (const pointUIndList &global, const UList< tensor > &input) const |
With rotation tensors at given global positions. More... | |
template<class PointField > | |
Foam::tmp< Foam::tensorField > | rotationsImpl (const PointField &global) const |
template<class PointField > | |
Foam::tmp< Foam::pointField > | transformPointImpl (const PointField &localCart) const |
template<class PointField > | |
Foam::tmp< Foam::pointField > | invTransformPointImpl (const PointField &global) const |
template<class RetType , class Type , class BinaryOp > | |
Foam::tmp< Foam::Field< RetType > > | manyTimesImpl (const tensor &tt, const UList< Type > &input, const BinaryOp &bop) |
template<class RetType , class PointField , class Type , class BinaryOp > | |
Foam::tmp< Foam::Field< RetType > > | oneToOneImpl (const PointField &global, const UList< Type > &input, const BinaryOp &bop) const |
template<class RetType , class PointField , class Type , class BinaryOp > | |
Foam::tmp< Foam::Field< RetType > > | oneToManyImpl (const PointField &global, const Type &input, const BinaryOp &bop) const |
Protected Member Functions | |
virtual vector | localToGlobal (const vector &local, bool translate) const |
virtual tmp< vectorField > | localToGlobal (const vectorField &local, bool translate) const |
virtual vector | globalToLocal (const vector &global, bool translate) const |
virtual tmp< vectorField > | globalToLocal (const vectorField &global, bool translate) const |
![]() | |
template<class PointField > | |
tmp< tensorField > | rotationsImpl (const PointField &global) const |
template<class PointField > | |
tmp< pointField > | transformPointImpl (const PointField &localCart) const |
template<class PointField > | |
tmp< pointField > | invTransformPointImpl (const PointField &global) const |
template<class RetType , class PointField , class Type , class BinaryOp > | |
tmp< Field< RetType > > | oneToOneImpl (const PointField &global, const UList< Type > &input, const BinaryOp &bop) const |
template<class RetType , class PointField , class Type , class BinaryOp > | |
tmp< Field< RetType > > | oneToManyImpl (const PointField &global, const Type &input, const BinaryOp &bop) const |
void | assign (const dictionary &dict) |
coordinateSystem (std::nullptr_t) | |
Additional Inherited Members | |
![]() | |
static autoPtr< coordinateSystem > | New (word modelType, const objectRegistry &obr, const dictionary &dict) |
static autoPtr< coordinateSystem > | New (word modelType, const dictionary &dict) |
static autoPtr< coordinateSystem > | New (const objectRegistry &obr, const dictionary &dict, const word &dictName="") |
static autoPtr< coordinateSystem > | New (const dictionary &dict, const word &dictName="") |
static autoPtr< coordinateSystem > | New (Istream &is) |
![]() | |
template<class RetType , class Type , class BinaryOp > | |
static tmp< Field< RetType > > | manyTimesImpl (const tensor &tt, const UList< Type > &input, const BinaryOp &bop) |
![]() | |
autoPtr< coordinateRotation > | spec_ |
point | origin_ |
tensor | rot_ |
word | name_ |
string | note_ |
![]() | |
static coordinateSystem | dummy_ |
A coordinate system forward to a global coordinate system that is normally provided by the constant/coordinateSystems file.
Dictionary entries
Property | Description | Required | Default |
---|---|---|---|
type | Type name: indirect | yes | |
name | Name of the referenced system | yes |
Definition at line 71 of file indirectCS.H.
Definition at line 39 of file indirectCS.C.
Definition at line 46 of file indirectCS.C.
indirect | ( | const objectRegistry & | obr, |
const word & | name | ||
) |
Definition at line 55 of file indirectCS.C.
indirect | ( | const objectRegistry & | obr, |
const dictionary & | dict | ||
) |
Definition at line 66 of file indirectCS.C.
|
virtualdefault |
Reimplemented from coordinateSystem.
Definition at line 94 of file indirectCS.H.
References coordinateSystem::localToGlobal().
|
inlineprotectedvirtual |
Reimplemented from coordinateSystem.
Definition at line 105 of file indirectCS.H.
References coordinateSystem::localToGlobal().
Reimplemented from coordinateSystem.
Definition at line 116 of file indirectCS.H.
References coordinateSystem::globalToLocal().
|
inlineprotectedvirtual |
Reimplemented from coordinateSystem.
Definition at line 127 of file indirectCS.H.
References coordinateSystem::globalToLocal().
TypeName | ( | "indirect" | ) |
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 157 of file indirectCS.H.
|
inlinevirtual |
Definition at line 172 of file indirectCS.H.
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 178 of file indirectCS.H.
References coordinateSystem::valid().
Reimplemented from coordinateSystem.
Definition at line 184 of file indirectCS.H.
References coordinateSystem::uniform().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 190 of file indirectCS.H.
References coordinateSystem::rotation().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 196 of file indirectCS.H.
References coordinateSystem::name_.
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 202 of file indirectCS.H.
References coordinateSystem::note().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 208 of file indirectCS.H.
References coordinateSystem::origin().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 214 of file indirectCS.H.
References coordinateSystem::R().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 220 of file indirectCS.H.
References coordinateSystem::e1().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 226 of file indirectCS.H.
References coordinateSystem::e2().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 232 of file indirectCS.H.
References coordinateSystem::e3().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 241 of file indirectCS.H.
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 244 of file indirectCS.H.
References coordinateSystem::dummy_, coordinateSystem::note(), and NotImplemented.
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 251 of file indirectCS.H.
References coordinateSystem::dummy_, NotImplemented, and coordinateSystem::origin().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 258 of file indirectCS.H.
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 261 of file indirectCS.H.
References NotImplemented.
|
virtual |
Reimplemented from coordinateSystem.
Definition at line 77 of file indirectCS.C.
References os().
Reimplemented from coordinateSystem.
Definition at line 84 of file indirectCS.C.
References Foam::name(), os(), and Foam::type().
|
delete |
|
delete |
Reimplemented from coordinateSystem.
Definition at line 288 of file indirectCS.H.
References coordinateSystem::R().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 294 of file indirectCS.H.
References coordinateSystem::R().
|
inlinevirtual |
Reimplemented from coordinateSystem.
Definition at line 300 of file indirectCS.H.
References coordinateSystem::R().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.