functionObjects: Removed the redundant "viable" member function
Construction failure and recovery is not handled with exceptions in functionObjectList
This commit is contained in:
@ -35,8 +35,9 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(sampledSets, 0);
|
||||
bool sampledSets::verbose_ = false;
|
||||
defineTypeNameAndDebug(sampledSets, 0);
|
||||
|
||||
bool sampledSets::verbose_ = false;
|
||||
}
|
||||
|
||||
|
||||
@ -162,18 +163,6 @@ Foam::sampledSets::sampledSets
|
||||
}
|
||||
|
||||
|
||||
bool Foam::sampledSets::viable
|
||||
(
|
||||
const word& name,
|
||||
const objectRegistry& obr,
|
||||
const dictionary& dict,
|
||||
const bool loadFromFiles
|
||||
)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::sampledSets::~sampledSets()
|
||||
|
||||
@ -266,16 +266,6 @@ public:
|
||||
const bool loadFromFiles = false
|
||||
);
|
||||
|
||||
//- Return true if the construction of this functionObject is viable
|
||||
// i.e. the prerequisites for construction are available
|
||||
static bool viable
|
||||
(
|
||||
const word& name,
|
||||
const objectRegistry&,
|
||||
const dictionary&,
|
||||
const bool loadFromFiles = false
|
||||
);
|
||||
|
||||
|
||||
//- Destructor
|
||||
virtual ~sampledSets();
|
||||
|
||||
Reference in New Issue
Block a user