ENH: support use of 'vector' in #calc directive (fixes #2039)

This commit is contained in:
Mark Olesen
2021-03-29 13:27:39 +02:00
parent 4a3998c698
commit d4ac96cdf3
3 changed files with 5 additions and 3 deletions

View File

@ -31,6 +31,8 @@ Description
#include "dictionary.H"
#include "Ostream.H"
#include "Pstream.H"
#include "pointField.H"
#include "tensor.H"
#include "unitConversion.H"
//{{{ begin codeInclude
@ -51,7 +53,7 @@ ${localCode}
// * * * * * * * * * * * * * * * Global Functions * * * * * * * * * * * * * //
extern "C" void ${typeName}(Ostream& os, const dictionary& dict)
extern "C" void ${typeName}(Foam::Ostream& os, const Foam::dictionary& dict)
{
//{{{ begin code
${code}