[Getdp] New PostOperation format implemented

Spitzname Stromi stromi at rocketmail.com
Sun Dec 4 01:14:46 CET 2011



Hi GetDP developers,

as also some other users are interested in this feature, 

I created a new ticket:
https://geuz.org/trac/getdp/ticket/24

It would be great if you implement it in the official GetDP version.
It shouldn't be a big task :-)

Regards
Stromi

p.s.
With GetDP you really did a great job!






Old message
##########



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/20111204/4c2eb1c9/attachment.html>