mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- 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
29 lines
496 B
C++
29 lines
496 B
C++
// -*- C++ -*-
|
|
|
|
cuttingPlane
|
|
{
|
|
type surfaces;
|
|
libs (sampling);
|
|
|
|
writeControl writeTime;
|
|
|
|
surfaceFormat vtk;
|
|
fields ( p U );
|
|
|
|
interpolationScheme cellPoint;
|
|
|
|
surfaces
|
|
{
|
|
zNormal
|
|
{
|
|
type cuttingPlane;
|
|
point (0 0 0);
|
|
normal (0 0 1);
|
|
interpolate true;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|