mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
parallel visualization
This commit is contained in:
parent
6a1e8f7e97
commit
645a55f3d3
@ -218,7 +218,6 @@ namespace netgen
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
//mesh -> Load (filename);
|
|
||||||
ifstream infile(filename.c_str());
|
ifstream infile(filename.c_str());
|
||||||
mesh -> Load(infile);
|
mesh -> Load(infile);
|
||||||
|
|
||||||
|
@ -70,7 +70,6 @@ using netgen::RegisterUserFormats;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void ParallelRun()
|
void ParallelRun()
|
||||||
{
|
{
|
||||||
string message;
|
string message;
|
||||||
@ -84,6 +83,7 @@ void ParallelRun()
|
|||||||
testout = new ofstream (string("testout_proc") + id );
|
testout = new ofstream (string("testout_proc") + id );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
while ( true )
|
while ( true )
|
||||||
{
|
{
|
||||||
message = MyMPI_RecvCmd();
|
message = MyMPI_RecvCmd();
|
||||||
@ -296,6 +296,11 @@ void ParallelRun()
|
|||||||
vssolution.DrawSurfaceElements();
|
vssolution.DrawSurfaceElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (redraw_cmd == "solsurfellinelist")
|
||||||
|
{
|
||||||
|
vssolution.DrawSurfaceElementLines();
|
||||||
|
}
|
||||||
|
|
||||||
if (redraw_cmd == "clipplanetrigs")
|
if (redraw_cmd == "clipplanetrigs")
|
||||||
{
|
{
|
||||||
vssolution.DrawClipPlaneTrigs();
|
vssolution.DrawClipPlaneTrigs();
|
||||||
|
Loading…
Reference in New Issue
Block a user