Computer Assited Medical Intervention Tool Kit  version 5.0
PostWriter.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_POSTPWRITER_H
27 #define SIMULATOR_SIMULATORS_ANSYS_ANSYSBATCHWRITERS_POSTPWRITER_H
28 
29 #include <string>
30 
31 #include "AnsysBatchWriter.h"
32 
41 
42 public:
46  ~PostWriter();
47 
49  std::string write();
50 
51 private:
53  bool positions;//TODO ajouter les autres
55  std::string writeMaxStep();
57  std::string writeTimes();
59  std::string writePositions();
60 };
61 
62 #endif // SIMULATOR_SIMULATORS_ANSYS_ANSYSBATCHWRITERS_POSTWRITER_H
PostWriter::write
std::string write()
write the POST part of batch file into a string
Definition: PostWriter.cpp:44
PostWriter::writeTimes
std::string writeTimes()
write a part of batch file (into a string) to make Ansys write the times associated to simulation ste...
Definition: PostWriter.cpp:74
PostWriter::PostWriter
PostWriter(MonitoringManager *monitoringManager)
constructor
Definition: PostWriter.cpp:34
PostWriter::writeMaxStep
std::string writeMaxStep()
write a part of batch file (into a string) to make Ansys write the number of steps into a file
Definition: PostWriter.cpp:59
AnsysBatchWriter::monitoringManager
MonitoringManager * monitoringManager
monitoring manager
Definition: AnsysBatchWriter.h:76
PostWriter::positions
bool positions
set to true of positions have to be stored
Definition: PostWriter.h:76
MonitoringManager
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
PostWriter::writePositions
std::string writePositions()
write a part of batch file (into a string) to make Ansys write the positions of all atoms into a file...
Definition: PostWriter.cpp:93
AnsysBatchWriter
Ansys batch writer helps to write a part of a batch file.
Definition: AnsysBatchWriter.h:40
PostWriter
TODO Comment class here.
Definition: PostWriter.h:40
AnsysBatchWriter.h
PostWriter::~PostWriter
~PostWriter()
destructor
Definition: PostWriter.cpp:40
PostWriter.h