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 Foam::directMappedFixedValueFvPatchField
Description 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 SourceFiles
directMappedFixedValueFvPatchField.C directMappedFixedValueFvPatchField.C

View File

@ -27,6 +27,11 @@ Class
Description Description
Recycles the velocity and flux at a patch to this patch 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 SourceFiles
directMappedVelocityFluxFixedValueFvPatchField.C directMappedVelocityFluxFixedValueFvPatchField.C

View File

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