25 #ifndef UQ_INTERPOLATION_SURROGATE_IO_BASE_H
26 #define UQ_INTERPOLATION_SURROGATE_IO_BASE_H
29 #include <queso/ScopedPtr.h>
30 #include <queso/InterpolationSurrogateData.h>
34 template<
class V,
class M>
43 virtual void read(
const std::string& filename,
45 const std::string& vector_space_prefix,
46 int reading_rank ) =0;
48 virtual void write(
const std::string& filename,
50 int writing_rank )
const =0;
72 #endif // UQ_INTERPOLATION_SURROGATE_IO_BASE_H
InterpolationSurrogateIOBase()
ScopedPtr< VectorSpace< V, M > >::Type m_vector_space
virtual void write(const std::string &filename, const InterpolationSurrogateData< V, M > &data, int writing_rank) const =0
This class sets up the full environment underlying the use of the QUESO library by an executable...
std::vector< unsigned int > m_n_points
ScopedPtr< InterpolationSurrogateData< V, M > >::Type m_data
const InterpolationSurrogateData< V, M > & data() const
Reference to data object.
virtual ~InterpolationSurrogateIOBase()
virtual void read(const std::string &filename, const FullEnvironment &env, const std::string &vector_space_prefix, int reading_rank)=0
ScopedPtr< BoxSubset< V, M > >::Type m_domain