mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: make 'planeType' optional for dictionary construct of a plane
- simpler to write for sampled cutting planes etc.
For example,
slice
{
type cuttingPlane;
point (0 0 0);
normal (0 0 1);
interpolate true;
}
instead of
slice
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
point (0 0 0);
normal (0 0 1);
}
interpolate true;
}
STYLE: add noexcept to some plane methods
This commit is contained in:
@ -40,12 +40,9 @@ Usage
|
||||
{
|
||||
surface1
|
||||
{
|
||||
type cuttingPlane;
|
||||
planeType pointAndNormal;
|
||||
pointAndNormalDict
|
||||
{
|
||||
...
|
||||
}
|
||||
type cuttingPlane;
|
||||
point ...;
|
||||
normal ...;
|
||||
}
|
||||
}
|
||||
\endverbatim
|
||||
@ -54,7 +51,7 @@ Usage
|
||||
\table
|
||||
Property | Description | Required | Default
|
||||
type | cuttingPlane | yes |
|
||||
planeType | plane description (pointAndNormal etc) | yes |
|
||||
planeType | Plane description (pointAndNormal etc) | no |
|
||||
offsets | Offsets of the origin in the normal direction | no | (0)
|
||||
isoMethod | Iso-algorithm (cell/topo/point) | no | topo
|
||||
bounds | limit with bounding box | no |
|
||||
|
||||
@ -41,11 +41,8 @@ Usage
|
||||
surface1
|
||||
{
|
||||
type plane;
|
||||
planeType pointAndNormal;
|
||||
pointAndNormalDict
|
||||
{
|
||||
...
|
||||
}
|
||||
point ...;
|
||||
normal ...;
|
||||
}
|
||||
}
|
||||
\endverbatim
|
||||
@ -54,7 +51,7 @@ Usage
|
||||
\table
|
||||
Property | Description | Required | Default
|
||||
type | plane | yes |
|
||||
planeType | plane description (pointAndNormal etc) | yes |
|
||||
planeType | Plane description (pointAndNormal etc) | no |
|
||||
triangulate | triangulate faces | no | true
|
||||
bounds | limit with bounding box | no |
|
||||
zone | limit to cell zone (name or regex) | no |
|
||||
|
||||
Reference in New Issue
Block a user