ENH: functionObjects improvements.

- readFields works seamlessly on-the-fly and as postprocessor
- new surfaceInterpolateFields to create interpolated field
- writeRegisteredObject only check upon writing, not upon startup
- add min,max to faceSource
This commit is contained in:
mattijs
2010-04-12 17:04:40 +01:00
parent f1e7cae646
commit 9bf63117ae
17 changed files with 668 additions and 83 deletions

View File

@ -91,6 +91,16 @@ Type Foam::fieldValues::cellSource::processValues
result = sum(values*weightField)/sum(weightField);
break;
}
case opMin:
{
result = min(values);
break;
}
case opMax:
{
result = max(values);
break;
}
default:
{
// Do nothing