Commit 75df1664 authored by David Moxey's avatar David Moxey

Re-emable PartitionAnalyse utility and remove debugging code from Helmholtz demo

parent a0438d90
SUBDIRS(LibUtilities StdRegions LocalRegions Collections MultiRegions)
SUBDIRS(LibUtilities StdRegions SpatialDomains LocalRegions Collections MultiRegions)
#ADD_NEKTAR_EXECUTABLE(PartitionAnalyse
# COMPONENT demos DEPENDS LibUtilities SOURCES PartitionAnalyse.cpp)
ADD_NEKTAR_EXECUTABLE(FoundationDemo
COMPONENT demos DEPENDS LibUtilities SOURCES FoundationDemo.cpp)
ADD_NEKTAR_EXECUTABLE(NodalDemo
......
......@@ -228,15 +228,6 @@ int main(int argc, char *argv[])
Exp->GetFieldDefinitions();
std::vector<std::vector<NekDouble> > FieldData(FieldDef.size());
std::ofstream outfile("blah.vtk");
Exp->WriteVtkHeader(outfile);
for (i = 0; i < Exp->GetExpSize(); ++i)
{
Exp->WriteVtkPieceHeader(outfile, i);
Exp->WriteVtkPieceFooter(outfile, i);
}
Exp->WriteVtkFooter(outfile);
Exp->GlobalToLocal(Exp->GetCoeffs(),Exp->UpdateCoeffs());
for(i = 0; i < FieldDef.size(); ++i)
{
......
......@@ -34,14 +34,15 @@
///////////////////////////////////////////////////////////////////////////////
#include <LibUtilities/BasicUtils/SessionReader.h>
#include <LibUtilities/BasicUtils/MeshPartition.h>
#include <LibUtilities/Communication/CommSerial.h>
#include <SpatialDomains/MeshPartition.h>
#include <iostream>
using namespace std;
using namespace Nektar;
using namespace Nektar::LibUtilities;
using namespace Nektar::SpatialDomains;
class FauxComm : public CommSerial
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment