ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #01566
Re: Passing a parameter to the form file
On Thu, Apr 24, 2008 at 10:13:30AM -0700, Reza Farrahi Moghaddam wrote:
> Hi,
>
> I have a parameter in my problem which its value may change frequently. Is it
> possible to pass some parameters from the main.cpp file to the form file? So,
> there will be no need to re-compile the form file.
>
> Reza
Yes, define it as a piecewise constant function using Constant() in
the form file.
--
Anders
References