queso-0.57.1
|
A class for generic covariances. More...
#include <GenericScalarCovarianceFunction.h>
Public Member Functions | |
Constructor/Destructor methods | |
GenericScalarCovarianceFunction (const char *prefix, const VectorSet< V, M > &domainSet, double(*covRoutinePtr)(const V &positionVector1, const V &positionVector2, const void *routineDataPtr), const void *routinesDataPtr) | |
Default constructor. More... | |
virtual | ~GenericScalarCovarianceFunction () |
Virtual destructor. More... | |
Public Member Functions inherited from QUESO::BaseScalarCovarianceFunction< V, M > | |
BaseScalarCovarianceFunction (const char *prefix, const VectorSet< V, M > &basicDomainSet) | |
Default constructor. More... | |
virtual | ~BaseScalarCovarianceFunction () |
Virtual destructor. More... | |
const VectorSet< V, M > & | basicDomainSet () const |
Domain set; access to private attribute m_basicDomainSet. More... | |
Math methods | |
double(* | m_covRoutinePtr )(const V &positionVector1, const V &positionVector2, const void *routineDataPtr) |
const void * | m_routineDataPtr |
double | value (const V &positionVector1, const V &positionVector2) const |
Calculates the value of the generic covariance function. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QUESO::BaseScalarCovarianceFunction< V, M > | |
const BaseEnvironment & | m_env |
std::string | m_prefix |
const VectorSet< V, M > & | m_basicDomainSet |
A class for generic covariances.
This class implements a generic covariance functions, by calling a routine (via pointer).
Definition at line 48 of file GenericScalarCovarianceFunction.h.
QUESO::GenericScalarCovarianceFunction< V, M >::GenericScalarCovarianceFunction | ( | const char * | prefix, |
const VectorSet< V, M > & | domainSet, | ||
double(*)(const V &positionVector1, const V &positionVector2, const void *routineDataPtr) | covRoutinePtr, | ||
const void * | routinesDataPtr | ||
) |
Default constructor.
Instantiates an object of the class given a prefix, the domain set, the pointer to the routine.
Definition at line 31 of file GenericScalarCovarianceFunction.C.
References QUESO::BaseEnvironment::displayVerbosity(), QUESO::BaseScalarCovarianceFunction< V, M >::m_env, QUESO::BaseScalarCovarianceFunction< V, M >::m_prefix, and QUESO::BaseEnvironment::subDisplayFile().
|
virtual |
Virtual destructor.
Definition at line 55 of file GenericScalarCovarianceFunction.C.
|
virtual |
Calculates the value of the generic covariance function.
This function accesses the routine that calculates the covariance function.
Implements QUESO::BaseScalarCovarianceFunction< V, M >.
Definition at line 72 of file GenericScalarCovarianceFunction.C.
|
protected |
Definition at line 73 of file GenericScalarCovarianceFunction.h.
|
protected |
Definition at line 74 of file GenericScalarCovarianceFunction.h.