getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Question on Preconditioners


From: Bwalya Malama
Subject: Re: [Getfem-users] Question on Preconditioners
Date: Fri, 6 Oct 2006 09:57:54 -0600 (MDT)
User-agent: SquirrelMail/1.4.8-1.fc5

Hi Yves:

I tried what you suggest below:

> typedef gmm::row_matrix< gmm::wsvector<complex<double> > > mymatrixtype;
> mymatrixtype C(N2,N2);
> gmm::diagonal_precond<mymatrixtype>  P();
>
> // ...
> ... fill C
> // ...
>
> P.build_with(C);
>

But I get the following error:

error: request for member ‘build_with’ in ‘P’, which is of non-class type
‘gmm::diagonal_precond<gmm::row_matrix<gmm::wsvector<std::complex<double>
> > > ()()’

Could you help with this one?

-- Bwalya
Bwalya Malama, Ph.D.
Center for Geophysical Research of the Shallow Subsurface
Boise State University
Boise, Idaho
tel: 208-426-2959
email: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]