Hi: I have done the following:
#include <gmm_superlu_interface.h> ... Assemble A; SuperLU_factor<double> Af; ... Af.build_with(A); When I try to compile, I get the following error: flow3d3s.cpp: In function int main(int, char**): flow3d3s.cpp:802: error: SuperLU_factor was not declared in this scope flow3d3s.cpp:802: error: expected primary-expression before double flow3d3s.cpp:802: error: expected `;' before double flow3d3s.cpp:828: error: Cf was not declared in this scope I compile as follows: >>g++ flow3d3s.cpp -o h3d3s -lm -DGMM_USES_SUPERLU ../SuperLU_3.0/libsuperlu_3.0.a ../SuperLU_3.0/libblas.a -I/../SuperLU_3.0/ Note that the code works with: SuperLU_solve(A,x,b); It's only when I try "SuperLU_factor<double> Af" that I experience the above error. Could you help resolve this? I'm a novice to object oriented programming. Sincerely, -- 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
