Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Private Attributes | List of all members
AnsysBatch Class Reference

Ansys batch file handler. More...

#include <AnsysBatch.h>

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

References fileName, monitoringManager, paramw, postw, prepw, soluw, and workingDir.

◆ ~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().

◆ 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().

Member Data Documentation

◆ fileName

std::string AnsysBatch::fileName
private

batch file's name

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

◆ monitoringManager

MonitoringManager* AnsysBatch::monitoringManager
private

monitoring manager

Referenced by AnsysBatch().

◆ paramw

ParametersWriter* AnsysBatch::paramw
private

allows one to write the parameters in the batch

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

◆ postw

PostWriter* AnsysBatch::postw
private

allows one to write the POST part of the batch

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

◆ prepw

PrepWriter* AnsysBatch::prepw
private

allows one to write the PREP part of the batch

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

◆ soluw

SoluWriter* AnsysBatch::soluw
private

allows one to write the SOLU part of the batch

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

◆ workingDir

std::string AnsysBatch::workingDir
private

Ansys working directory.

Referenced by AnsysBatch(), and write().


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