queso-0.51.1
Public Attributes | Private Member Functions | List of all members
QUESO::SfpOptionsValues Class Reference

This class provides options for a Statistical Forward Problem if no input file is available. More...

#include <StatisticalForwardProblemOptions.h>

Public Member Functions

 SfpOptionsValues ()
 Constructor/Destructor methods. More...
 
 SfpOptionsValues (const SfpOptionsValues &src)
 Copy constructor. More...
 
 ~SfpOptionsValues ()
 Destructor. More...
 
Set methods
SfpOptionsValuesoperator= (const SfpOptionsValues &rhs)
 Assignment operator; it copies rhs to this. More...
 

Public Attributes

bool m_computeSolution
 
bool m_computeCovariances
 
bool m_computeCorrelations
 
std::string m_dataOutputFileName
 
std::set< unsigned int > m_dataOutputAllowedSet
 

Private Member Functions

void copy (const SfpOptionsValues &src)
 Copies the option values from src to this. More...
 

Detailed Description

This class provides options for a Statistical Forward Problem if no input file is available.

In order to solve a Statistical Forward Problem (SFP), QUESO expects some options for its methods to be fully defined. This class provides default values for such options if no input file is available.

Definition at line 57 of file StatisticalForwardProblemOptions.h.

Constructor & Destructor Documentation

QUESO::SfpOptionsValues::SfpOptionsValues ( )

Constructor/Destructor methods.

Default constructor.

Assigns the default suite of options to the Statistical Forward Problem.

Definition at line 35 of file StatisticalForwardProblemOptions.C.

36  :
41 //m_dataOutputAllowedSet(),
42 #ifdef UQ_SFP_READS_SOLVER_OPTION
43  m_solverString (UQ_SFP_SOLVER_ODV ),
44 #endif
45 {
46 }
#define UQ_SFP_COMPUTE_SOLUTION_ODV
#define UQ_SFP_COMPUTE_COVARIANCES_ODV
#define UQ_SFP_COMPUTE_CORRELATIONS_ODV
#define UQ_SFP_DATA_OUTPUT_FILE_NAME_ODV
QUESO::SfpOptionsValues::SfpOptionsValues ( const SfpOptionsValues src)

Copy constructor.

It assigns the same options values from src to this.

Definition at line 48 of file StatisticalForwardProblemOptions.C.

References copy().

49 {
50  this->copy(src);
51 }
void copy(const SfpOptionsValues &src)
Copies the option values from src to this.
QUESO::SfpOptionsValues::~SfpOptionsValues ( )

Destructor.

Definition at line 53 of file StatisticalForwardProblemOptions.C.

54 {
55 }

Member Function Documentation

void QUESO::SfpOptionsValues::copy ( const SfpOptionsValues src)
private

Copies the option values from src to this.

Definition at line 65 of file StatisticalForwardProblemOptions.C.

References m_computeCorrelations, m_computeCovariances, m_computeSolution, m_dataOutputAllowedSet, and m_dataOutputFileName.

Referenced by operator=(), and SfpOptionsValues().

66 {
67  m_computeSolution = src.m_computeSolution;
68  m_computeCovariances = src.m_computeCovariances;
69  m_computeCorrelations = src.m_computeCorrelations;
70  m_dataOutputFileName = src.m_dataOutputFileName;
71  m_dataOutputAllowedSet = src.m_dataOutputAllowedSet;
72 #ifdef UQ_SFP_READS_SOLVER_OPTION
73  m_solverString = src.m_solverString;
74 #endif
75 
76  //m_mcOptionsValues = src.m_mcOptionsValues;
77 
78  return;
79 }
std::set< unsigned int > m_dataOutputAllowedSet
SfpOptionsValues & QUESO::SfpOptionsValues::operator= ( const SfpOptionsValues rhs)

Assignment operator; it copies rhs to this.

Definition at line 58 of file StatisticalForwardProblemOptions.C.

References copy().

59 {
60  this->copy(rhs);
61  return *this;
62 }
void copy(const SfpOptionsValues &src)
Copies the option values from src to this.

Member Data Documentation

bool QUESO::SfpOptionsValues::m_computeCorrelations
bool QUESO::SfpOptionsValues::m_computeCovariances
bool QUESO::SfpOptionsValues::m_computeSolution
std::set<unsigned int> QUESO::SfpOptionsValues::m_dataOutputAllowedSet
std::string QUESO::SfpOptionsValues::m_dataOutputFileName

The documentation for this class was generated from the following files:

Generated on Thu Apr 23 2015 19:26:18 for queso-0.51.1 by  doxygen 1.8.5