mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +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)
|
||||
@ -91,6 +90,7 @@ void Ng_LoadGeometry (const char * filename)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// if (id == 0)
|
||||
cerr << "cannot load geometry '" << filename << "'" << ", id = " << id << endl;
|
||||
}
|
||||
@ -271,8 +271,8 @@ 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