COMP: use VTK_OVERRIDE on paraview methods

COMP: avoid undefined-var-template warning in runTimePostProcessing
This commit is contained in:
Mark Olesen
2017-05-18 13:21:48 +02:00
parent d6e721a9bd
commit 15d0a918c5
3 changed files with 10 additions and 11 deletions

View File

@ -480,8 +480,7 @@ void Foam::functionObjects::fieldVisualisationBase::addGlyphs
else
{
WarningInFunction
<< "Glyphs can only be added to " << pTraits<scalar>::typeName
<< " and " << pTraits<vector>::typeName << " fields. "
<< "Glyphs can only be added to scalar and vector fields."
<< " Field " << scaleFieldName << " has " << nComponents
<< " components" << endl;