IOOutputFilter - can create from IOobject directly
- useful when using alternative dictionary names/locations
This commit is contained in:
parent
68e7c7368b
commit
4d10d06158
@ -29,6 +29,19 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class OutputFilter>
|
||||
Foam::IOOutputFilter<OutputFilter>::IOOutputFilter
|
||||
(
|
||||
const word& outputFilterName,
|
||||
const IOobject& ioDict,
|
||||
const bool readFromFiles
|
||||
)
|
||||
:
|
||||
IOdictionary(ioDict),
|
||||
OutputFilter(outputFilterName, ioDict.db(), *this, readFromFiles)
|
||||
{}
|
||||
|
||||
|
||||
template<class OutputFilter>
|
||||
Foam::IOOutputFilter<OutputFilter>::IOOutputFilter
|
||||
(
|
||||
|
@ -29,6 +29,11 @@ Description
|
||||
IOdictionary wrapper around OutputFilter to allow them to read from
|
||||
their associated dictionaries.
|
||||
|
||||
Note
|
||||
The IOobject or the objectRegistry will normally have to be
|
||||
derived from a fvMesh for a subsequent cast (within OutputFilter)
|
||||
to work correctly.
|
||||
|
||||
SourceFiles
|
||||
IOOutputFilter.C
|
||||
|
||||
@ -69,6 +74,15 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from an IOobject for IOdictionary
|
||||
// Allow the possibility to load fields from files
|
||||
IOOutputFilter
|
||||
(
|
||||
const word& outputFilterName,
|
||||
const IOobject& ioDict,
|
||||
const bool loadFromFile = false
|
||||
);
|
||||
|
||||
//- Construct for given objectRegistry and dictionary
|
||||
// Allow dictionary to be optional
|
||||
// Allow the possibility to load fields from files
|
||||
|
Loading…
Reference in New Issue
Block a user