queso-0.57.1
|
A class for handling generic MDFs of vector functions. More...
#include <GenericVectorMdf.h>
Public Member Functions | |
Constructor/Destructor methods | |
GenericVectorMdf (const char *prefix, const VectorSet< V, M > &domainSet, double(*routinePtr)(const V ¶mValues, const void *routineDataPtr, V &mdfVec), const void *routineDataPtr) | |
Constructor. More... | |
~GenericVectorMdf () | |
Destructor. More... | |
Mathematical method | |
void | values (const V ¶mValues, V &mdfVec) const |
Finds the values of the vector MDF at each element of paramValues , by calling m_routinePtr , and saves it at mdfValues . More... | |
I/O method | |
void | print (std::ostream &os) const |
TODO: Prints the vector MDF. More... | |
Public Member Functions inherited from QUESO::BaseVectorMdf< V, M > | |
BaseVectorMdf (const char *prefix, const VectorSet< V, M > &domainSet) | |
Default constructor. More... | |
virtual | ~BaseVectorMdf () |
Virtual destructor. More... | |
const VectorSet< V, M > & | domainSet () const |
Returns the domain set; access to protected attribute m_domainSet. More... | |
Protected Attributes | |
double(* | m_routinePtr )(const V ¶mValues, const void *routineDataPtr, V &mdfVec) |
const void * | m_routineDataPtr |
Protected Attributes inherited from QUESO::BaseVectorMdf< V, M > | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_domainSet |
A class for handling generic MDFs of vector functions.
Definition at line 46 of file GenericVectorMdf.h.
QUESO::GenericVectorMdf< V, M >::GenericVectorMdf | ( | const char * | prefix, |
const VectorSet< V, M > & | domainSet, | ||
double(*)(const V ¶mValues, const void *routineDataPtr, V &mdfVec) | routinePtr, | ||
const void * | routineDataPtr | ||
) |
Constructor.
Instantiates an object of the class given a prefix, the domain set, and a routine (acting as a math function).
Definition at line 31 of file GenericVectorMdf.C.
QUESO::GenericVectorMdf< V, M >::~GenericVectorMdf | ( | ) |
|
virtual |
TODO: Prints the vector MDF.
Implements QUESO::BaseVectorMdf< V, M >.
Definition at line 60 of file GenericVectorMdf.C.
|
virtual |
Finds the values of the vector MDF at each element of paramValues
, by calling m_routinePtr
, and saves it at mdfValues
.
Implements QUESO::BaseVectorMdf< V, M >.
Definition at line 50 of file GenericVectorMdf.C.
|
protected |
Definition at line 76 of file GenericVectorMdf.h.
|
protected |
Definition at line 75 of file GenericVectorMdf.h.