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


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 scalarField & | coordinates () const |
| Return the coordinates. More... | |
| PtrList< dimensionedScalar > | dimensionedCoordinates () const |
| Return the coordinates as a list of dimensioned scalars. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from oneDimensionalDiscretisation | |
| static autoPtr< oneDimensionalDiscretisation > | New (const word &name, const dimensionSet &dims, const label n, const dictionary &dict) |
| Selector. More... | |
Manual coordinate spacing. The user explicitly provides a list of coordinates which must increase monotonically and be of the required length.
{
type manual;
// Coordinates
values (0.01 0.11 0.21 0.31 0.41 0.51);
}
Definition at line 63 of file manual_oneDimensionalDiscretisation.H.
| 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().

| TypeName | ( | "manual" | ) |
Runtime type information.