12 #include "MooseMesh.h"
14 #include "libmesh/mesh_tools.h"
23 params.addClassDescription(
"Close packed arrangement of smooth circles");
24 params.addRequiredParam<Real>(
"radius",
"The radius of a circle");
37 BoundingBox bbox = MeshTools::create_bounding_box(_fe_problem.mesh().getMesh());
38 const Point & min = bbox.min();
39 const Point & max = bbox.max();
43 Real x_max = max(0) + 2.0 *
_radius;
46 Real y_max = max(1) + 2.0 *
_radius;
57 if (_fe_problem.mesh().dimension() == 3)
68 y += std::sqrt(3) *
_radius / 2.0;