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) void Ng_LoadGeometry (const char * filename)
{ {
// he: if filename is empty, return // he: if filename is empty, return
// can be used to reset geometry // can be used to reset geometry
if (!filename || strcmp(filename,"")==0) if (!filename || strcmp(filename,"")==0)
@ -91,6 +90,7 @@ void Ng_LoadGeometry (const char * filename)
} }
} }
// if (id == 0) // if (id == 0)
cerr << "cannot load geometry '" << filename << "'" << ", id = " << id << endl; cerr << "cannot load geometry '" << filename << "'" << ", id = " << id << endl;
} }
@ -271,8 +271,8 @@ void Ng_LoadMesh (const char * filename)
mesh->SetGeometry(ng_geometry); 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); istringstream instream(mesh_as_string);
Ng_LoadMeshFromStream(instream); Ng_LoadMeshFromStream(instream);
} }