On Sun, 31 Aug 2008, John Peterson wrote:
> On Sun, Aug 31, 2008 at 7:59 PM, Roy Stogner <[EMAIL PROTECTED]> wrote: >> >> On Sun, 31 Aug 2008, Nasser Mohieddin Abukhdeir wrote: >> >>> nemfem.C:776: error: invalid use of incomplete type 'struct >>> NumericVector<double>' >>> /home/nasser/libmesh/include/solvers/system.h:45: error: declaration of >>> 'struct NumericVector<double>' >>> >>> which makes about as much sense to me as a Spamburger. >> >> NumericVector is an abstract base class; you can't directly construct >> one. What you want to do is use the library's factory method >> (NumericVector::build, I think), which will hand you a NumericVector >> which is really a PetscVector or LaspackVector (or EPetraVector?) or >> whatever is configured for use by your libMesh install. > > He's just getting a reference right? Seems like a #include > "numeric_vector.h" is needed? Hey, wait, you're right. Hmm... I'm going to blame jet lag. Nasser, ignore everything I just said; your problem looked like one I'd encountered before, but it wasn't the same. John's almost certainly found the real error. --- Roy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
