[aspect-devel] Kludges in ASPECT
Ian Rose
ian.rose at berkeley.edu
Fri Oct 31 14:45:40 PDT 2014
I have also run into situations where I want more control over Simulator
members than the SimulatorAccess class provides. In those cases I have had
some success casting away the const-ness of the things that SimulatorAccess
gives you (i.e., read-only solution-vectors, meshes, etc). I don't
remember the specifics, but I do remember that it was not pretty. It
works, though, and allows you to do more within the plugin framework.
On Fri, Oct 31, 2014 at 2:26 PM, Timo Heister <heister at clemson.edu> wrote:
> > Does anyone have a favorite method for quick kludges which modify the
> > solution vectors?
>
> You can always create a global Simulator pointer and set it to "this"
> somewhere in run. Then you can access everything from a plugin.
>
> --
> Timo Heister
> http://www.math.clemson.edu/~heister/
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20141031/67950083/attachment.html>
More information about the Aspect-devel
mailing list