vecincbc.cpp File Reference

#include "vecincbc.h"
#include "sfunctions.h"
Include dependency graph for vecincbc.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, VecIncBC &vbc)

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
VecIncBC vbc 
)

Definition at line 115 of file vecincbc.cpp.

00116 {
00117   //VecIncBC::iterator it = vbc.begin();
00118   std::vector<VecIncBC::Node >::const_iterator it = vbc.m_list.begin();
00119   std::vector<VecIncBC::Node >::const_iterator itlast = vbc.m_list.end();
00120   itlast--;
00121   while(it != itlast)
00122   {
00123     out << it->index <<") " << "Near Cell" << it->data.nearCell << " Add: " <<  it->data.p << ": ";
00124     for (unsigned i=0;i<vbc._vectors_size;i++)
00125     {
00126       out << it->data.p[i] << " ";
00127     }
00128     out << std::endl;
00129     it++;
00130   }
00131   return out;
00132 }

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Sun Apr 8 23:12:55 2012 for CO2INJECTION by  doxygen 1.6.3