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: [EMAIL PROTECTED] _______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
