On Wed, 1 Dec 2010, Karen Lee wrote:

warning: possible problem detected in invocation of delete operator:
/Users/karenlee/Documents/Code/libmesh-0.6.4/libmesh/include/base/auto_ptr.h:196:
warning: invalid use of undefined type ‘struct LinearSolver<Number>’

There are a lot of forward declarations in our headers.  That means
that in user code you need to be sure to include precisely the header
that defines each class, and not rely on that definition being
included indirectly.  In particular, AutoPtr<LinearSolver<T> > won't
work unless you've included linear_solver.h, because AutoPtr tries to
inline a call to delete which needs a defined destructor.

2) I looked at linear_implicit_system.h, but did not find
get_linear_solver ()  there (or in linear_implicit_system.C).

It's declared in linear_implicit_system.h line 119, defined in
linear_implicit_system.C lines 351-354.
---
Roy
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to