My Project
Solver.h
1 #include "stdafx.h"
2 #include "MSHParser.h"
3 #include "Node.h"
4 #include "Mesh.h"
5 #include "MeshSTL.h"
6 #include "Element.h"
7 #include "ResultWriter.h"
8 #include "LineResultWriter.h"
9 #include "Material.h"
10 #include "LineMesh.h"
11 #include <direct.h>
12 
13 #ifndef SOLVER
14 #define SOLVER
15 
16 using namespace Eigen;
17 
19 class Solver
20 {
21 public:
28  Solver(std::string fileName, Material mat);
29 
30 private:
31  std::string fileNameNoExt;
32 
38  void saveResults(Mesh);
39  void createResultVectors(Mesh mesh, ResultWriter VTK);
40  void printResults(Mesh);
41  bool thickwall;
42 };
43 
44 #endif
Contains mesh data and has function to calculate and retrieve mesh properties.
Definition: Mesh.h:20
Opens and writes results to file.
Definition: ResultWriter.h:20
Contains material data such as Young&#39;s Modulus, Shear Modulus and Poisson&#39;s ratio, and if needed could include additional material properties.
Definition: Material.h:3
Contains the main function and initializes MSHParser, Mesh, and finally ResultWriter.
Definition: Solver.h:19