[Getdp] New PostOperation format implemented

Spitzname Stromi stromi at rocketmail.com
Mon Oct 31 10:42:57 CET 2011


 
Hi GetDP-developers
and -users,


I've added
a few lines of code to implement a new PostOperation output format
called NodeTable.  
It's for creating an
ASCII table of the following format:

NumberOfNodes
NodeNumber	Value
.		.
.		.
NodeNumber	Value


This makes it very
easy to use post-processed results in other simulations according to
the hint from Ruth Sabariego:
http://www.geuz.org/pipermail/getdp/2011/001407.html

The usage is quite simple.
E.g.

PostOperation {
      { Name MyResult;
NameOfPostProcessing Ele;
          Operation {
      		Print[ V, OnElementsOf
MyDomain, Format NodeTable, File "V_NodeTable.txt"];
          }
      }
}


For implementing this new
feature there are just three files to be modified:

ProDefines.h
-------------
New line: 270

ProData.h
---------
New line: 1264

Pos_Print.cpp
-------------
New lines: 30, 159...172
Partly new code: 384 ...
455

In the attachment you can
find the original (nightly snapshot from Friday 28.Oct.11) and
modified files.

I would be glad if the
developers will integrate it in the official GetDP version!

Kind regards,
Stromi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/getdp/attachments/20111031/bb283a58/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProData.h.original
Type: application/octet-stream
Size: 41095 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/getdp/attachments/20111031/bb283a58/attachment.original>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProDefines.h.original
Type: application/octet-stream
Size: 55193 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/getdp/attachments/20111031/bb283a58/attachment-0001.original>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pos_Print.cpp.original
Type: application/octet-stream
Size: 53338 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/getdp/attachments/20111031/bb283a58/attachment-0002.original>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ProData.h
URL: <http://www.geuz.org/pipermail/getdp/attachments/20111031/bb283a58/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pos_Print.cpp
Type: application/octet-stream
Size: 55377 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/getdp/attachments/20111031/bb283a58/attachment.cpp>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ProDefines.h
URL: <http://www.geuz.org/pipermail/getdp/attachments/20111031/bb283a58/attachment-0001.h>