26 #ifndef SIMULATOR_SIMULATORS_ANSYS_ANSYSSIMULATOR_H
27 #define SIMULATOR_SIMULATORS_ANSYS_ANSYSSIMULATOR_H
54 void getForce(
int index,
double force[3]);
61 virtual void createPml(
const char* inputFile,
const char* pmlFile);
78 #endif // SIMULATOR_SIMULATORS_ANSYS_ANSYSSIMULATOR_H
MonitoringManager * monitoringManager
monitoring manager
Definition: Simulator.h:82
An interactive simulator is a simulator that we cannot control step by step (ex: Ansys) Entire simula...
Definition: NonInteractiveSimulator.h:38
Ansys batch file handler.
Definition: AnsysBatch.h:44
int getMaxStep()
get the number of steps after simulation
~AnsysSimulator()
destructor
double getTime(int step)
get the time of simulation of a given step
bool doCalc()
make entire simulation ans store results of all step
AnsysSimulator(MonitoringManager *monitoringManager)
constructor
void getForce(int index, double force[3])
get current force for one atom
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
CamiTK CamiTKDir txt file(STRINGS"${FIND_CAMITK_USER_BASE_DIR}/CamiTK/CamiTKDir.txt"FIND_CAMITK_USER_DIR_LAST_INSTALL) endif() find_program(CAMITK_CONFIG_EXECUTABLE NAMES camitk-config-debug camitk-config PATH_SUFFIXES"bin"PATHS"$
Definition: FindCamiTK.cmake:80
std::string getBatchFile()
get path to batch file
std::string ansysPath
Ansys binary.
Definition: AnsysSimulator.h:67
virtual void createPml(const char *inputFile, const char *pmlFile)
Create a pml file from an imput file.
void getPosition(int index, double position[3])
get current position for one atom (use parameters)
AnsysBatch * batch
Ansys batch file creator.
Definition: AnsysSimulator.h:71
string(REGEX REPLACE"^.*-(.*)-.*""\\1"ARCH"${CAMITK_CONTINUOUS_INTEGRATION}") string(REGEX REPLACE"^.*-.*-(.*)""\\1"BUILDTYPE"$
Definition: continuous.cmake:34
void runAnsys()
start ansys with created batch file
void init()
initialize simulator
std::string workingDir
Ansys working dir.
Definition: AnsysSimulator.h:69
Simulator class to use Ansys as simulation engine.
Definition: AnsysSimulator.h:40