25 #include <queso/OneDGrid.h>
35 m_prefix((std::string)(prefix)+
"grid")
60 os << m_prefix <<
"_sub" << m_env.subIdString() <<
" = zeros(" << this->
size()
64 os << m_prefix <<
"_sub" << m_env.subIdString() <<
" = [";
65 for (
unsigned int j = 0; j < this->
size(); ++j) {
66 os << (*this)[j] <<
" ";
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
BaseOneDGrid(const BaseEnvironment &env, const char *prefix)
Default constructor.
Base class for accommodating one-dimensional grids.
const BaseEnvironment & m_env
virtual ~BaseOneDGrid()
Virtual destructor.
unsigned int displayVerbosity() const
void print(std::ostream &ofsvar) const
Prints the values of the grid points.
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).