Computer Assited Medical Intervention Tool Kit  version 5.0
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-2021 Univ. Grenoble Alpes, CNRS, Grenoble INP, TIMC, 38000 Grenoble, France
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::fileName
std::string fileName
name for .node ans .elem generated files
Definition: PrepWriter.h:82
MonitoringManager::getPml
PhysicalModel * getPml()
Definition: MonitoringManager.cpp:263
PrepWriter::~PrepWriter
~PrepWriter()
destructor
Definition: PrepWriter.cpp:43
PrepWriter::write
std::string write()
write the PREP part of batch file into a string
Definition: PrepWriter.cpp:46
PrepWriter::poisson
double poisson
poisson ratio
Definition: PrepWriter.h:78
PrepWriter::workingDir
std::string workingDir
Ansys working directory.
Definition: PrepWriter.h:84
MonitoringManager::isLmlPresent
bool isLmlPresent()
check if a lml is present
Definition: MonitoringManager.cpp:486
PrepWriter.h
AnsysBatchWriter::monitoringManager
MonitoringManager * monitoringManager
monitoring manager
Definition: AnsysBatchWriter.h:76
PrepWriter::PrepWriter
PrepWriter(std::string wd, MonitoringManager *monitoringManager)
constructor
Definition: PrepWriter.cpp:34
MonitoringManager::getLml
Loads * getLml()
Definition: MonitoringManager.cpp:274
PhysicalModel::exportAnsysMesh
void exportAnsysMesh(std::string filename)
Save the mesh (atoms/cells) of this PhysicalModel in the Ansys format.
Definition: PhysicalModel.cpp:747
PrepWriter::young
double young
young modulus
Definition: PrepWriter.h:76
Loads::ansysPrint
void ansysPrint(std::ostream &) const
Print the load list in ansys format (BEWARE: not everything is implemented)
Definition: Loads.cpp:206
MonitoringManager
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
AnsysBatchWriter
Ansys batch writer helps to write a part of a batch file.
Definition: AnsysBatchWriter.h:40
PrepWriter
TODO Comment class here.
Definition: PrepWriter.h:40
AnsysBatchWriter.h
PrepWriter::elem
std::string elem
element type used
Definition: PrepWriter.h:80