|
core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
|
Solid hollow cylinder (a tube wall) of given outer/inner radius and height about axis.
More...
#include <sdf.hpp>
Public Member Functions | |
| double | eval (const Vec< 3 > &p) const |
Public Attributes | |
| Vec< 3 > | center {} |
| double | rOuter = 1.0 |
| double | rInner = 0.5 |
| double | height = 1.0 |
| int | axis = 2 |
Solid hollow cylinder (a tube wall) of given outer/inner radius and height about axis.
Modelled as the CSG intersection {r<=rOuter} ∩ {r>=rInner} ∩ {|z|<=height/2}; the shell material is the solid (negative). Sign-exact; distance is the standard max-of-halfspaces approximation.
| Vec<3> peclet::core::geom::HollowCylinder::center {} |
| double peclet::core::geom::HollowCylinder::rOuter = 1.0 |
| double peclet::core::geom::HollowCylinder::rInner = 0.5 |
| double peclet::core::geom::HollowCylinder::height = 1.0 |
| int peclet::core::geom::HollowCylinder::axis = 2 |