Skip to content
Snippets Groups Projects
Commit c721a063 authored by Karsten Rink's avatar Karsten Rink
Browse files

fixed msheditor namespace changes

parent 5a941e5c
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ MeshLib::Mesh* VTKInterface::readVTUFile(const std::string &file_name)
}
in.seekg(0, std::ios::end);
size_t length = in.tellg();
const size_t length = in.tellg();
in.seekg(0, std::ios::beg);
char* buffer = new char[length+1];
in.read(buffer, length);
......
......@@ -32,7 +32,7 @@ const std::vector< std::pair<size_t,double> >& DirectConditionGenerator::directT
return _direct_values;
}
const std::vector<GeoLib::PointWithID*> surface_nodes ( MshEditor::getSurfaceNodes(mesh) );
const std::vector<GeoLib::PointWithID*> surface_nodes ( MeshLib::MshEditor::getSurfaceNodes(mesh) );
//std::vector<MeshLib::CNode*> nodes = mesh.nod_vector;
const size_t nNodes(surface_nodes.size());
_direct_values.reserve(nNodes);
......
......@@ -187,7 +187,8 @@ int MshLayerMapper::LayerMapping(MeshLib::Mesh* new_mesh, const std::string &ras
{
std::cout << "Warning: Removing " << noData_nodes.size()
<< " mesh nodes at NoData values ... " << std::endl;
MeshLib::Mesh* red_mesh = MshEditor::removeMeshNodes(new_mesh, noData_nodes);
MeshLib::MshEditor msh_editor;
MeshLib::Mesh* red_mesh = msh_editor.removeMeshNodes(new_mesh, noData_nodes);
if (new_mesh->getNElements() == 0)
{
delete new_mesh;
......
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