[aspect-devel] Outputting derived quantities
Wolfgang Bangerth
bangerth at math.tamu.edu
Tue May 8 04:47:36 PDT 2012
All,
we've been putting a lot of different derived quantities into the
graphical output files: viscosity, strain rate, the difference between
pressure/temperature and their adiabatic values for a given depth, etc.
I've rewritten this part, and what we put into the output files is now
implemented using the same plugin framework we use for practically
everything else already: you write a little class that computes whatever
it is you want to output from velocity/pressure/temperature, register
it, and list it in the appropriate place of the input file, and it will
be run whenever you generate graphical output. This way, we don't have
to output *everything* every time we generate output, and it will
continue to scale as people add more and more functions they may want to
output.
I haven't documented this so far but will in the next few days. In the
meantime, let me know if you find anything that doesn't work!
Cheers
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth at math.tamu.edu
www: http://www.math.tamu.edu/~bangerth/
More information about the Aspect-devel
mailing list