Public Member Functions | List of all members
coordinateScaling< Type > Class Template Reference

Helper class to wrap coordinate system and component-wise scaling. More...

Public Member Functions

 coordinateScaling ()
 
 coordinateScaling (const objectRegistry &obr, const dictionary &dict)
 
 coordinateScaling (const coordinateScaling &rhs)
 
virtual ~coordinateScaling ()=default
 
bool active () const
 
const autoPtr< coordinateSystem > & coordSys () const
 
virtual tmp< Field< Type > > transform (const pointField &pos, const Field< Type > &local) const
 
virtual void writeEntry (Ostream &os) const
 
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
 

Detailed Description

template<class Type>
class Foam::coordinateScaling< Type >

Helper class to wrap coordinate system and component-wise scaling.

See also
Foam::Function1Types
Source files

Definition at line 51 of file coordinateScaling.H.

Constructor & Destructor Documentation

◆ coordinateScaling() [1/3]

Definition at line 24 of file coordinateScaling.C.

◆ coordinateScaling() [2/3]

coordinateScaling ( const objectRegistry obr,
const dictionary dict 
)

Definition at line 34 of file coordinateScaling.C.

References dict, dictionary::found(), Foam::glTF::key(), Foam::name(), and VectorSpace< Vector< scalar >, scalar, 3 >::nComponents.

Here is the call graph for this function:

◆ coordinateScaling() [3/3]

coordinateScaling ( const coordinateScaling< Type > &  rhs)

Definition at line 62 of file coordinateScaling.C.

◆ ~coordinateScaling()

virtual ~coordinateScaling ( )
virtualdefault

Member Function Documentation

◆ active()

bool active ( ) const
inline

Definition at line 95 of file coordinateScaling.H.

◆ coordSys()

const autoPtr<coordinateSystem>& coordSys ( ) const
inline

Definition at line 101 of file coordinateScaling.H.

◆ transform() [1/3]

Foam::tmp< Foam::Field< Type > > transform ( const pointField pos,
const Field< Type > &  local 
) const
virtual

◆ writeEntry()

void writeEntry ( Ostream os) const
virtual

Definition at line 119 of file coordinateScaling.C.

References forAll, and os().

Here is the call graph for this function:

◆ transform() [2/3]

tmp< Field< label > > transform ( const pointField pos,
const Field< label > &  local 
) const

◆ transform() [3/3]

Foam::tmp< Foam::Field< Foam::label > > transform ( const pointField pos,
const Field< label > &  local 
) const

Definition at line 28 of file coordinateScalings.C.


The documentation for this class was generated from the following files: