https://mooseframework.inl.gov
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
LevelSetMeshingHelper Class Reference

Helper class to define, parameterize and create a level set function used in meshing, often to correct the position of nodes on a surface. More...

#include <LevelSetMeshingHelper.h>

Inheritance diagram for LevelSetMeshingHelper:
[legend]

Public Types

typedef GenericSymFunction< is_ad > SymFunction
 Shorthand for an autodiff function parser object. More...
 
typedef std::shared_ptr< SymFunctionSymFunctionPtr
 Shorthand for an smart pointer to an autodiff function parser object. More...
 

Public Member Functions

 LevelSetMeshingHelper (const InputParameters &parameters)
 
void setParserFeatureFlags (SymFunctionPtr &) const
 apply input parameters to internal feature flags of the parser object More...
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Types

enum  FailureMethod
 Enum for failure method. More...
 

Protected Member Functions

Real levelSetEvaluator (const Point &point)
 Evaluate the level set function at a given point. More...
 
void levelSetCorrection (Node &node)
 Correct the position of a node based on the level set function. More...
 
GenericReal< is_ad > evaluate (SymFunctionPtr &, const std::string &object_name="")
 Evaluate FParser object and check EvalError. More...
 
GenericReal< is_ad > evaluate (SymFunctionPtr &, const std::vector< GenericReal< is_ad >> &, const std::string &object_name="")
 Evaluate FParser object and check EvalError. More...
 
void addFParserConstants (SymFunctionPtr &parser, const std::vector< std::string > &constant_names, const std::vector< std::string > &constant_expressions) const
 add constants (which can be complex expressions) to the parser object More...
 
virtual void functionsOptimize (SymFunctionPtr &parsed_function)
 run FPOptimizer on the parsed function More...
 
void functionsOptimize (SymFunctionPtr &parsed_function)
 
void functionsOptimize (SymFunctionPtr &parsed_function)
 
void parsedFunctionSetup (SymFunctionPtr &function, const std::string &expression, const std::string &variables, const std::vector< std::string > &constant_names, const std::vector< std::string > &constant_expressions, const libMesh::Parallel::Communicator &comm) const
 Performs setup steps on a SymFunction. More...
 

Protected Attributes

const unsigned int _max_level_set_correction_iterations
 Maximum number of iterations to correct the nodes based on the level set function. More...
 
SymFunctionPtr _func_level_set
 function parser object describing the level set More...
 
enum FunctionParserUtils::FailureMethod _evalerror_behavior
 
const Real _quiet_nan
 appropriate not a number value to return More...
 
std::vector< GenericReal< is_ad > > _func_params
 Array to stage the parameters passed to the functions when calling Eval. More...
 
const Real _epsilon
 fuzzy comparison tolerance More...
 
bool _enable_jit
 feature flags More...
 
bool _enable_ad_cache
 
bool _disable_fpoptimizer
 
bool _enable_auto_optimize
 

Static Protected Attributes

static const char * _eval_error_msg []
 table of FParser eval error codes More...
 

Detailed Description

Helper class to define, parameterize and create a level set function used in meshing, often to correct the position of nodes on a surface.

Definition at line 19 of file LevelSetMeshingHelper.h.

Member Typedef Documentation

◆ SymFunction

typedef GenericSymFunction<is_ad> FunctionParserUtils< is_ad >::SymFunction
inherited

Shorthand for an autodiff function parser object.

Definition at line 62 of file FunctionParserUtils.h.

◆ SymFunctionPtr

typedef std::shared_ptr<SymFunction> FunctionParserUtils< is_ad >::SymFunctionPtr
inherited

Shorthand for an smart pointer to an autodiff function parser object.

Definition at line 65 of file FunctionParserUtils.h.

Member Enumeration Documentation

◆ FailureMethod

enum FunctionParserUtils::FailureMethod
strongprotectedinherited

Enum for failure method.

Definition at line 116 of file FunctionParserUtils.h.

116 { nan, nan_warning, error, exception } _evalerror_behavior;
enum FunctionParserUtils::FailureMethod _evalerror_behavior

Constructor & Destructor Documentation

◆ LevelSetMeshingHelper()

LevelSetMeshingHelper::LevelSetMeshingHelper ( const InputParameters parameters)

Definition at line 31 of file LevelSetMeshingHelper.C.

32  : FunctionParserUtils<false>(parameters),
34  parameters.get<unsigned int>("max_level_set_correction_iterations"))
35 {
36  if (parameters.isParamValid("level_set"))
37  {
38  _func_level_set = std::make_shared<SymFunction>();
39  // set FParser internal feature flags
41  if (parameters.isParamValid("constant_names") &&
42  parameters.isParamValid("constant_expressions"))
44  parameters.get<std::vector<std::string>>("constant_names"),
45  parameters.get<std::vector<std::string>>("constant_expressions"));
46  if (_func_level_set->Parse(parameters.get<std::string>("level_set"), "x,y,z") >= 0)
47  mooseError(
48  "Invalid function f(x,y,z)\n", _func_level_set, ".\n", _func_level_set->ErrorMsg());
49 
50  _func_params.resize(3);
51  }
52 }
void addFParserConstants(SymFunctionPtr &parser, const std::vector< std::string > &constant_names, const std::vector< std::string > &constant_expressions) const
add constants (which can be complex expressions) to the parser object
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:311
std::vector< std::pair< R1, R2 > > get(const std::string &param1, const std::string &param2) const
Combine two vector parameters into a single vector of pairs.
SymFunctionPtr _func_level_set
function parser object describing the level set
std::vector< GenericReal< is_ad > > _func_params
Array to stage the parameters passed to the functions when calling Eval.
const unsigned int _max_level_set_correction_iterations
Maximum number of iterations to correct the nodes based on the level set function.
void setParserFeatureFlags(SymFunctionPtr &) const
apply input parameters to internal feature flags of the parser object
bool isParamValid(const std::string &name) const
This method returns parameters that have been initialized in one fashion or another, i.e.

Member Function Documentation

◆ addFParserConstants()

void FunctionParserUtils< is_ad >::addFParserConstants ( SymFunctionPtr parser,
const std::vector< std::string > &  constant_names,
const std::vector< std::string > &  constant_expressions 
) const
protectedinherited

add constants (which can be complex expressions) to the parser object

Definition at line 153 of file FunctionParserUtils.C.

Referenced by LevelSetMeshingHelper(), ParsedCurveGenerator::ParsedCurveGenerator(), and ParsedODEKernel::ParsedODEKernel().

157 {
158  // check constant vectors
159  unsigned int nconst = constant_expressions.size();
160  if (nconst != constant_names.size())
161  mooseError("The parameter vectors constant_names (size " +
162  std::to_string(constant_names.size()) + ") and constant_expressions (size " +
163  std::to_string(nconst) + ") must have equal length.");
164 
165  // previously evaluated constant_expressions may be used in following constant_expressions
166  std::vector<Real> constant_values(nconst);
167 
168  for (unsigned int i = 0; i < nconst; ++i)
169  {
170  // no need to use dual numbers for the constant expressions
171  auto expression = std::make_shared<FunctionParserADBase<Real>>();
172 
173  // add previously evaluated constants
174  for (unsigned int j = 0; j < i; ++j)
175  if (!expression->AddConstant(constant_names[j], constant_values[j]))
176  mooseError("Invalid constant name: ", constant_names[j], " and value ", constant_values[j]);
177 
178  // build the temporary constant expression function
179  if (expression->Parse(constant_expressions[i], "") >= 0)
180  mooseError("Invalid constant expression\n",
181  constant_expressions[i],
182  "\n in parsed function object.\n",
183  expression->ErrorMsg());
184 
185  constant_values[i] = expression->Eval(NULL);
186 
187  if (!parser->AddConstant(constant_names[i], constant_values[i]))
188  mooseError("Invalid constant name in parsed function object");
189  }
190 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:311

◆ evaluate() [1/2]

GenericReal< is_ad > FunctionParserUtils< is_ad >::evaluate ( SymFunctionPtr parser,
const std::string &  object_name = "" 
)
protectedinherited

Evaluate FParser object and check EvalError.

Definition at line 87 of file FunctionParserUtils.C.

Referenced by ParsedSubdomainIDsGenerator::assignElemSubdomainID(), ParsedSubdomainMeshGenerator::assignElemSubdomainID(), ParsedConvergence::checkConvergence(), ParsedODEKernel::computeQpJacobian(), ParsedODEKernel::computeQpOffDiagJacobianScalar(), ParsedODEKernel::computeQpResidual(), ParsedVectorAux::computeValue(), ParsedAux::computeValue(), ArrayParsedAux::computeValue(), ParsedScalarReporter::finalize(), ParsedVectorReporter::finalize(), ParsedVectorRealReductionReporter::finalize(), ParsedVectorVectorRealReductionReporter::finalize(), ParsedPostprocessor::finalize(), ParsedExtraElementIDGenerator::generate(), ParsedGenerateNodeset::generate(), ParsedNodeTransformGenerator::generate(), ParsedCurveGenerator::generate(), ParsedGenerateSideset::generate(), ParsedDownSelectionPositions::initialize(), levelSetEvaluator(), ProjectSideSetOntoLevelSetGenerator::levelSetEvaluator(), CutMeshByLevelSetGeneratorBase::levelSetEvaluator(), ParsedCurveGenerator::pointCalculator(), ParsedElementDeletionGenerator::shouldDelete(), and SolutionUserObject::solutionSampleTime().

88 {
89  return evaluate(parser, _func_params, name);
90 }
GenericReal< is_ad > evaluate(SymFunctionPtr &, const std::string &object_name="")
Evaluate FParser object and check EvalError.
std::vector< GenericReal< is_ad > > _func_params
Array to stage the parameters passed to the functions when calling Eval.

◆ evaluate() [2/2]

GenericReal< is_ad > FunctionParserUtils< is_ad >::evaluate ( SymFunctionPtr parser,
const std::vector< GenericReal< is_ad >> &  func_params,
const std::string &  object_name = "" 
)
protectedinherited

Evaluate FParser object and check EvalError.

This version uses a supplied vector of function parameters, which is useful if an object uses more than one parsed function, which may have different function parameter values.

Definition at line 94 of file FunctionParserUtils.C.

97 {
98  using std::isnan;
99 
100  // null pointer is a shortcut for vanishing derivatives, see functionsOptimize()
101  if (parser == NULL)
102  return 0.0;
103 
104  // set desired epsilon
105  auto tmp_eps = parser->epsilon();
106  parser->setEpsilon(_epsilon);
107 
108  // evaluate expression
109  auto result = parser->Eval(func_params.data());
110 
111  // restore epsilon
112  parser->setEpsilon(tmp_eps);
113 
114  // fetch fparser evaluation error (set to unknown if the JIT result is nan)
115  int error_code = _enable_jit ? (isnan(result) ? -1 : 0) : parser->EvalError();
116 
117  // no error
118  if (error_code == 0)
119  return result;
120 
121  // hard fail or return not a number
122  switch (_evalerror_behavior)
123  {
124  case FailureMethod::nan:
125  return _quiet_nan;
126 
128  mooseWarning("In ",
129  name,
130  ": Parsed function evaluation encountered an error: ",
131  _eval_error_msg[(error_code < 0 || error_code > 5) ? 0 : error_code]);
132  return _quiet_nan;
133 
135  mooseError("In ",
136  name,
137  ": Parsed function evaluation encountered an error: ",
138  _eval_error_msg[(error_code < 0 || error_code > 5) ? 0 : error_code]);
139 
141  mooseException("In ",
142  name,
143  ": Parsed function evaluation encountered an error: ",
144  _eval_error_msg[(error_code < 0 || error_code > 5) ? 0 : error_code],
145  "\n Cutting timestep");
146  }
147 
148  return _quiet_nan;
149 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:311
void mooseWarning(Args &&... args)
Emit a warning message with the given stringified, concatenated args.
Definition: MooseError.h:345
enum FunctionParserUtils::FailureMethod _evalerror_behavior
const Real _quiet_nan
appropriate not a number value to return
static const char * _eval_error_msg[]
table of FParser eval error codes
const Real _epsilon
fuzzy comparison tolerance

◆ functionsOptimize() [1/3]

virtual void FunctionParserUtils< is_ad >::functionsOptimize ( SymFunctionPtr parsed_function)
protectedvirtualinherited

run FPOptimizer on the parsed function

◆ functionsOptimize() [2/3]

void FunctionParserUtils< true >::functionsOptimize ( SymFunctionPtr parsed_function)
protectedinherited

◆ functionsOptimize() [3/3]

void FunctionParserUtils< true >::functionsOptimize ( SymFunctionPtr parsed_function)
protectedinherited

Definition at line 211 of file FunctionParserUtils.C.

212 {
213  // set desired epsilon for optimization!
214  auto tmp_eps = parsed_function->epsilon();
215  parsed_function->setEpsilon(_epsilon);
216 
217  // base function
219  parsed_function->Optimize();
220  if (!_enable_jit || !parsed_function->JITCompile())
221  mooseError("AD parsed objects require JIT compilation to be enabled and working.");
222 
223  parsed_function->setEpsilon(tmp_eps);
224 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:311
const Real _epsilon
fuzzy comparison tolerance

◆ levelSetCorrection()

void LevelSetMeshingHelper::levelSetCorrection ( Node &  node)
protected

Correct the position of a node based on the level set function.

Parameters
nodeThe node to be corrected

Definition at line 61 of file LevelSetMeshingHelper.C.

Referenced by Boundary2DDelaunayGenerator::General2DDelaunay(), and SurfaceSubdomainsDelaunayRemesher::General2DDelaunay().

62 {
63  // Based on the given level set, we try to move the node in its normal direction
64  const Real diff = libMesh::TOLERANCE * 10.0; // A small value to perturb the node
65  const Real original_eval = levelSetEvaluator(node);
66  const Real xp_eval = levelSetEvaluator(node + Point(diff, 0.0, 0.0));
67  const Real yp_eval = levelSetEvaluator(node + Point(0.0, diff, 0.0));
68  const Real zp_eval = levelSetEvaluator(node + Point(0.0, 0.0, diff));
69  const Real xm_eval = levelSetEvaluator(node - Point(diff, 0.0, 0.0));
70  const Real ym_eval = levelSetEvaluator(node - Point(0.0, diff, 0.0));
71  const Real zm_eval = levelSetEvaluator(node - Point(0.0, 0.0, diff));
72  const Point grad = Point((xp_eval - xm_eval) / (2.0 * diff),
73  (yp_eval - ym_eval) / (2.0 * diff),
74  (zp_eval - zm_eval) / (2.0 * diff));
75  const Real xyz_diff = -original_eval / grad.contract(grad);
76  node(0) += xyz_diff * grad(0);
77  node(1) += xyz_diff * grad(1);
78  node(2) += xyz_diff * grad(2);
79 }
static constexpr Real TOLERANCE
Real levelSetEvaluator(const Point &point)
Evaluate the level set function at a given point.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

◆ levelSetEvaluator()

Real LevelSetMeshingHelper::levelSetEvaluator ( const Point &  point)
protected

Evaluate the level set function at a given point.

Parameters
pointThe point at which the level set function is to be evaluated
Returns
the value of the level set function at the given point

Definition at line 55 of file LevelSetMeshingHelper.C.

Referenced by Boundary2DDelaunayGenerator::General2DDelaunay(), SurfaceSubdomainsDelaunayRemesher::General2DDelaunay(), and levelSetCorrection().

56 {
57  return evaluate(_func_level_set, std::vector<Real>({point(0), point(1), point(2), 0}));
58 }
GenericReal< is_ad > evaluate(SymFunctionPtr &, const std::string &object_name="")
Evaluate FParser object and check EvalError.
SymFunctionPtr _func_level_set
function parser object describing the level set

◆ parsedFunctionSetup()

void FunctionParserUtils< is_ad >::parsedFunctionSetup ( SymFunctionPtr function,
const std::string &  expression,
const std::string &  variables,
const std::vector< std::string > &  constant_names,
const std::vector< std::string > &  constant_expressions,
const libMesh::Parallel::Communicator comm 
) const
protectedinherited

Performs setup steps on a SymFunction.

Parameters
functionreference to pointer to the function to set up
expressionexpression to parse
variablescomma separated string holding all the variables of the expression
constant_namesvector of names (symbols) of constants in the expression
constant_expressionsvectors of expressions (=values) of constants in the expression
commcommunicator used to stagger JIT file creations

Definition at line 228 of file FunctionParserUtils.C.

Referenced by ArrayParsedAux::ArrayParsedAux(), CutMeshByLevelSetGenerator::CutMeshByLevelSetGenerator(), ParsedSubdomainGeneratorBase::functionInitialize(), ParsedConvergence::makeParsedFunction(), ParsedElementDeletionGenerator::ParsedElementDeletionGenerator(), ParsedExtraElementIDGenerator::ParsedExtraElementIDGenerator(), ParsedGenerateNodeset::ParsedGenerateNodeset(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedNodeTransformGenerator::ParsedNodeTransformGenerator(), ParsedPostprocessor::ParsedPostprocessor(), ParsedReporterBase::ParsedReporterBase(), ProjectSideSetOntoLevelSetGenerator::ProjectSideSetOntoLevelSetGenerator(), and SolutionUserObject::SolutionUserObject().

235 {
236  // set FParser internal feature flags
237  setParserFeatureFlags(function);
238 
239  // add the constant expressions
240  addFParserConstants(function, constant_names, constant_expressions);
241 
242  // parse function
243  if (function->Parse(expression, variables) >= 0)
244  mooseError("Invalid function\n", expression, "\nError:\n", function->ErrorMsg());
245 
246  // optimize
248  function->Optimize();
249 
250  // just-in-time compile
251  if (_enable_jit)
252  {
253  // let rank 0 do the JIT compilation first
254  if (comm.rank() != 0)
255  comm.barrier();
256 
257  function->JITCompile();
258 
259  // wait for ranks > 0 to catch up
260  if (comm.rank() == 0)
261  comm.barrier();
262  }
263 }
void addFParserConstants(SymFunctionPtr &parser, const std::vector< std::string > &constant_names, const std::vector< std::string > &constant_expressions) const
add constants (which can be complex expressions) to the parser object
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:311
processor_id_type rank() const
void setParserFeatureFlags(SymFunctionPtr &) const
apply input parameters to internal feature flags of the parser object

◆ setParserFeatureFlags()

void FunctionParserUtils< is_ad >::setParserFeatureFlags ( SymFunctionPtr parser) const
inherited

apply input parameters to internal feature flags of the parser object

Definition at line 79 of file FunctionParserUtils.C.

Referenced by CutMeshByPlaneGenerator::CutMeshByPlaneGenerator(), LevelSetMeshingHelper(), ParsedCurveGenerator::ParsedCurveGenerator(), ParsedODEKernel::ParsedODEKernel(), and TransfiniteMeshGenerator::TransfiniteMeshGenerator().

80 {
81  parser->SetADFlags(SymFunction::ADCacheDerivatives, _enable_ad_cache);
82  parser->SetADFlags(SymFunction::ADAutoOptimize, _enable_auto_optimize);
83 }

◆ validParams()

InputParameters LevelSetMeshingHelper::validParams ( )
static

Definition at line 13 of file LevelSetMeshingHelper.C.

Referenced by Boundary2DDelaunayGenerator::validParams(), and SurfaceSubdomainsDelaunayRemesher::validParams().

14 {
16  params.renameParameterGroup("Parsed expression advanced", "Level set shape parsed expression");
17 
18  params.addParam<std::string>(
19  "level_set",
20  "Level set used to achieve more accurate reverse projection compared to interpolation.");
21  params.addParam<unsigned int>(
22  "max_level_set_correction_iterations",
23  3,
24  "Maximum number of iterations to correct the nodes based on the level set function.");
25  params.addParamNamesToGroup("level_set max_level_set_correction_iterations",
26  "Level set shape correction");
27 
28  return params;
29 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void renameParameterGroup(const std::string &old_name, const std::string &new_name)
This method renames a parameter group.
static InputParameters validParams()
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an optional parameter and a documentation string to the InputParameters object...
void addParamNamesToGroup(const std::string &space_delim_names, const std::string group_name)
This method takes a space delimited list of parameter names and adds them to the specified group name...

Member Data Documentation

◆ _disable_fpoptimizer

bool FunctionParserUtils< is_ad >::_disable_fpoptimizer
protectedinherited

Definition at line 111 of file FunctionParserUtils.h.

Referenced by ParsedODEKernel::ParsedODEKernel().

◆ _enable_ad_cache

bool FunctionParserUtils< is_ad >::_enable_ad_cache
protectedinherited

Definition at line 110 of file FunctionParserUtils.h.

◆ _enable_auto_optimize

bool FunctionParserUtils< is_ad >::_enable_auto_optimize
protectedinherited

Definition at line 112 of file FunctionParserUtils.h.

◆ _enable_jit

bool FunctionParserUtils< is_ad >::_enable_jit
protectedinherited

feature flags

Definition at line 109 of file FunctionParserUtils.h.

Referenced by ParsedODEKernel::ParsedODEKernel().

◆ _epsilon

const Real FunctionParserUtils< is_ad >::_epsilon
protectedinherited

fuzzy comparison tolerance

Definition at line 128 of file FunctionParserUtils.h.

◆ _eval_error_msg

const char * FunctionParserUtils< is_ad >::_eval_error_msg
staticprotectedinherited

table of FParser eval error codes

Definition at line 122 of file FunctionParserUtils.h.

◆ _evalerror_behavior

enum FunctionParserUtils::FailureMethod FunctionParserUtils< is_ad >::_evalerror_behavior
protectedinherited

◆ _func_level_set

SymFunctionPtr LevelSetMeshingHelper::_func_level_set
protected

◆ _func_params

std::vector<GenericReal<is_ad> > FunctionParserUtils< is_ad >::_func_params
protectedinherited

Array to stage the parameters passed to the functions when calling Eval.

Definition at line 125 of file FunctionParserUtils.h.

Referenced by ArrayParsedAux::ArrayParsedAux(), ParsedSubdomainIDsGenerator::assignElemSubdomainID(), ParsedSubdomainMeshGenerator::assignElemSubdomainID(), ParsedVectorAux::computeValue(), ArrayParsedAux::computeValue(), ParsedAux::computeValue(), CutMeshByLevelSetGenerator::CutMeshByLevelSetGenerator(), CutMeshByPlaneGenerator::CutMeshByPlaneGenerator(), ParsedScalarReporter::finalize(), ParsedVectorRealReductionReporter::finalize(), ParsedVectorReporter::finalize(), ParsedVectorVectorRealReductionReporter::finalize(), ParsedPostprocessor::finalize(), ParsedSubdomainGeneratorBase::functionInitialize(), ParsedExtraElementIDGenerator::generate(), ParsedGenerateNodeset::generate(), ParsedCurveGenerator::generate(), ParsedNodeTransformGenerator::generate(), ParsedGenerateSideset::generate(), ParsedDownSelectionPositions::initialize(), ProjectSideSetOntoLevelSetGenerator::levelSetEvaluator(), CutMeshByLevelSetGeneratorBase::levelSetEvaluator(), LevelSetMeshingHelper(), ParsedCurveGenerator::ParsedCurveGenerator(), ParsedElementDeletionGenerator::ParsedElementDeletionGenerator(), ParsedExtraElementIDGenerator::ParsedExtraElementIDGenerator(), ParsedGenerateNodeset::ParsedGenerateNodeset(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedNodeTransformGenerator::ParsedNodeTransformGenerator(), ParsedODEKernel::ParsedODEKernel(), ParsedPostprocessor::ParsedPostprocessor(), ParsedReporterBase::ParsedReporterBase(), ParsedCurveGenerator::pointCalculator(), ProjectSideSetOntoLevelSetGenerator::ProjectSideSetOntoLevelSetGenerator(), ParsedElementDeletionGenerator::shouldDelete(), SolutionUserObject::solutionSampleTime(), SolutionUserObject::SolutionUserObject(), TransfiniteMeshGenerator::TransfiniteMeshGenerator(), and ParsedODEKernel::updateParams().

◆ _max_level_set_correction_iterations

const unsigned int LevelSetMeshingHelper::_max_level_set_correction_iterations
protected

Maximum number of iterations to correct the nodes based on the level set function.

Definition at line 28 of file LevelSetMeshingHelper.h.

Referenced by Boundary2DDelaunayGenerator::General2DDelaunay(), and SurfaceSubdomainsDelaunayRemesher::General2DDelaunay().

◆ _quiet_nan

const Real FunctionParserUtils< is_ad >::_quiet_nan
protectedinherited

appropriate not a number value to return

Definition at line 119 of file FunctionParserUtils.h.


The documentation for this class was generated from the following files: