Computer Assited Medical Intervention Tool Kit  version 4.1
PrepWriter.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2018 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 #ifndef SIMULATOR_SIMULATORS_ANSYS_ANSYSBATCHWRITERS_PREPWRITER_H
27 #define SIMULATOR_SIMULATORS_ANSYS_ANSYSBATCHWRITERS_PREPWRITER_H
28 
29 #include <string>
30 
31 #include "AnsysBatchWriter.h"
32 
41 
42 public:
46  ~PrepWriter();
47 
49  std::string write();
50 
51 private:
53  double young;
55  double poisson;
57  std::string elem; //"et,1,solid45"
59  std::string fileName;
61  std::string workingDir;
62 };
63 
64 #endif // SIMULATOR_SIMULATORS_ANSYS_ANSYSBATCHWRITERS_PREPWRITER_H
~PrepWriter()
destructor
Definition: PrepWriter.cpp:43
Ansys batch writer helps to write a part of a batch file.
Definition: AnsysBatchWriter.h:40
std::string elem
element type used
Definition: PrepWriter.h:57
double young
young modulus
Definition: PrepWriter.h:53
std::string workingDir
Ansys working directory.
Definition: PrepWriter.h:61
PrepWriter(std::string wd, MonitoringManager *monitoringManager)
constructor
Definition: PrepWriter.cpp:34
TODO Comment class here.
Definition: PrepWriter.h:40
std::string fileName
name for .node ans .elem generated files
Definition: PrepWriter.h:59
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
double poisson
poisson ratio
Definition: PrepWriter.h:55
MonitoringManager * monitoringManager
monitoring manager
Definition: AnsysBatchWriter.h:53
std::string write()
write the PREP part of batch file into a string
Definition: PrepWriter.cpp:46