manual Class Reference

Manual coordinate spacing. The user explicitly provides a list of coordinates which must increase monotonically and be of the required length. More...

Inheritance diagram for manual:
Collaboration diagram for manual:

Public Member Functions

 TypeName ("manual")
 Runtime type information. More...
 
 manual (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

Manual coordinate spacing. The user explicitly provides a list of coordinates which must increase monotonically and be of the required length.

Usage
Example specification:
{
    type    manual;

    // Coordinates
    values  (0.01 0.11 0.21 0.31 0.41 0.51);
}
Source files

Definition at line 63 of file manual_oneDimensionalDiscretisation.H.

Constructor & Destructor Documentation

◆ manual()

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

Construct from a dictionary.

Definition at line 48 of file manual_oneDimensionalDiscretisation.C.

References oneDimensionalDiscretisation::coordinates(), dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, n, and List< T >::size().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "manual"  )

Runtime type information.


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