Fixed indentions, etc.

This commit is contained in:
Lukas 2018-06-12 13:13:42 +02:00
parent f08cf0faad
commit 68a552c7d6

View File

@ -71,7 +71,6 @@ using namespace netgen;
void Ng_LoadGeometry (const char * filename)
{
// he: if filename is empty, return
// can be used to reset geometry
if (!filename || strcmp(filename,"")==0)
@ -79,7 +78,7 @@ void Ng_LoadGeometry (const char * filename)
ng_geometry.reset (new NetgenGeometry());
return;
}
for (int i = 0; i < geometryregister.Size(); i++)
{
NetgenGeometry * hgeom = geometryregister[i]->Load (filename);
@ -91,6 +90,7 @@ void Ng_LoadGeometry (const char * filename)
}
}
// if (id == 0)
cerr << "cannot load geometry '" << filename << "'" << ", id = " << id << endl;
}
@ -271,12 +271,12 @@ void Ng_LoadMesh (const char * filename)
mesh->SetGeometry(ng_geometry);
}
void Ng_LoadMeshFromString (const char * mesh_as_string)
{
void Ng_LoadMeshFromString (const char * mesh_as_string)
{
istringstream instream(mesh_as_string);
Ng_LoadMeshFromStream(instream);
}