Helper class to wrap coordinate system and component-wise scaling. More...
Public Member Functions | |
coordinateScaling () | |
Construct null. More... | |
coordinateScaling (const objectRegistry &, const dictionary &) | |
Construct from registry and dictionary. More... | |
coordinateScaling (const coordinateScaling &) | |
Construct copy. More... | |
virtual | ~coordinateScaling () |
Destructor. More... | |
bool | active () const |
Has any scaling or coordinate transformation. More... | |
const autoPtr< coordinateSystem > & | coordSys () const |
Access to optional coordinate system. More... | |
virtual tmp< Field< Type > > | transform (const pointField &pos, const Field< Type > &local) const |
Evaluate. More... | |
virtual void | writeEntry (Ostream &) const |
Write dictionary entry. More... | |
template<> | |
Foam::tmp< Foam::Field< Foam::label > > | transform (const pointField &pos, const Field< label > &local) const |
template<> | |
tmp< Field< label > > | transform (const pointField &pos, const Field< label > &local) const |
Helper class to wrap coordinate system and component-wise scaling.
Definition at line 55 of file coordinateScaling.H.
Construct null.
Definition at line 32 of file coordinateScaling.C.
coordinateScaling | ( | const objectRegistry & | obr, |
const dictionary & | dict | ||
) |
Construct from registry and dictionary.
Definition at line 40 of file coordinateScaling.C.
coordinateScaling | ( | const coordinateScaling< Type > & | cs | ) |
Construct copy.
Definition at line 68 of file coordinateScaling.C.
|
virtual |
Destructor.
Definition at line 79 of file coordinateScaling.C.
|
inline |
Has any scaling or coordinate transformation.
Definition at line 99 of file coordinateScaling.H.
|
inline |
Access to optional coordinate system.
Definition at line 105 of file coordinateScaling.H.
|
virtual |
Evaluate.
Definition at line 87 of file coordinateScaling.C.
|
virtual |
Write dictionary entry.
Definition at line 131 of file coordinateScaling.C.
Foam::tmp< Foam::Field< Foam::label > > transform | ( | const pointField & | pos, |
const Field< label > & | local | ||
) | const |
Definition at line 35 of file coordinateLabelScaling.C.