STYLE: directMapped : updated comment

This commit is contained in:
mattijs
2010-10-15 10:43:18 +01:00
parent 1f2829ac2a
commit a48897c558
3 changed files with 16 additions and 5 deletions

View File

@ -25,7 +25,13 @@ Class
Foam::directMappedFixedValueFvPatchField
Description
Recycles the value at a set of internal faces back to *this.
Recycles the value at a set of cells or patch faces back to *this. Can not
sample internal faces (since volField not defined on faces).
mode = NEARESTCELL : sample nearest cell
mode = NEARESTPATCHFACE : sample nearest face on selected patch
mode = NEARESTFACE : sample nearest face on any patch. Note: does not
warn if nearest actually is on internal face!
SourceFiles
directMappedFixedValueFvPatchField.C

View File

@ -27,6 +27,11 @@ Class
Description
Recycles the velocity and flux at a patch to this patch
mode = NEARESTCELL : sample nearest cell
mode = NEARESTPATCHFACE : sample nearest face on selected patch
mode = NEARESTFACE : sample nearest face on any patch. Note: does not
warn if nearest actually is on internal face!
SourceFiles
directMappedVelocityFluxFixedValueFvPatchField.C

View File

@ -66,9 +66,9 @@ public:
//- Mesh items to sample
enum sampleMode
{
NEARESTCELL,
NEARESTPATCHFACE,
NEARESTFACE
NEARESTCELL, // nearest cell
NEARESTPATCHFACE, // faces on selected patch
NEARESTFACE // nearest face
};
private:
@ -201,7 +201,7 @@ public:
return sampleRegion_;
}
//- Patch (only if NEARESTBOUNDARY)
//- Patch (only if NEARESTPATCHFACE)
const word& samplePatch() const
{
return samplePatch_;