mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
tidying up
This commit is contained in:
@ -62,6 +62,7 @@ class Constant
|
||||
{
|
||||
// Private data
|
||||
|
||||
//- Constant value
|
||||
Type value_;
|
||||
|
||||
|
||||
@ -91,8 +92,7 @@ public:
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
~Constant();
|
||||
virtual ~Constant();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
@ -26,6 +26,10 @@ Class
|
||||
Foam::DataEntry
|
||||
|
||||
Description
|
||||
Top level data entry class for use in dictionaries. Provides a mechanism
|
||||
to specify a variable as a certain type, e.g. constant or table, and
|
||||
provide functions to return the (interpolated) value, and integral between
|
||||
limits.
|
||||
|
||||
SourceFiles
|
||||
DataEntry.C
|
||||
@ -101,16 +105,15 @@ public:
|
||||
|
||||
|
||||
//- Selector
|
||||
static autoPtr<DataEntry<Type> > New
|
||||
(
|
||||
const word& entryName,
|
||||
const dictionary& dict
|
||||
);
|
||||
static autoPtr<DataEntry<Type> > New
|
||||
(
|
||||
const word& entryName,
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
virtual ~DataEntry();
|
||||
virtual ~DataEntry();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
@ -42,11 +42,11 @@ Foam::Table<Type>::Table
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"Foam::Table<Type>::Table"
|
||||
"("
|
||||
"const word& entryName,"
|
||||
"const dictionary& dict"
|
||||
")"
|
||||
"Foam::Table<Type>::Table\n"
|
||||
"(\n"
|
||||
" const word& entryName,\n"
|
||||
" const dictionary& dict\n"
|
||||
")\n"
|
||||
) << "Table is invalid (empty)" << nl
|
||||
<< exit(FatalError);
|
||||
}
|
||||
|
||||
@ -84,23 +84,18 @@ class Table
|
||||
|
||||
public:
|
||||
|
||||
// Runtime type information
|
||||
//- Runtime type information
|
||||
TypeName("Table");
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from dictionary
|
||||
Table
|
||||
(
|
||||
const word& entryName,
|
||||
const dictionary& dict
|
||||
);
|
||||
Table(const word& entryName, const dictionary& dict);
|
||||
|
||||
|
||||
//- Destructor
|
||||
|
||||
~Table();
|
||||
virtual ~Table();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
Reference in New Issue
Block a user