|
This email from kirby@cs.utah.edu originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list to disable email stamping for this address. |
On Jul 7, 2022, at 3:33 AM, Vidhi Zala <vidhi.zala@utah.edu> wrote:Hi everyone,I am looking for a way to define initial conditions which contain min() function. Can someone point to an example/syntax for the same? I am currently getting an error sayingMessage : Equation::Equation() fails on expression[(0.25*(1+cos(PI*min(sqrt(pow(x-bell_x0,2) + pow(y-bell_y0,2))/bell_r0, 1.0))))]ThanksV--,-~~-.___._. / | ' \ | |--------. Vidhi Zala ( ) 0 | | | Intel Corp. \_/-, ,----' | | | School of Computing ==== !_!-v---v--. Scientific Computing and Imaging Institute / \-'~; .--------. University of Utah / __/~| ._-""|| | vidhi.zala@utah.edu =( _____|_|____||________| http://sci.utah.edu/people/vidhi.html