exponential Class Reference

Exponential coordinate spacing. The i-th coordinate is given by: More...

Inheritance diagram for exponential:
Collaboration diagram for exponential:

Public Member Functions

 TypeName ("exponential")
 Runtime type information. More...
 
 exponential (const word &name, const dimensionSet &dims, const label n, const dictionary &dict)
 Construct from a dictionary. More...
 
- Public Member Functions inherited from oneDimensionalDiscretisation
 TypeName ("oneDimensionalDiscretisation")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, oneDimensionalDiscretisation, dictionary,(const word &name, const dimensionSet &dims, const label n, const dictionary &dict),(name, dims, n, dict))
 
 oneDimensionalDiscretisation (const word &name, const dimensionSet &dims, const tmp< scalarField > &coordinates)
 Construct from components. More...
 
virtual ~oneDimensionalDiscretisation ()
 Destructor. More...
 
const scalarFieldcoordinates () const
 Return the coordinates. More...
 
PtrList< dimensionedScalardimensionedCoordinates () const
 Return the coordinates as a list of dimensioned scalars. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from oneDimensionalDiscretisation
static autoPtr< oneDimensionalDiscretisationNew (const word &name, const dimensionSet &dims, const label n, const dictionary &dict)
 Selector. More...
 

Detailed Description

Exponential coordinate spacing. The i-th coordinate is given by:

\[ x_i = \left( \frac{x_{\textrm{max}}}{x_{\textrm{min}}} \right)^{\frac{i}{n - 1}} x_{\textrm{min}} \]

Usage
Example specification:
{
    type    exponential;

    // First and last coordinates
    min     0.01;
    max     0.51;
}
Source files

Definition at line 66 of file exponential_oneDimensionalDiscretisation.H.

Constructor & Destructor Documentation

◆ exponential()

exponential ( const word name,
const dimensionSet dims,
const label  n,
const dictionary dict 
)

Construct from a dictionary.

Definition at line 73 of file exponential_oneDimensionalDiscretisation.C.

Member Function Documentation

◆ TypeName()

TypeName ( "exponential"  )

Runtime type information.


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