← Back to team overview

dolfin team mailing list archive

Re: [Question #125106]: C++ code for user-defined Expression

 

On Sunday September 12 2010 05:50:15 Øystein Sørensen wrote:
> Question #125106 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/125106
> 
>     Status: Open => Solved
> 
> Øystein Sørensen confirmed that the question is solved:
> Seems like the problem was easily solved by replacing Expression(1) by
> Expression() in the C++ code. But if there exist examples or
> documentation on user-defined expressions defined in this way, I would
> be very glad to know.

Hello!

One of few examples of a more complex compiled C++ expression resides in 

  demo/undocumented/tensor-weighted-poisson

and in the docstring of Expression.

Johan



Follow ups

References