![]() |
Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
|
Does a whole bunch of nothing other than renaming variables. More...
#include <Converter.h>
Public Member Functions | |
| NameConverter () | |
| NameConverter (const std::string &outputName, const std::string &inputName) | |
| virtual double | query (const std::vector< double > &inputs) const |
| Perform the calculation. More... | |
Public Member Functions inherited from sierra::nalu::Converter | |
| Converter (const std::string &converterType) | |
| virtual | ~Converter () |
| const std::string & | name () const |
| Get the name of the variable returned by this Converter. More... | |
| const std::vector< std::string > & | input_names () const |
| Get the list of input variables, in the order that they are to be provided to the query() call. More... | |
| unsigned int | dimension () const |
| void | print_summary () const |
| Print a summary of this Converter configuration. More... | |
| virtual void | read_hdf5 (H5IO &io) |
| Read this Converter from the provided I/O device. More... | |
Private Member Functions | |
| NameConverter | operator= (const NameConverter &) |
Additional Inherited Members | |
Protected Attributes inherited from sierra::nalu::Converter | |
| std::string | name_ |
| std::vector< std::string > | inputNames_ |
| unsigned int | dimension_ |
Does a whole bunch of nothing other than renaming variables.
This converter simply passes the input variable right through to the output, without modification. It is primarily used for testing and debugging, although it can be used for simply renaming table variables so that the Property class advertises a different input name.
| sierra::nalu::NameConverter::NameConverter | ( | ) |
| sierra::nalu::NameConverter::NameConverter | ( | const std::string & | outputName, |
| const std::string & | inputName | ||
| ) |
|
private |
|
virtual |
Perform the calculation.
| inputs | : Array of independent variable values |
Implements sierra::nalu::Converter.
1.8.11