Hi Ben, Thanks very much that did the trick.. 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 Wed, Jun 26, 2013 at 2:26 PM, Subramanya Gautam Sadasiva <[email protected]> wrote: > Hi, > I am trying to include an abaqus reader into my code. however having > abaqus_Io in the includes causes compilation to fail. I built my code around > miscellaneous ex7. If we add > #include "libmesh/abaqus_io.h" > > and add a field AbaqusIO abq_reader to the class, I get the following error > on compilation. > > > biharmonic.C: In constructor > 'Biharmonic::Biharmonic(libMesh::UnstructuredMesh*)': > biharmonic.C:175:12: error: no matching function for call to > 'libMesh::AbaqusIO::AbaqusIO()' > _mesh(m) > ^ > biharmonic.C:175:12: note: candidates are: > In file included from biharmonic.C:6:0: > /Users/subramanya/Software/libmesh_dbg/include/libmesh/abaqus_io.h:44:5: > note: libMesh::AbaqusIO::AbaqusIO(libMesh::MeshBase&) > AbaqusIO (MeshBase& mesh); > ^ > /Users/subramanya/Software/libmesh_dbg/include/libmesh/abaqus_io.h:44:5: > note: candidate expects 1 argument, 0 provided > /Users/subramanya/Software/libmesh_dbg/include/libmesh/abaqus_io.h:37:9: > note: libMesh::AbaqusIO::AbaqusIO(const libMesh::AbaqusIO&) > class AbaqusIO : public MeshInput<MeshBase> > > > It seems that there is some confusion between the two files.. Has anybody > else seen this error? > The obvious workaround seems to me to be to not have the reader be a field > but have it as an object that is instantiated and then immediately released.. > still this does not seem to be intended behaviour. > Thanks, > > > > Subramanya Sadasiva > > "But memory eventually fades. Turbulences damp out, internal strains yield to > plastic flow, concentration inhomogeneities diffuse to uniformity. Systems > tend to subside to very simple states,independent of their specific history." > Herbert Callen . Thermodynamics and an Introduction to Thermostatics. > > ------------------------------------------------------------------------------ > 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
