https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LevelSetMeshingHelper.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://www.mooseframework.org
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 "FunctionParserUtils.h"
13#include "InputParameters.h"
14
20{
21public:
23
24 LevelSetMeshingHelper(const InputParameters & parameters);
25
26protected:
29
32
38 Real levelSetEvaluator(const Point & point);
39
44 void levelSetCorrection(Node & node);
45};
std::shared_ptr< SymFunction > SymFunctionPtr
Shorthand for an smart pointer to an autodiff function parser object.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Helper class to define, parameterize and create a level set function used in meshing,...
void levelSetCorrection(Node &node)
Correct the position of a node based on the level set function.
static InputParameters validParams()
const unsigned int _max_level_set_correction_iterations
Maximum number of iterations to correct the nodes based on the level set function.
SymFunctionPtr _func_level_set
function parser object describing the level set
Real levelSetEvaluator(const Point &point)
Evaluate the level set function at a given point.