https://mooseframework.inl.gov
include
meshgenerators
ParsedNodeTransformGenerator.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 "
FunctionParserUtils.h
"
14
15
#include <array>
16
17
/*
18
* A mesh generator that applies an arbitrary transformation to the nodal coordinates of a mesh
19
*/
20
class
ParsedNodeTransformGenerator
:
public
MeshGenerator
,
public
FunctionParserUtils
<false>
21
{
22
public
:
23
static
InputParameters
validParams
();
24
25
ParsedNodeTransformGenerator
(
const
InputParameters
&
parameters
);
26
27
std::unique_ptr<MeshBase>
generate
()
override
;
28
29
protected
:
31
static
const
std::string
_func_name
[];
32
34
std::unique_ptr<MeshBase> &
_input
;
35
37
std::array<SymFunctionPtr, 3>
_functions
;
38
};
ParsedNodeTransformGenerator::generate
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
Definition:
ParsedNodeTransformGenerator.C:64
ParsedNodeTransformGenerator::_input
std::unique_ptr< MeshBase > & _input
the input mesh
Definition:
ParsedNodeTransformGenerator.h:34
FunctionParserUtils
Definition:
FunctionParserUtils.h:54
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:66
ParsedNodeTransformGenerator::ParsedNodeTransformGenerator
ParsedNodeTransformGenerator(const InputParameters ¶meters)
Definition:
ParsedNodeTransformGenerator.C:45
ParsedNodeTransformGenerator
Definition:
ParsedNodeTransformGenerator.h:20
ParsedNodeTransformGenerator::_func_name
static const std::string _func_name[]
names of each component function parameter
Definition:
ParsedNodeTransformGenerator.h:31
ParsedNodeTransformGenerator::validParams
static InputParameters validParams()
Definition:
ParsedNodeTransformGenerator.C:21
MooseBaseParameterInterface::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition:
MooseBaseParameterInterface.h:62
ParsedNodeTransformGenerator::_functions
std::array< SymFunctionPtr, 3 > _functions
the node position functions
Definition:
ParsedNodeTransformGenerator.h:37
FunctionParserUtils.h
MeshGenerator
MeshGenerators are objects that can modify or add to an existing mesh.
Definition:
MeshGenerator.h:32
MeshGenerator.h
Generated on Thu Jul 17 2025 01:32:07 for https://mooseframework.inl.gov by
1.8.14