Contains the main function and initializes MSHParser (LineParser), Mesh (LineMesh), and lastly ResultWriter (LineResultWriter).
More...
#include <Solver.h>
|
std::string | fileNameNoExt |
|
bool | massive |
| < Filename excluding file ending. More...
|
|
Contains the main function and initializes MSHParser (LineParser), Mesh (LineMesh), and lastly ResultWriter (LineResultWriter).
Solver::Solver |
( |
std::string |
fileName, |
|
|
Material |
mat, |
|
|
bool |
massive, |
|
|
int |
extraLineSegments |
|
) |
| |
Constructor.
- Parameters
-
fileName | is the file name of the .msh file |
mat | is the material used for the mesh |
massive | massive boolean to determine if massive or thin-wall cross-section is inputted |
extraLineSegments | int to define the number of extra line segments per line element for thin-wall analysis. Quadratic stress distributions adepends on this value. |
Creates result vectors, to comply with paraview.
- Parameters
-
mesh | contains the stored results |
VTK | the resultwriter that will output the results |
void Solver::saveResults |
( |
Mesh |
mesh | ) |
|
|
private |
Saves result files The results are written to file by using the ResultWriter.
- Parameters
-
mesh | contains the stored results |
< Filename excluding file ending.
Boolean for running either massive or thin-walled cross-section analysis
The documentation for this class was generated from the following files:
- C:/Users/simenva/Documents/GitHubVisualStudio/CrossSectionSolver/Solver/Solver.h
- C:/Users/simenva/Documents/GitHubVisualStudio/CrossSectionSolver/Solver/Solver.cpp