[aspect-devel] Kludges in ASPECT

Jonathan Perry-Houts jperryh2 at uoregon.edu
Fri Oct 31 14:15:17 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Happy Halloween everyone,

I have a sort of general, personal preference type question for Aspect
users. I'm hoping to get a range of responses.

As a scientific tool Aspect obviously needs to be extensible, and I
think it does a really good job of that with its plugin
infrastructure. But it seems like not infrequently I find myself
wanting to try some quick-and-dirty hack that doesn't work nicely as a
plugin. These are usually things which read from and modify the
solution vectors.

For instance, at the moment I would like to integrate along columns in
my model, and assign values to the compositional fields in the top
cells based on the result. I could probably come up with a legit way
to do that, and write some nicely commented code which follows all of
the best-practice guidelines, but I don't even know if much will come
of it, so I'd rather just kludge something in and test it quickly
before I exert more effort on it.

As far as I know, none of the plugin interfaces are really intended to
be used for directly reading and writing to the solution vectors. Am I
wrong about that? Would a postprocessor be the best way to do it?

Does anyone have a favorite method for quick kludges which modify the
solution vectors?

Thanks in advance!

- -Jonathan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUU/viAAoJEGe6xJ1FYRpRPAsH/iUaDNa0suT7mZr64+5i6Zxt
oARkomQT8XpWEOMyGOLTiZYvvEismZNZvdNN8YWKQ839HuqFyVGjQZ88+dUGwLLS
c8ReI/6rpYQX8a/qn9IlSADP6tY8xtBA930xW5JCO39/hof78L/ieqhDYW2jXcKB
sRErtQUUaXou2BrXSa5lDzEMO6u59bgIHtdCC5FSGXZXrzFYV4AwGMOhEEV/tlcH
zgTT9eV1OeGMvBTmsOWN1IcbDGesYNzrjAC2SUGH6zKua9/HtgEGvu6YuYDJRZ0f
4cyEL+lyKFDtVDNDx4CpSxBCCYrVgcjoAndBsqzOcfo+aLjpiFyejzH4xTCotqk=
=XIKK
-----END PGP SIGNATURE-----


More information about the Aspect-devel mailing list