src/io/PovrayWriter.cpp
void PovrayWriter::writeTestStuff(ofstream& out, DataCollector<>& dataCollector)
    {
      Mesh* mesh = dataCollector.getMesh();

      out << "/*" << endl;
      out << "TestData:" << endl;

      int dow = Global::getGeo(WORLD);
      out << " world dimension:\t" << dow << endl;

      out << " dimension:\t" << mesh->getDim() << endl;
      out << " numberOfNodes:\t" << mesh->getNumberOfNodes() << endl;
      out << " numberOfEdges:\t" << mesh->getNumberOfEdges() << endl;
      out << " numberOfVertices:\t" << mesh->getNumberOfVertices() << endl;
      out << " numberOfFaces:\t" << mesh->getNumberOfFaces() << endl;
      out << " numberOfElements:\t" << mesh->getNumberOfElements() << endl;
      out << "*/" << endl << endl;
    }
/// writes some additional information for debugging purposes
writes some additional information for debugging purposes
writes some additional information for debugging purposes
void PovrayWriter::writeTestStuff(ofstream& out, DataCollector<>& dataCollector)
    {
      Mesh* mesh = dataCollector.getMesh();
      out << "/*" << endl;
      out << "TestData:" << endl;
      int dow = Global::getGeo(WORLD);
      out << " world dimension:\t" << dow << endl;
      out << " dimension:\t" << mesh->getDim() << endl;
      out << " numberOfNodes:\t" << mesh->getNumberOfNodes() << endl;
      out << " numberOfEdges:\t" << mesh->getNumberOfEdges() << endl;
      out << " numberOfVertices:\t" << mesh->getNumberOfVertices() << endl;
      out << " numberOfFaces:\t" << mesh->getNumberOfFaces() << endl;
      out << " numberOfElements:\t" << mesh->getNumberOfElements() << endl;
      out << "*/" << endl << endl;
    }
void PovrayWriter :: writeTestStuff ( ofstream & out , DataCollector < > & dataCollector ) { Mesh * mesh = dataCollector . getMesh ( ) ; out << " " << endl ; out << " " << endl ; int dow = Global :: getGeo ( WORLD ) ; out << " \t " << dow << endl ; out << " \t " << mesh -> getDim ( ) << endl ; out << " \t " << mesh -> getNumberOfNodes ( ) << endl ; out << " \t " << mesh -> getNumberOfEdges ( ) << endl ; out << " \t " << mesh -> getNumberOfVertices ( ) << endl ; out << " \t " << mesh -> getNumberOfFaces ( ) << endl ; out << " \t " << mesh -> getNumberOfElements ( ) << endl ; out << " " << endl << endl ; }
writes some additional information for debugging purposes
writes some additional information for debugging purposes