Commit a48897c5 authored by mattijs's avatar mattijs
Browse files

STYLE: directMapped : updated comment

parent 1f2829ac
......@@ -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
......
......@@ -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
......
......@@ -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_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment