www.mooseframework.org
include
outputs
formatters
ExodusFormatter.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 "
InputFileFormatter.h
"
13
14
#include <sstream>
15
#include <string>
16
#include <vector>
17
18
class
ActionWarehouse
;
19
20
/*
21
* Dumps the input file in the Exodus output
22
*/
23
class
ExodusFormatter
:
public
InputFileFormatter
24
{
25
public
:
26
ExodusFormatter
();
27
28
void
printInputFile
(
ActionWarehouse
& wh);
29
30
void
format
();
31
32
std::vector<std::string> &
getInputFileRecord
() {
return
_input_file_record
; }
33
34
protected
:
35
std::stringstream
_ss
;
36
std::vector<std::string>
_input_file_record
;
37
};
InputFileFormatter.h
ExodusFormatter::_input_file_record
std::vector< std::string > _input_file_record
Definition:
ExodusFormatter.h:36
ActionWarehouse
Storage for action instances.
Definition:
ActionWarehouse.h:34
ExodusFormatter::_ss
std::stringstream _ss
Definition:
ExodusFormatter.h:35
ExodusFormatter::getInputFileRecord
std::vector< std::string > & getInputFileRecord()
Definition:
ExodusFormatter.h:32
ExodusFormatter::ExodusFormatter
ExodusFormatter()
Definition:
ExodusFormatter.C:24
ExodusFormatter::format
void format()
Definition:
ExodusFormatter.C:50
ExodusFormatter::printInputFile
void printInputFile(ActionWarehouse &wh)
Definition:
ExodusFormatter.C:27
ExodusFormatter
Definition:
ExodusFormatter.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 Thu Apr 18 2024 15:23:08 for www.mooseframework.org by
1.8.14