Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
Main Page
Classes
Class Index
Class List
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
v
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Typedefs
a
b
c
d
e
f
g
i
k
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
include
outputs
formatters
InputFileFormatter.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 "
SyntaxTree.h
"
13
18
class
InputFileFormatter
:
public
SyntaxTree
19
{
20
public
:
21
InputFileFormatter
(
bool
dump_mode);
22
23
virtual
std::string
24
printBlockOpen
(
const
std::string &
name
,
short
depth,
const
std::string &
/*doc*/
)
override
;
25
virtual
std::string
printBlockClose
(
const
std::string &
name
,
short
depth)
const override
;
26
virtual
std::string
printParams
(
const
std::string & prefix,
27
const
std::string & fully_qualified_name,
28
InputParameters
& params,
29
short
depth,
30
const
std::string & search_string,
31
bool
& found)
override
;
32
33
protected
:
34
bool
_dump_mode
;
35
};
name
std::string name(const ElemQuality q)
InputFileFormatter::InputFileFormatter
InputFileFormatter(bool dump_mode)
Definition:
InputFileFormatter.C:18
SyntaxTree.h
InputFileFormatter::printBlockOpen
virtual std::string printBlockOpen(const std::string &name, short depth, const std::string &) override
This method is called at the beginning of each Node in the tree.
Definition:
InputFileFormatter.C:21
InputFileFormatter::printBlockClose
virtual std::string printBlockClose(const std::string &name, short depth) const override
This method is called at the end of of each Node in the tree.
Definition:
InputFileFormatter.C:35
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:66
InputFileFormatter::_dump_mode
bool _dump_mode
Definition:
InputFileFormatter.h:34
InputFileFormatter::printParams
virtual std::string printParams(const std::string &prefix, const std::string &fully_qualified_name, InputParameters ¶ms, short depth, const std::string &search_string, bool &found) override
This function is called for each InputParameters object stored at a particular node.
Definition:
InputFileFormatter.C:47
SyntaxTree
Definition:
SyntaxTree.h:23
InputFileFormatter
This class produces produces a dump of the InputParameters that appears like the normal input file sy...
Definition:
InputFileFormatter.h:18
Generated on Fri May 23 2025 18:04:36 for https://mooseframework.inl.gov by
1.8.14