← Back to team overview

ffc team mailing list archive

Re: [DOLFIN-dev] Best way of doing powers of Functions?

 

On 11 Mar 2008, meg@xxxxxxxxxxx wrote:

> After diving into some non-linear elasticity, I've suddenly the need to
> do u^k, that is u to the power k, where u is some Function and k is an 
> arbitrary natural number.

I actually need this when k is not an integer which means that it cannot
be done exactly, even with enough quadrature points.  For the case when
k is an integer greater than 2, it is likely not desirable to perform
the integration exactly because it entails too many quadrature points
(perhaps for k=2 as well) so my understanding is that you must make a
separate form to computes the nonlinear part.

Jed

Attachment: pgpFWIwZ1htDP.pgp
Description: PGP signature


Follow ups

References