|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
An analytic surface onto which the faces of a boundary zone are projected: a circle (2D) or a sphere or circular cylinder (3D). More...
#include <curved.h>
Public Types | |
| enum class | Kind : uint8_t { CIRCLE , SPHERE , CYLINDER } |
Public Member Functions | |
| void | project (const Vec3 &x, Vec3 &p, double *J) const |
| Radial projection p of x onto the shape, and dp/dx (row-major 3 x 3). | |
Public Attributes | |
| Kind | kind = Kind::CIRCLE |
| std::string | zone |
| Vec3 | center = {0.0, 0.0, 0.0} |
| Vec3 | axis = {0.0, 0.0, 1.0} |
| double | radius = 1.0 |
An analytic surface onto which the faces of a boundary zone are projected: a circle (2D) or a sphere or circular cylinder (3D).
|
strong |
Radial projection p of x onto the shape, and dp/dx (row-major 3 x 3).
| Vec3 curved::Shape::axis = {0.0, 0.0, 1.0} |
| Vec3 curved::Shape::center = {0.0, 0.0, 0.0} |
| Kind curved::Shape::kind = Kind::CIRCLE |
| double curved::Shape::radius = 1.0 |
| std::string curved::Shape::zone |