| 
    queso-0.55.0
    
   | 
 
A templated (base) class for handling vector functions. More...
#include <VectorFunction.h>


Public Member Functions | |
Constructor/Destructor methods.  | |
| 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... | |
Mathematical methods.  | |
| 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... | |
| virtual 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 =0 | 
| Computes the image vector. See template specialization.  More... | |
Protected Attributes | |
| 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 templated (base) class for handling vector functions.
This class allows the mathematical definition of a vector function such as: 
. It requires the specification of the domain 
, which is a subset of the vector space (set) 
, (and have already been introduced by the class VectorSet) and of the image set 
. 
Definition at line 50 of file VectorFunction.h.
| 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.
Instantiates an object of the class, i.e. a vector function, given a prefix, its domain and image.
Definition at line 33 of file VectorFunction.C.
      
  | 
  virtual | 
      
  | 
  pure virtual | 
Computes the image vector. See template specialization.
Implemented in QUESO::GenericVectorFunction< P_V, P_M, Q_V, Q_M >, and QUESO::ConstantVectorFunction< P_V, P_M, Q_V, Q_M >.
| const VectorSet< P_V, P_M > & QUESO::BaseVectorFunction< P_V, P_M, Q_V, Q_M >::domainSet | ( | ) | const | 
Access to the protected attribute m_domainSet: domain set of the vector function. It is an instance of the class VectorSet. 
This is one example of the advantage of how QUESO represents mathematical identities in a straightforward manner.
Definition at line 54 of file VectorFunction.C.
| const VectorSet< Q_V, Q_M > & QUESO::BaseVectorFunction< P_V, P_M, 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. 
Definition at line 62 of file VectorFunction.C.
      
  | 
  protected | 
Domain set of the vector function.
Definition at line 86 of file VectorFunction.h.
      
  | 
  protected | 
Definition at line 82 of file VectorFunction.h.
      
  | 
  protected | 
Image set of the vector function.
Definition at line 89 of file VectorFunction.h.
      
  | 
  protected | 
Definition at line 83 of file VectorFunction.h.