21 std::unordered_map<std::string, Real>
24 std::unordered_map<std::string, Real> coeffs = {{
"x0",
_x0}, {
"y0",
_y0}, {
"r",
_r}};
42 mooseError(
"Radius of z-cylinder must be positive.");
std::string name(const ElemQuality q)
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
CSGZCylinder creates an internal representation of a Constructive Solid Geometry (CSG) z-axis aligned...
CSGZCylinder(const std::string &name, const Real x0, const Real y0, const Real r)
Construct a cylinder surface aligned with the z axis.
Real _x0
Value of x0 in equation of an z-axis aligned cylinder.
virtual std::unordered_map< std::string, Real > getCoeffs() const override
Get the coefficients (x0, y0, and r) that define the cylindrical surface with the equation: (x - x0)^...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real evaluateSurfaceEquationAtPoint(const Point &p) const override
given a point, determine its evaluation based on the equation of the cylinder
CSGSurface creates an internal representation of a Constructive Solid Geometry (CSG) surface...
Real _r
Value of r in equation of an z-axis aligned cylinder.
Real _y0
Value of y0 in equation of an z-axis aligned cylinder.
CTSub CT_OPERATOR_BINARY CTMul CTCompareLess CTCompareGreater CTCompareEqual _arg template pow< 2 >(tan(_arg))+1.0) *_arg.template D< dtag >()) CT_SIMPLE_UNARY_FUNCTION(sqrt
std::string prettyCppType(const std::string &cpp_type)