complex support

Matthew Knepley knepley at gmail.com
Fri Sep 26 12:30:24 CDT 2008


Currently, no. C is not amenable to this kind of programming.

  Matt

On Fri, Sep 26, 2008 at 12:08 PM, Manav Bhatia <bhatiamanav at gmail.com> wrote:
> Hi,
>
>  I am writing a code where I will need both double and complex support for
> separate calculations. I can certainly build a complex petsc library and
> keep the imaginary value as zero to get to double, but that would not be
> very efficient.
>
>  If there a way to do mixed programming with the same petsc library without
> paying this penalty?
>
> Thanks,
> Manav
>
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-users mailing list