mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
Fixed indentions, etc.
This commit is contained in:
parent
f08cf0faad
commit
68a552c7d6
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user