mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: patchCloud: return pTraits<Type>::max for unfound points
This commit is contained in:
@ -119,15 +119,18 @@ sets
|
||||
|
||||
somePatchPoints
|
||||
{
|
||||
// Sample nearest points on selected patches. Use with
|
||||
// interpolations:
|
||||
// Sample nearest points on selected patches. Looks only up to
|
||||
// maxDistance away. Any sampling point not found will get value
|
||||
// pTraits<Type>::max (usually VGREAT)
|
||||
// Use with interpolations:
|
||||
// - cell (cell value)
|
||||
// - cellPatchConstrained (boundary value)
|
||||
// - cellPoint (interpolated boundary value)
|
||||
type patchCloud;
|
||||
axis xyz;
|
||||
points ((0.049 0.099 0.005)(0.051 0.054 0.005));
|
||||
patches (".*Wall.*");
|
||||
type patchCloud;
|
||||
axis xyz;
|
||||
points ((0.049 0.099 0.005)(0.051 0.054 0.005));
|
||||
maxDistance 0.1; // maximum distance to search
|
||||
patches (".*Wall.*");
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user