|
queso-0.53.0
|
A class for handling vector functions which image is constant. More...
#include <ConstantVectorFunction.h>


Public Member Functions | |
Constructor/Destructor methods | |
| ConstantVectorFunction (const char *prefix, const VectorSet< P_V, P_M > &domainSet, const VectorSet< Q_V, Q_M > &imageSet, const Q_V &constantImageVector) | |
| Default Constructor. More... | |
| virtual | ~ConstantVectorFunction () |
| Destructor. More... | |
Mathematical method | |
| void | compute (const P_V &domainVector, const P_V *domainDirection, Q_V &imageVector, DistArray< P_V * > *gradVectors, DistArray< P_M * > *hessianMatrices, DistArray< P_V * > *hessianEffects) const |
Calculates the image vector: assigns to the protected attribute m_constantImageVector the value of the constant vector imageVector. More... | |
Public Member Functions inherited from QUESO::BaseVectorFunction< P_V, P_M, Q_V, Q_M > | |
| BaseVectorFunction (const char *prefix, const VectorSet< P_V, P_M > &domainSet, const VectorSet< Q_V, Q_M > &imageSet) | |
| Default Constructor. More... | |
| virtual | ~BaseVectorFunction () |
| Destructor. More... | |
| const VectorSet< P_V, P_M > & | domainSet () const |
Access to the protected attribute m_domainSet: domain set of the vector function. It is an instance of the class VectorSet. More... | |
| const VectorSet< Q_V, Q_M > & | imageSet () const |
Access to the protected attribute m_imageSet: image set of the vector function/ It is an instance of the class VectorSet. More... | |
Protected Attributes | |
| const Q_V * | m_constantImageVector |
Protected Attributes inherited from QUESO::BaseVectorFunction< P_V, P_M, Q_V, Q_M > | |
| const BaseEnvironment & | m_env |
| std::string | m_prefix |
| const VectorSet< P_V, P_M > & | m_domainSet |
| Domain set of the vector function. More... | |
| const VectorSet< Q_V, Q_M > & | m_imageSet |
| Image set of the vector function. More... | |
A class for handling vector functions which image is constant.
This class allows the mathematical definition of a vector-valued function which image set is constant vector.
Definition at line 49 of file ConstantVectorFunction.h.
| QUESO::ConstantVectorFunction< P_V, P_M, Q_V, Q_M >::ConstantVectorFunction | ( | const char * | prefix, |
| const VectorSet< P_V, P_M > & | domainSet, | ||
| const VectorSet< Q_V, Q_M > & | imageSet, | ||
| const Q_V & | constantImageVector | ||
| ) |
Default Constructor.
Instantiates an object of the class, i.e. a vector function, given a prefix, its domain and constant image.
Definition at line 33 of file ConstantVectorFunction.C.
References QUESO::ConstantVectorFunction< P_V, P_M, Q_V, Q_M >::m_constantImageVector.
|
virtual |
Destructor.
Definition at line 49 of file ConstantVectorFunction.C.
|
virtual |
Calculates the image vector: assigns to the protected attribute m_constantImageVector the value of the constant vector imageVector.
Implements QUESO::BaseVectorFunction< P_V, P_M, Q_V, Q_M >.
Definition at line 57 of file ConstantVectorFunction.C.
References queso_require_msg.
|
protected |
Definition at line 74 of file ConstantVectorFunction.h.
Referenced by QUESO::ConstantVectorFunction< P_V, P_M, Q_V, Q_M >::ConstantVectorFunction().