On Tue, 6 Nov 2012, Vikram Garg wrote:

It wont compile for me:

In file included from src/physics/fem_physics.C:25:0:
/home/vikram/libmesh/include/libmesh/fem_system.h:58:1: error: expected 
class-name before ‘{’ token
src/physics/fem_physics.C: In member function ‘void 
libMesh::FEMSystem::mesh_position_set()’:
src/physics/fem_physics.C:656:7: error: ‘_mesh_sys’ was not declared in this 
scope

Somehow you applied the patch wrong.  Not surprising, since the patch
is tragically hard to apply right.

What I did, from a plain trunk checkout:

svn copy src/systems/fem_system.C src/physics/fem_physics.C
svn copy include/physics/diff_physics.h include/physics/fem_physics.h
wget http://users.ices.utexas.edu/~roystgnr/fem_physics_patch
patch -p0 < fem_physics_patch ln -sf ../physics/fem_physics.h include/libmesh/

The resulting fem_physics.C is 251 lines long; it won't give you any
errors on line 656.

In case there's something different about your system that makes the
patch unworkable for you, all the modified files are now online at
http://users.ices.utexas.edu/~roystgnr/fem_physics/

If you have a checkout of r6319, you could download those files (or
just whichever ones didn't patch properly) into the appropriate
directories and create that symlink.

Thanks,
---
Roy
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to