[dune-fem] LocalFunctionAdapter
Andreas Dedner
a.s.dedner at warwick.ac.uk
Fri Jun 5 14:06:38 CEST 2015
Sorry I missed this is a bit.
Is LocalFunctionAdapter actually the right concept here?
I understand that you have a function y=f(x) where x are global
coordinates? In that case DiscreteFunctionAdapter is the right
concept... But as I said I only scanned the example so I might be
off in which case I apologies
Best
Andreas
On 05/06/15 13:02, Agnese, Marco wrote:
> Hi Martin,
> it worked. Thank you very much for the explanation.
> At the end I realized that I would have to cast x into a DomainType but I wasn't aware of the function coordinate(...)!
>
> I have improved the documentation of the LocalFunctionAdapter with what we have said on the mailinglist to avoid this confusion in the future.
>
> Maybe I will add also (when is finished) my LocalAnalyticalFunction so user can use it to transform a C++ function into a GridFunction in a very simple way.
> Do you think would be useful?
>
> Cheers,
> Marco.
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem
More information about the dune-fem
mailing list