Commit a4d44d82 authored by David Moxey's avatar David Moxey
Browse files

Fix for VTK and case statement in MeshGraph

parent 9928d6f3
......@@ -2053,6 +2053,7 @@ LibUtilities::BasisKeyVector MeshGraph::DefineBasisKeyFromExpansionType(
{
switch (shape)
{
case LibUtilities::eSegment:
{
const LibUtilities::PointsKey pkey(
nummodes, LibUtilities::eFourierSingleModeSpaced);
......
......@@ -14,7 +14,7 @@ namespace po = boost::program_options;
#include <LibUtilities/BasicUtils/FieldIO.h>
#include <LibUtilities/Communication/Comm.h>
#include <LibUtilities/BasicUtils/HashUtils.hpp>
#include <SpatialDomains/MeshGraph2D.h>
#include <SpatialDomains/MeshGraph.h>
#include <MultiRegions/ExpList2D.h>
#include <LocalRegions/Expansion2D.h>
......@@ -145,8 +145,7 @@ int main(int argc, char* argv[])
{
//----------------------------------------------
// Read in mesh from input file
graph2D = MemoryManager<SpatialDomains::MeshGraph2D>::
AllocateSharedPtr(vSession);
graph2D = SpatialDomains::MeshGraph::Read(vSession);
//----------------------------------------------
//----------------------------------------------
......
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