Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Search for

# SimpleMesh.h

Go to the documentation of this file.

    00001 #ifndef SQUARE_IS_INCLUDED
    00002 #define SQUARE_IS_INCLUDED
    00003
    00004 #include <SyFi.h>
    00005
    00006
    00007 class Square {
    00008   GiNaC::ex x0,xn;
    00009   int nx,ny;
    00010   public:
    00011   Square(GiNaC::ex x0, GiNaC::ex xn, int nx, int ny);
    00012   ~Square() {}
    00013
    00014   int no_of_triangles();
    00015   int no_of_boundary_nodes();
    00016   Triangle triangle(int i);
    00017   GiNaC::ex boundary_node(int i);
    00018 };
    00019
    00020 #endif
    00021