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] <<
" ";
unsigned int displayVerbosity() const
BaseOneDGrid(const BaseEnvironment &env, const char *prefix)
Default constructor.
virtual ~BaseOneDGrid()
Virtual destructor.
const BaseEnvironment & m_env
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
void print(std::ostream &ofsvar) const
Prints the values of the grid points.
Base class for accommodating one-dimensional grids.