Helper class to wrap coordinate system and component-wise scaling. More...
#include <coordinateScaling.H>

Public Member Functions | |
| coordinateScaling () | |
| Default construct. | |
| coordinateScaling (const objectRegistry &obr, const dictionary &dict) | |
| Construct from registry and dictionary. | |
| coordinateScaling (const coordinateScaling &rhs) | |
| Construct copy. | |
| virtual | ~coordinateScaling ()=default |
| Destructor. | |
| bool | active () const noexcept |
| Has any scaling or coordinate transformation. | |
| const autoPtr< coordinateSystem > & | coordSys () const |
| Access to optional coordinate system. | |
| tmp< pointField > | localPosition (const pointField &globalPos) const |
| Convert to local coordinates, pass-through if no coordinate system is active. | |
| virtual tmp< Field< Type > > | transform (const pointField &pos, const Field< Type > &local) const |
| Evaluate. | |
| virtual void | writeEntry (Ostream &os) const |
| Write dictionary entry. | |
| tmp< Field< label > > | transform (const pointField &pos, const Field< label > &local) const |
| Foam::tmp< Foam::Field< Foam::label > > | transform (const pointField &pos, const Field< label > &local) const |
Helper class to wrap coordinate system and component-wise scaling.
Definition at line 51 of file coordinateScaling.H.
| coordinateScaling | ( | ) |
Default construct.
Definition at line 24 of file coordinateScaling.C.
Referenced by coordinateScaling().

| coordinateScaling | ( | const objectRegistry & | obr, |
| const dictionary & | dict ) |
Construct from registry and dictionary.
Definition at line 33 of file coordinateScaling.C.
References dict, Foam::name(), VectorSpace< Form, Cmpt, Ncmpts >::nComponents, and Function1< Type >::NewIfPresent().

| coordinateScaling | ( | const coordinateScaling< Type > & | rhs | ) |
Construct copy.
Definition at line 59 of file coordinateScaling.C.
References coordinateScaling(), and Foam::rhs().

|
virtualdefault |
Destructor.
|
inlinenoexcept |
Has any scaling or coordinate transformation.
Definition at line 113 of file coordinateScaling.H.
References Foam::noexcept.
|
inline |
Access to optional coordinate system.
Definition at line 121 of file coordinateScaling.H.
| Foam::tmp< Foam::pointField > localPosition | ( | const pointField & | globalPos | ) | const |
Convert to local coordinates, pass-through if no coordinate system is active.
Definition at line 70 of file coordinateScaling.C.
|
virtual |
Evaluate.
Definition at line 85 of file coordinateScaling.C.
|
virtual |
Write dictionary entry.
Definition at line 131 of file coordinateScaling.C.

| tmp< Field< label > > transform | ( | const pointField & | pos, |
| const Field< label > & | local ) const |
| Foam::tmp< Foam::Field< Foam::label > > transform | ( | const pointField & | pos, |
| const Field< label > & | local ) const |
Definition at line 27 of file coordinateScalings.C.