26 std::unique_ptr<MeshBase>
generate()
override;
std::shared_ptr< SymFunction > SymFunctionPtr
Shorthand for an smart pointer to an autodiff function parser object.
ProjectSideSetOntoLevelSetGenerator(const InputParameters ¶meters)
const InputParameters & parameters() const
Get the parameters of the object.
std::unique_ptr< MeshBase > & _input
Reference to input mesh pointer.
Point _proj_dir
Projection direction.
SymFunctionPtr _func_level_set
function parser object describing the level set
static InputParameters validParams()
const std::string _level_set
The analytic level set function in the form of a string that can be parsed by FParser.
const Real _max_search_distance
Maximum distance to search for from starting nodeset to projection point.
Point pointPairLevelSetInterception(const Point &point1, const Point &point2)
Calculate the intersection point of a level set and a line segment defined by two points separated by...
const MeshGeneratorName _input_name
Name of the input mesh.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Projects a sideset onto a level set function using a fixed vector.
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
Real levelSetEvaluator(const Point &point)
Evaluate the level set function at a given point.
MeshGenerators are objects that can modify or add to an existing mesh.