On Tue, Apr 17, 2012 at 10:46 AM, John Peterson <jwpeter...@gmail.com> wrote:
> Hi,
>
> We're hitting the following error (in libmesh_cast_ptr) under Xcode 4.3 on 
> Lion.
>
> Failed to convert N7libMesh13NumericVectorIdEE pointer to
> PKN7libMesh11PetscVectorIdEE
> The N7libMesh13NumericVectorIdEE appears to be a N7libMesh11PetscVectorIdEE

So I was finally able to run this through the demangler.  In English,

Failed to convert libMesh::NumericVector<double> to
libMesh::PetscVector<double> const*
The libMesh::NumericVector<double> appears to be a libMesh::PetscVector<double>

That is, we called libmesh_cast_ptr with:

Told = libMesh::NumericVector<double>
Tnew = libMesh::PetscVector<double> const*

The difference seems to be that we are attempting to convert non-const
to const pointers via dynamic_cast?  There also seems to be an
inconsistency in the fact that the function is templated on <Tnew,
Told> but it takes a Told*?

-- 
John

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to