parallel visualization

This commit is contained in:
Joachim Schoeberl 2012-08-20 14:10:50 +00:00
parent 6a1e8f7e97
commit 645a55f3d3
2 changed files with 8 additions and 4 deletions

View File

@ -218,7 +218,6 @@ namespace netgen
try
{
//mesh -> Load (filename);
ifstream infile(filename.c_str());
mesh -> Load(infile);
@ -3096,8 +3095,8 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
#ifdef _MSC_VER
Ng_stl_Init(interp);
Ng_geom2d_Init (interp);
#ifdef OCCGEOMETRY
Ng_occ_Init (interp);
#ifdef OCCGEOMETRY
Ng_occ_Init (interp);
#endif
#endif

View File

@ -70,7 +70,6 @@ using netgen::RegisterUserFormats;
void ParallelRun()
{
string message;
@ -82,6 +81,7 @@ void ParallelRun()
if (parameters.StringFlagDefined ("testout"))
testout = new ofstream (string("testout_proc") + id );
while ( true )
@ -296,6 +296,11 @@ void ParallelRun()
vssolution.DrawSurfaceElements();
}
if (redraw_cmd == "solsurfellinelist")
{
vssolution.DrawSurfaceElementLines();
}
if (redraw_cmd == "clipplanetrigs")
{
vssolution.DrawClipPlaneTrigs();