Skip to content
Snippets Groups Projects
Commit 1b90266b authored by Norihiro Watanabe's avatar Norihiro Watanabe Committed by Dmitri Naumov
Browse files

moved VtkOGSEnum to MeshLib

parent a460ade6
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@
#include <vtkTriangle.h>
#include <vtkWedge.h> // == Prism
#include "InSituLib/VtkOGSEnum.h"
#include "MeshLib/VtkOGSEnum.h"
vtkStandardNewMacro(VtkMeshSource);
......@@ -146,7 +146,7 @@ int VtkMeshSource::RequestData( vtkInformation* request,
for (unsigned j = 0; j < nElemNodes; ++j)
point_ids->SetId(j, elem->getNode(j)->getID());
type = InSituLib::OGSToVtkCellType(elem->getCellType());
type = OGSToVtkCellType(elem->getCellType());
if (type==0) {
ERR("VtkMeshSource::RequestData(): Unknown element type \"%s\".",
CellType2String(elem->getCellType()).c_str());
......
......@@ -28,7 +28,6 @@
#include "Element.h"
#include "MeshLib/Node.h"
#include "MeshEnums.h"
#include "VtkOGSEnum.h"
namespace InSituLib {
......
......@@ -11,9 +11,6 @@
#include <vtkCellType.h>
namespace InSituLib
{
CellType VtkCellTypeToOGS(int type)
{
CellType ogs;
......@@ -139,5 +136,4 @@ int OGSToVtkCellType(CellType ogs)
return type;
}
} // end namespace
......@@ -12,13 +12,8 @@
#include "MeshEnums.h"
namespace InSituLib
{
CellType VtkCellTypeToOGS(int type);
int OGSToVtkCellType(CellType ogs);
} // end namespace
#endif // VTKOGSENUM_H_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment