ENH: Added coefficient of variance (CoV) operation to fieldValues function objects

This commit is contained in:
andy
2011-11-21 14:00:18 +00:00
parent 9dd55c02cb
commit 49b0676573
6 changed files with 52 additions and 10 deletions

View File

@ -53,7 +53,7 @@ namespace Foam
const char* Foam::NamedEnum
<
Foam::fieldValues::faceSource::operationType,
7
8
>::names[] =
{
"none",
@ -62,7 +62,8 @@ namespace Foam
"areaIntegrate",
"weightedAverage",
"min",
"max"
"max",
"CoV"
};
}
@ -71,7 +72,7 @@ namespace Foam
const Foam::NamedEnum<Foam::fieldValues::faceSource::sourceType, 3>
Foam::fieldValues::faceSource::sourceTypeNames_;
const Foam::NamedEnum<Foam::fieldValues::faceSource::operationType, 7>
const Foam::NamedEnum<Foam::fieldValues::faceSource::operationType, 8>
Foam::fieldValues::faceSource::operationTypeNames_;