GenGeo  1.1
MNTable2D.cc File Reference
#include "MNTable2D.h"
#include <utility>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <fstream>
Include dependency graph for MNTable2D.cc:

Functions

ostream & operator<< (ostream &ost, const MNTable2D &T)

Function Documentation

ostream& operator<< ( ostream &  ost,
const MNTable2D T 
)

Output the content of a MNTable2D to an ostream. The output format depends on the value of MNTable2D::s_output_style (see MNTable2D::SetOutputStyle). If it is set to 0, output suitable for debugging is generated, if it is set to 1 output in the esys .geo format is generated. If MNTable2D::s_output_style is set to 2, the output format is VTK-XML.

Parameters
ostthe output stream
Tthe table

References MNTable2D::idx(), MNTable2D::m_bonds, MNTable2D::m_celldim, MNTable2D::m_data, MNTable2D::m_nx, MNTable2D::m_ny, MNTable2D::m_x0, MNTable2D::m_x_periodic, MNTable2D::m_y0, MNTable2D::m_y_periodic, MNTCell::NParts(), MNTable2D::s_output_style, MNTCell::SetOutputStyle(), and MNTable2D::WriteAsVtkXml().

Here is the call graph for this function: