20 "Snap nodes to the surface of a sphere either during adaptivity or on execution");
21 params.
addParam<Point>(
"center",
"Sphere center");
22 params.
addParam<Real>(
"radius",
"Sphere radius");
28 _center(getParam<Point>(
"center")),
29 _radius(getParam<Real>(
"radius"))
37 const Real r = o.norm();
registerMooseObjectRenamed("MooseApp", GeometrySphere, "06/30/2025 24:00", MoveNodesToSphere)
registerMooseObject("MooseApp", MoveNodesToSphere)
Base class for mesh modifiers that snap nodes to a defined geometry either when executed or when mesh...
static InputParameters validParams()
Snaps the selected nodes to the surface of a sphere (or circular disk in 2D)
const Point _center
Center of the sphere.
const Real _radius
Radius of the sphere.
MoveNodesToSphere(const InputParameters ¶meters)
virtual void snapNode(Node &node) override
Override this method in derived classes to implement a specific geometry.
static InputParameters validParams()