https://mooseframework.inl.gov
SphereSurfaceMeshGenerator.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "MeshGenerator.h"
13 #include "libmesh/point.h"
14 
20 {
21 public:
23 
25 
26  std::unique_ptr<MeshBase> generate() override;
27 
28 protected:
30  const Real _radius;
31 
33  const Point _center;
34 
36  const unsigned int _depth;
37 };
std::unique_ptr< MeshBase > generate() override
static InputParameters validParams()
const Real _radius
sphere radius
SphereSurfaceMeshGenerator(const InputParameters &parameters)
Create a sphere surface mesh based on the recursive subdivision of the faces of a regular icosahedron...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
const unsigned int _depth
recursion levels for triangle subdivision