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