Hi

I am totally new to libmesh and got a tutorial from this website 
http://cmaf.ptmat.fc.ul.pt/~pvieira/libmesh/..

I was just referring to example 1 posted here. I am unable to make it
run..may be some problem with make file..


***********************************************************************
copied from http://cmaf.ptmat.fc.ul.pt/~pvieira/libmesh/.
******************************************************************/

   #include <iostream>
   #include "libmesh/libmesh.h"
   #include "libmesh/mesh.h"
   #include "libmesh/mesh_output.h"
   #include "libmesh/mesh_generation.h"
   #include "libmesh/xd3d_io.h"


using namespace std;

int main (int argc, char** argv)
{
        // Initialize the library (obligatory instruction for every programa).
        LibMeshInit init(argc, argv);

        // Create a Mesh object for a 2d domain.
        Mesh mesh(3);

        // Generate a structured mesh in a rectangular domain of the form 
[x_1, x_2] x [y_1, y_2]
        Real x_1 = 1.0;  Real x_2 = 3.0;
        Real y_1 = 0.0;  Real y_2 = 1.0;
        MeshTools::Generation::build_square(mesh, 3, 2, x_1, x_2, y_1, y_2, 
TRI3);

        // Show some informations about the mesh created above
        mesh.print_info();

        // Write the mesh in the native Xd3d format
        Xd3dIO xd3d_io(mesh);
        xd3d_io.write("malha_paralelipipedo.avoir");
}

can you just suggest me why i am unable to run this programm ? any hel
thnks



------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to