Computer Assited Medical Intervention Tool Kit  version 5.0
AnsysBatch Class Reference

Ansys batch file handler. More...

#include <AnsysBatch.h>

+ Collaboration diagram for AnsysBatch:

Public Member Functions

 AnsysBatch (std::string wd, MonitoringManager *monitoringManager)
 constructor More...
 
std::string getFileName ()
 return batch file's name More...
 
void write ()
 write entire batch file if file do not exist More...
 
 ~AnsysBatch ()
 destructor More...
 

Private Attributes

std::string fileName
 batch file's name More...
 
MonitoringManagermonitoringManager
 monitoring manager More...
 
ParametersWriterparamw
 allows one to write the parameters in the batch More...
 
PostWriterpostw
 allows one to write the POST part of the batch More...
 
PrepWriterprepw
 allows one to write the PREP part of the batch More...
 
SoluWritersoluw
 allows one to write the SOLU part of the batch More...
 
std::string workingDir
 Ansys working directory. More...
 

Detailed Description

Ansys batch file handler.

Constructor & Destructor Documentation

◆ AnsysBatch()

AnsysBatch::AnsysBatch ( std::string  wd,
MonitoringManager monitoringManager 
)

constructor

Parameters
wdAnsys working directory

◆ ~AnsysBatch()

AnsysBatch::~AnsysBatch ( )

destructor

References paramw, postw, prepw, and soluw.

Member Function Documentation

◆ getFileName()

string AnsysBatch::getFileName ( )

return batch file's name

References fileName.

Referenced by AnsysSimulator::getBatchFile(), and AnsysSimulator::runAnsys().

+ Here is the caller graph for this function:

◆ write()

void AnsysBatch::write ( )

write entire batch file if file do not exist

References fileName, paramw, postw, prepw, soluw, workingDir, SoluWriter::write(), ParametersWriter::write(), PrepWriter::write(), and PostWriter::write().

Referenced by AnsysSimulator::init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ fileName

std::string AnsysBatch::fileName
private

batch file's name

Referenced by getFileName(), and write().

◆ monitoringManager

MonitoringManager* AnsysBatch::monitoringManager
private

monitoring manager

◆ paramw

ParametersWriter* AnsysBatch::paramw
private

allows one to write the parameters in the batch

Referenced by write(), and ~AnsysBatch().

◆ postw

PostWriter* AnsysBatch::postw
private

allows one to write the POST part of the batch

Referenced by write(), and ~AnsysBatch().

◆ prepw

PrepWriter* AnsysBatch::prepw
private

allows one to write the PREP part of the batch

Referenced by write(), and ~AnsysBatch().

◆ soluw

SoluWriter* AnsysBatch::soluw
private

allows one to write the SOLU part of the batch

Referenced by write(), and ~AnsysBatch().

◆ workingDir

std::string AnsysBatch::workingDir
private

Ansys working directory.

Referenced by write().


The documentation for this class was generated from the following files: