25 #include <queso/VectorSubset.h>
26 #include <queso/VectorSpace.h>
27 #include <queso/GslVector.h>
28 #include <queso/GslMatrix.h>
33 template <
class V,
class M>
40 "VectorSubset<V,M>::constructor(), default",
41 "should not be used by user");
45 template <
class V,
class M>
49 :
VectorSet<V,M>(vectorSpace.env(), prefix, volume),
50 m_vectorSpace(&vectorSpace)
64 template <
class V,
class M>
67 if ((m_env.subDisplayFile()) && (m_env.displayVerbosity() >= 54)) {
68 *m_env.subDisplayFile() <<
"Entering VectorSubset<V,M>::destructor()"
72 if ((m_env.subDisplayFile()) && (m_env.displayVerbosity() >= 54)) {
73 *m_env.subDisplayFile() <<
"Leaving VectorSubset<V,M>::destructor()"
79 template <
class V,
class M>
82 return *m_vectorSpace;
86 template <
class V,
class M>
89 os <<
"In VectorSubset<V,M>::print()"
90 <<
": nothing to be printed" << std::endl;
int worldRank() const
Returns the process world rank.
A templated class for handling sets.
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
virtual ~VectorSubset()
Destructor.
const BaseEnvironment & m_env
#define UQ_FATAL_TEST_MACRO(test, givenRank, where, what)
const VectorSpace< V, M > & vectorSpace() const
Vector space to which this set belongs to. See template specialization.
A templated class for handling subsets.
VectorSubset()
Default Constructor.
virtual void print(std::ostream &os) const
Prints nothing.
unsigned int displayVerbosity() const
A class representing a vector space.