On Sun, 31 Aug 2008, John Peterson wrote:
> On Sun, Aug 31, 2008 at 7:59 PM, Roy Stogner <roy@...> wrote:
>> On Sun, 31 Aug 2008, Nasser Mohieddin Abukhdeir wrote:
>>> nemfem.C:776: error: invalid use of incomplete type 'struct
>>> /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.