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;
 
   63     typename ScopedPtr<BoxSubset<V,M> >::Type 
m_domain;
 
   67     typename ScopedPtr<InterpolationSurrogateData<V,M> >::Type 
m_data;
 
   72 #endif // UQ_INTERPOLATION_SURROGATE_IO_BASE_H 
virtual ~InterpolationSurrogateIOBase()
 
virtual void read(const std::string &filename, const FullEnvironment &env, const std::string &vector_space_prefix, int reading_rank)=0
 
ScopedPtr< VectorSpace< V, M > >::Type m_vector_space
 
ScopedPtr< BoxSubset< V, M > >::Type m_domain
 
This class sets up the full environment underlying the use of the QUESO library by an executable...
 
ScopedPtr< InterpolationSurrogateData< V, M > >::Type m_data
 
InterpolationSurrogateIOBase()
 
const InterpolationSurrogateData< V, M > & data() const 
Reference to data object. 
 
std::vector< unsigned int > m_n_points
 
virtual void write(const std::string &filename, const InterpolationSurrogateData< V, M > &data, int writing_rank) const =0