Skip to content
Snippets Groups Projects
Commit 027317b0 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

have post

parent 851ec1b4
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,12 @@
//
// Contributed by Matti Pellikka <matti.pellikka@tut.fi>.
#include "Homology.h"
#if defined(HAVE_POST)
#include "PView.h"
#endif
#if defined(HAVE_KBIPACK)
Homology::Homology(GModel* model, std::vector<int> physicalDomain,
......@@ -594,9 +597,10 @@ int Chain::createPGroup()
if(!data.empty()){
_model->storeChain(getDim(), entityMap, physicalMap);
_model->setPhysicalName(getName(), getDim(), physicalNum);
#if defined(HAVE_POST)
// create PView for visualization
new PView(getName(), "ElementData", getGModel(), data, 0, 1);
#endif
}
return physicalNum;
......
......@@ -13,7 +13,6 @@
#include "ChainComplex.h"
#include "OS.h"
#include "GModel.h"
#include "PView.h"
#include "Options.h"
#if defined(HAVE_KBIPACK)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment