Skip to content
Snippets Groups Projects
FemMesh.h 696 B
Newer Older
  • Learn to ignore specific revisions
  • /**
     * FemMesh.h
     *
     *      Date: 2012/05/02
     *      Author: KR
     */
    
    #ifndef FEMMESH_H_
    #define FEMMESH_H_
    
    #include "Mesh.h"
    
    namespace MeshLib {
    
    
    Karsten Rink's avatar
    Karsten Rink committed
    /**
     * A finite element mesh.
     */
    
    class FemMesh : public Mesh
    {
    public:
    
    Karsten Rink's avatar
    Karsten Rink committed
    	/// Constructor using a mesh name and an array of nodes and elements
    
    	FemMesh(const std::string &name, const std::vector<Node*> &nodes, const std::vector<Element*> &elements);
    
    Karsten Rink's avatar
    Karsten Rink committed
    
    	/// Constructor using a basic mesh
    
    	FemMesh(const Mesh &mesh);
    
    Karsten Rink's avatar
    Karsten Rink committed
    
    	/// Copy constructor
    
    	FemMesh(const FemMesh &mesh);
    
    Karsten Rink's avatar
    Karsten Rink committed
    
    	/// Constructor for reading a mesh from a file
    
    	FemMesh(const std::string &file_name);
    
    Karsten Rink's avatar
    Karsten Rink committed
    
    	/// Destructor
    
    	~FemMesh();
    
    
    }; /* class */
    
    } /* namespace */
    
    #endif /* FEMMESH_H_ */