[aspect-devel] building a temperature initial condition
John Naliboff
jbnaliboff at ucdavis.edu
Fri Feb 24 13:31:11 PST 2017
Hi Felipe,
deal.II can certainly handle multiple expressions for a given function
(https://www.dealii.org/8.4.0/doxygen/deal.II/classFunctionParser.html).
I think some of the particle routines in ASPECT also allow for multiple
expressions?
However, if you plan on writing a moderately complicated expression(s)
perhaps a plugin is more suitable?
Cheers,
John
*************************************************
John Naliboff
Assistant Project Scientist, CIG
Earth & Planetary Sciences Dept., UC Davis
On 02/24/2017 10:56 AM, FELIPE ORELLANA ROVIROSA wrote:
>
> Hi all,
>
> I wonder whether it is possible to build up a Temperature
> function using several variables. I am working on an initial condition
> for Temperature (Function expression)
>
> I am trying to implement something like this
>
> u = u(x,y,z...)
>
> T = f1(u) + f2(u) + f3(u) + ...
>
>
> In this case, the predefinition of u allows me to save writing.
> Otherwise I would need to write the 'long' expression of u on the
> Function expression for T several times..
>
> somehow, can the Function expression, or that part of the code,
> have more than one function, and do composition of functions ?
>
> Is this possible?
>
> Felipe
>
>
> _______________________________________________
> 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/20170224/84ca3b1e/attachment.html>
More information about the Aspect-devel
mailing list