https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
};
FunctionParserUtils.h
MeshGenerator.h
FunctionParserUtils
Definition
FunctionParserUtils.h:55
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MeshGenerator
MeshGenerators are objects that can modify or add to an existing mesh.
Definition
MeshGenerator.h:34
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
ParsedNodeTransformGenerator
Definition
ParsedNodeTransformGenerator.h:21
ParsedNodeTransformGenerator::_functions
std::array< SymFunctionPtr, 3 > _functions
the node position functions
Definition
ParsedNodeTransformGenerator.h:37
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
ParsedNodeTransformGenerator::_func_name
static const std::string _func_name[]
names of each component function parameter
Definition
ParsedNodeTransformGenerator.h:17
ParsedNodeTransformGenerator::validParams
static InputParameters validParams()
Definition
ParsedNodeTransformGenerator.C:21
Generated on Fri Aug 21 2026 13:33:50 for https://mooseframework.inl.gov by
1.9.8