Sorry have to be brief. You need to use RealGradient as the template type for FEGenericBase if you're using LAGRANGE_VEC. Be sure to check out the vector_fe examples as well.
On Jul 4, 2013, at 8:38 PM, Subramanya Sadasiva <[email protected]> wrote: > Hi, > Here is the stack trace for the error that I got. The error happens when > build is called to return the pointer to the finite element stuff. This is a > simple linear elasticity solver. > > > ERROR: Bad FEType.family= 41 > Stack frames: 7 > 0: 0 libmesh_dbg.0.dylib 0x000000010a07591d > libMesh::print_trace(std::ostream&) + 39 > 1: 1 libmesh_dbg.0.dylib 0x000000010a18033a > libMesh::FEGenericBase<double>::build(unsigned int, libMesh::FEType const&) + > 6272 > 2: 2 example-dbg 0x0000000109e3f870 > DiffCode::StressSolver::assemble() + 690 > 3: 3 libmesh_dbg.0.dylib 0x000000010a952012 > libMesh::LinearImplicitSystem::solve() + 66 > 4: 4 example-dbg 0x0000000109e138a7 DiffCode::run() > + 633 > 5: 5 example-dbg 0x0000000109e3a824 main + 124 > 6: 6 libdyld.dylib 0x00007fff969277e1 start + 0 > > Subramanya G Sadasiva, > > Graduate Research Assistant, > Hierarchical Design and Characterization Laboratory, > School of Mechanical Engineering, > Purdue University. > > "The art of structure is where to put the holes" > Robert Le Ricolais, 1894-1977 > > > On Thu, Jul 4, 2013 at 8:34 PM, Paul T. Bauman <[email protected]> wrote: > Please send a stack trace. Likely you're trying to use functionality that > hasn't been implemented for vector-valued elements yet. > > On Jul 4, 2013, at 7:17 PM, Subramanya Sadasiva <[email protected]> wrote: > > > Hi, > > I get the following error when I try to run my code with FEVector and > > lagrange_vec elements > > > > ERROR: Bad FEType.family= 41 > > > > but that is the fetype for the lagrangian vector elements. > > Is there anywhere that the error could be? > > Regards, > > Subramanya G Sadasiva, > > > > Graduate Research Assistant, > > Hierarchical Design and Characterization Laboratory, > > School of Mechanical Engineering, > > Purdue University. > > > > "The art of structure is where to put the holes" > > Robert Le Ricolais, 1894-1977 > > > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Windows: > > > > Build for Windows Store. > > > > http://p.sf.net/sfu/windows-dev2dev > > _______________________________________________ > > Libmesh-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/libmesh-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
